An error when I compile DRL_graph_exploration
sumingzs11 opened this issue · 2 comments
sumingzs11 commented
fanfeichen commented
It looks like pybind11 has a problem with Point2 Class. Have you installed the newest GTSAM via their official website? If you installed the one from their website, please delete it:
sudo rm -r /usr/local/lib/libgtsam* /usr/local/include/gtsam*
, and use the link we provided to install GTSAM:
git clone -b emex --single-branch https://bitbucket.com/jinkunw/gtsam
cd gtsam
mkdir build && cd build
cmake ..
sudo make install
In the newer GTSAM version, there is no Point2 Class so pybind11 has the problem to convert Point2. If you have the correct dependencies, you will see these lines at the beginning to indicate that the configuration is correct:
-- GTSAM include directory: /usr/local/lib/cmake/GTSAM/../../../include;/usr/include;/usr/local/include/gtsam/3rdparty/Eigen/
-- Found pybind11: /usr/local/include (found version "2.6.3" dev1)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/YOUR_NAME/DRL_graph_exploration/build
[ 4%] Building CXX object CMakeFiles/planner2d.dir/src/Planner2D.cpp.o
sumingzs11 commented