My dev env is Xcode, and my steps are
1 create project using the python file:
./create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language cpp
2 open the project in Xcode, and remove the spine folder in the Xcode.
3 comment the code //#include "spine/spine-cocos2dx.h" in extensions/cocos-ext.h in Xcode, as we don't need it
4 rename YOU_COCOS2DX_DIR/extensions/spine to YOU_COCOS2DX_DIR/extensions/spine_old to let your compiler not to search into it.
5 Add spine-c/include spine-c/src spine-cocos2dx/2/src/ to your project.
6 Add your header search path in Xcode(Assume they are under the Classes directory)
"$(SRCROOT)/../Classes/spine-c/include"
"$(SRCROOT)/../Classes/src"
7 Enable C++11 in your project
As your project using the cocos2dx project, the cocos2dx project also need to be ENABLED the c++11 feature
Hope it clear. You can try it.
Any questions, pls feel free to let me know.