-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
arm cross compilation issue when need to compile to different python #1718
Comments
knarfS
added a commit
to knarfS/pybind11
that referenced
this issue
Feb 8, 2020
This is needed when using linuxdeploy / appimagecraft to create an AppImage and when cross compiling (f.e. with MXE) to find the python libraries. You may need to set CMAKE_FIND_ROOT_PATH_MODE_LIBRARY to BOTH when cross compiling. This may fix issues pybind#1718, pybind#1159, pybind#1330 and pybind#99.
knarfS
added a commit
to knarfS/pybind11
that referenced
this issue
Apr 11, 2020
This is needed when using linuxdeploy / appimagecraft to create an AppImage and when cross compiling (f.e. with MXE) to find the python libraries. You may need to set CMAKE_FIND_ROOT_PATH_MODE_LIBRARY to BOTH when cross compiling. This may fix issues pybind#1718, pybind#1159, pybind#1330 and pybind#99.
knarfS
added a commit
to knarfS/pybind11
that referenced
this issue
Apr 20, 2020
This is needed when using linuxdeploy / appimagecraft to create an AppImage and when cross compiling (f.e. with MXE) to find the python libraries. You may need to set CMAKE_FIND_ROOT_PATH_MODE_LIBRARY to BOTH when cross compiling. This may fix issues pybind#1718, pybind#1159, pybind#1330 and pybind#99.
This will probably get fixed by PR #2370 (in progress)? If not, please reopen. |
Let's let #2370 close it. I'm happy to add to the list the get closed. ;) When #2370 goes in, just use either the new Python support by finding Python yourself (using the new FindPython package in CMake) or use |
knarfS
added a commit
to knarfS/pybind11
that referenced
this issue
Aug 15, 2020
This is needed when using linuxdeploy / appimagecraft to create an AppImage and when cross compiling (f.e. with MXE) to find the python libraries. You may need to set CMAKE_FIND_ROOT_PATH_MODE_LIBRARY to BOTH when cross compiling. This may fix issues pybind#1718, pybind#1159, pybind#1330 and pybind#99.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hellos,
i need to compile my app to different architecture and SBCs (like raspberry pi pi / banana pi /rock64/ etc)
and i see that even if i defined the python arm libs the code: find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} REQUIRED) ignore my flags and try to detect the interpreter by it's own and failed.
The text was updated successfully, but these errors were encountered: