rpng / calc

Convolutional Autoencoder for Loop Closure
BSD 3-Clause "New" or "Revised" License
190 stars 45 forks source link

compile DBoW2 error #21

Closed JinghuiChan closed 4 years ago

JinghuiChan commented 4 years ago

Hi Nate When I compiled DBoW2, I got the following error: calc/TrainAndTest/ThirdParty/DBoW2/src/pywrap.cpp:125:17: error: ‘boost::python::numeric’ has not been declared boost::python::numeric::array::set_module_and_type("numpy", "ndarray");

How should I solve it? Screenshot from 2019-09-15 18-44-38

nmerrill67 commented 4 years ago

Mine compiles just fine (just checked). My boost version is 1.58.0 and python is 2.7.12. Make sure you have libboost-python1.58-dev installed.

JinghuiChan commented 4 years ago

Thank you, after the boost version was changed, the compilation was successful.