Hi,
In file included from /home/vinay/Documents/809k_project/DynaSLAM/src/MaskNet.cc:9:
/home/vinay/Documents/809k_project/DynaSLAM/include/MaskNet.h:15:10: fatal error: python2.7/Python.h: No such file or directory
15 | #include <python2.7/Python.h>
| ^~~~~~~~
In file included from /home/vinay/Documents/809k_project/DynaSLAM/src/Conversion.cc:9:
/home/vinay/Documents/809k_project/DynaSLAM/include/Conversion.h:13:10: fatal error: Python.h: No such file or directory
13 | #include
Can anyone help here. I have Python in my system and also included in CMakeLists
Hi, In file included from /home/vinay/Documents/809k_project/DynaSLAM/src/MaskNet.cc:9: /home/vinay/Documents/809k_project/DynaSLAM/include/MaskNet.h:15:10: fatal error: python2.7/Python.h: No such file or directory 15 | #include <python2.7/Python.h> | ^
~~~~~~~ In file included from /home/vinay/Documents/809k_project/DynaSLAM/src/Conversion.cc:9: /home/vinay/Documents/809k_project/DynaSLAM/include/Conversion.h:13:10: fatal error: Python.h: No such file or directory 13 | #includeCan anyone help here. I have Python in my system and also included in CMakeLists
set(PYTHON_INCLUDE_DIRS ${PYTHON_INCLUDE_DIRS} /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy)
include_directories( ${PROJECT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/include ${EIGEN3_INCLUDE_DIR} ${Pangolin_INCLUDE_DIRS} /usr/include/python2.7/ /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ ${Boost_INCLUDE_DIRS}