diff --git a/CMakeLists.txt b/CMakeLists.txt index 307d5bebae0e17cfd6ddbdf1f48c037ac7b177e9..211441a57f235f766fb722c8f96161a6b5649831 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,7 @@ INCLUDE(cmake/python.cmake) # Project definition COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX) PROJECT(${PROJECT_NAME} ${PROJECT_ARGS}) +CHECK_MINIMAL_CXX_STANDARD(14 ENFORCE) # Project dependencies FINDPYTHON() diff --git a/include/dynamic-graph/python/dynamic-graph-py.hh b/include/dynamic-graph/python/dynamic-graph-py.hh index df7eb669ad72b8008f6c76f02a63c03363e32740..0a526b5d8557c46d34655e5ade7f139732c54979 100644 --- a/include/dynamic-graph/python/dynamic-graph-py.hh +++ b/include/dynamic-graph/python/dynamic-graph-py.hh @@ -5,6 +5,7 @@ #include <sstream> #include <boost/python.hpp> +#include <boost/python/stl_iterator.hpp> #include <dynamic-graph/debug.h> #include <dynamic-graph/exception-factory.h> diff --git a/src/dynamic_graph/dynamic-graph-py.cc b/src/dynamic_graph/dynamic-graph-py.cc index 7a6f0f6d479faa2ad6d6372db4bb1d8e1703eba3..d5ce2eba1b30080186701aa85138b9964e5fae60 100644 --- a/src/dynamic_graph/dynamic-graph-py.cc +++ b/src/dynamic_graph/dynamic-graph-py.cc @@ -4,6 +4,7 @@ #include <sstream> #include <boost/python.hpp> +#include <boost/python/raw_function.hpp> #include <boost/python/suite/indexing/map_indexing_suite.hpp> #include <eigenpy/eigenpy.hpp>