cmake
python
find_package(PythonLibs REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS})
target_link_libraries(nv3DReconstruction ${PYTHON_LIBRARIES})
header.h
include "python2.7/Python.h"
main.cpp
Py_Initialize();
cmake
python
find_package(PythonLibs REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS})
target_link_libraries(nv3DReconstruction ${PYTHON_LIBRARIES})
header.h
include "python2.7/Python.h"
main.cpp
Py_Initialize();