diff --git a/CMakeLists.txt b/CMakeLists.txt index 921d9fe111428489bfb3db233a8b056272730bda..57449e313e023e3bb801b5e46df0f454204308b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ ADD_REQUIRED_DEPENDENCY("dynamic-graph >= 3.0.0") PKG_CONFIG_APPEND_LIBS("dynamic-graph-python") # Search for Boost. -SET(BOOST_COMPONENTS python filesystem system thread program_options unit_test_framework) +SET(BOOST_COMPONENTS filesystem system thread program_options unit_test_framework) SEARCH_FOR_BOOST() SEARCH_FOR_EIGEN() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 81245f27dc02b05befb27851712b849db87a94ba..993d4a07476c81fdbef9c5316218a5cf6c9ee144 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -10,10 +10,8 @@ SET(LIBRARY_NAME ${PROJECT_NAME}) ADD_LIBRARY(${LIBRARY_NAME} SHARED interpreter.cc) TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${PYTHON_LIBRARY}) -TARGET_LINK_BOOST_PYTHON(${LIBRARY_NAME}) IF(UNIX) - TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${Boost_LIBRARIES}) TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${CMAKE_DL_LIBS}) ENDIF(UNIX) diff --git a/src/interpreter.cc b/src/interpreter.cc index 141a175ace8dbc1fc26610205bd3af119a90f9a5..5650cab2c9f2de56b4313627b950ebfffa2c98cc 100644 --- a/src/interpreter.cc +++ b/src/interpreter.cc @@ -6,15 +6,6 @@ #include "dynamic-graph/python/interpreter.hh" #include "dynamic-graph/python/link-to-python.hh" -#include <boost/python/errors.hpp> -#include <boost/python/object.hpp> -#include <boost/python/handle.hpp> -#include <boost/python/extract.hpp> -#include <boost/python/str.hpp> -#include <boost/python/import.hpp> - -namespace py = boost::python; - std::ofstream dg_debugfile("/tmp/dynamic-graph-traces.txt", std::ios::trunc& std::ios::out); // Python initialization commands