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

Pygame missing include & link path #687

Closed
brussee opened this issue Mar 14, 2016 · 2 comments
Closed

Pygame missing include & link path #687

brussee opened this issue Mar 14, 2016 · 2 comments

Comments

@brussee
Copy link
Contributor

brussee commented Mar 14, 2016

Somehow the include path (to Python.h) and the path to the libraries (to -lpython2.7) for linking is not setup correctly for the pygame bootstrap.

It works if I hardcode the paths in python-for-android/build/bootstrap_builds/pygame/jni/Android.mk:

APPLICATION_ADDITIONAL_CFLAGS := -finline-functions -O2 -DSDL_JAVA_PACKAGE_PATH=$(SDL_JAVA_PACKAGE_PATH) -I/home/paul/.local/share/python-for-android/build/python-installs/testproject/include/python2.7

APPLICATION_ADDITIONAL_LDFLAGS := -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/home/paul/.local/share/python-for-android/build/libs_collections/testproject/armeabi

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@inclement
Copy link
Member

python-for-android does try to set an appropriate include path, and I haven't had a problem with it - do you know what is the wrong with the value it gets for you?

@inclement
Copy link
Member

Closing as out of date since the pygame bootstrap isn't really supported any more.

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