Cocos2D kazmath / kazmath.h file not found
In my application, I am upgrading from Cocos2D version 1.10-> 2.0-rc0a.
So I did everything right as far as I know, an issue that I think has to do with the user's title search path.
So my Cocos2D files are inside a folder inside a folder inside a folder inside , is on my desktop. So the actual cocos2D files contain 4 folders until they hit the desktop.
And my user title search path looks like this:
"/Users/myname19/Desktop/NewMyAppBeta/MyApp3/MyApp3"
So the complete error is: vocabulary or preprocessor problem, file kazmath / kazmath.h was not found in CCNode.h. There are actually 4 , but they are identical.
Does anyone know how to fix this problem?
Thank!
source to share
A little workaround that worked for me.
I was using Xcode 4.5.1.
My project had cocos2d library included, after which I included kazmath library from external folder.
I've replaced all occurrences of "kazmath / kazmath.h" with "kazmath.h" and all "kazmath / GL / something.h" with "something.h". After that everything was built fine.
source to share