Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.1 cannot be compiled successfully or crashed after fixing compilation issue #6

Open
cck3rry opened this issue Oct 11, 2014 · 3 comments

Comments

@cck3rry
Copy link

cck3rry commented Oct 11, 2014

There are several issues:

  1. The code cannot be compiled, because some file contains CCMenuItem.h header file, while its folder is not added. (Actually it's contained in cocos2d.h, unnecessary to include it explicitly)
    2 After fix first issue, the game is crashed on both Windows and Android, after debugging, it seems the PNGs are in "image" folder under Resources, however it's only file name in the source code, file doesn't exist "splash.png" is not under Resources.
    2.a Copy images from image folder to Resource root folder can fix the issue.
    2.b add /image/ to file name in source code. e.g. "/image/splash.png"
  2. The last issue is Android.mk file is not correct, many CPP files are not included
@zzycami
Copy link
Member

zzycami commented Oct 11, 2014

Looks like you have already cover this question. It seems like your project setting have some question.I finish this version on OSX,Xcode6.0, so the project setting is not correct in windows. I feel sorry for that.

@cck3rry
Copy link
Author

cck3rry commented Oct 13, 2014

Maybe you can update the source files in https://github.com/OiteBoys/Earlybird/blob/v3.1/Earlybird/proj.android/jni/Android.mk

@zzycami
Copy link
Member

zzycami commented Oct 13, 2014

You can check https://github.com/OiteBoys/Earlybird/blob/master/Earlybird/proj.android/jni/Android.mk. I will update it recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants