gaoxiang12 / slambook

MIT License
6.89k stars 3.27k forks source link

CH12 make error #197

Open ZENGjunxian opened 5 years ago

ZENGjunxian commented 5 years ago

make[2]: No rule to make target '/usr/local/lib/libDBoW3.a', needed by 'gen_vocab'。 停止。 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/gen_vocab.dir/all' failed make[1]: [CMakeFiles/gen_vocab.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 I don't know how to use this ch12.I beg you may say more in detail

PapaMadeleine2022 commented 5 years ago

meet the same error. Have you solved it ? @ZENGjunxian

PapaMadeleine2022 commented 5 years ago

specify the correct DBoW3_LIBS in CMakeLists.txt

amituofo1996 commented 4 years ago

please modify feature_trainning.cpp ,if it exist libDBoW3.a',please change it with libDBoW3.so.

salihmarangoz commented 3 years ago

Change this line in ch11/CMakeLists.txt: set( DBoW3_LIBS "/usr/local/lib/libDBoW3.a" ) to: set( DBoW3_LIBS "/usr/local/lib/libDBoW3.so" )

iamkrs9 commented 3 years ago

I replaced it with /usr/local/lib/libDBoW3.dylib and it worked. I am using MacOS 11.3