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

fatal error: Python.h: No such file or directory #13

Open
LiuL0ngl0ng opened this issue Jun 14, 2024 · 1 comment
Open

fatal error: Python.h: No such file or directory #13

LiuL0ngl0ng opened this issue Jun 14, 2024 · 1 comment

Comments

@LiuL0ngl0ng
Copy link

PathPlanning/Bezier/../../matplotlibcpp.h:5:10: fatal error: Python.h: No such file or directory
5 | #include <Python.h>

@LiuL0ngl0ng
Copy link
Author

add the following commands to the CmakeLists.txt:
find_package(PythonLibs REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS})

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

1 participant