Skip to content

Pygame missing include & link path #687

Closed

Description

@brussee

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.

Activity

  1. inclement commented on Apr 3, 2016

    @inclement
    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?

  2. inclement commented on Jan 30, 2019

    @inclement
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions