Importing a windows project into android using cocos2d-x

Posted by Ef Es on Game Development See other posts from Game Development or by Ef Es
Published on 2012-03-19T12:17:04Z Indexed on 2012/03/19 18:16 UTC
Read the original article Hit count: 336

Filed under:
|
|
|

What I am trying to do today is to import a full project to Android, but no tutorials are available for that that I have seen. My approach was to create a new android project, copy all the classes and resources in the folders and calling ./build_native.sh but I get an error because most of the files are not being included in the project. I tried opening the Android.mk and I can see why "LOCAL_SRC_FILES := AppDelegate.cpp \ HelloWorldScene.cpp" are the only files linked.

Should I manually modify the make file or can it be automated by some way I don't know?

Thank you.

UPDATE:

I manually added all files and headers to the make file and I get errors linking Box2D or cocosdenshion libraries.

© Game Development or respective owner

Related posts about c++

Related posts about android