dorian3d / DBoW2

Enhanced hierarchical bag-of-word library for C++
Other
850 stars 365 forks source link

having issues including opencv modules #53

Closed RahulSurana123 closed 4 years ago

RahulSurana123 commented 4 years ago

after using cmake command as follows

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..

i saw the following error while make -j4

Scanning dependencies of target DBoW2 [ 11%] Building CXX object CMakeFiles/DBoW2.dir/src/QueryResults.cpp.o [ 22%] Building CXX object CMakeFiles/DBoW2.dir/src/BowVector.cpp.o [ 33%] Building CXX object CMakeFiles/DBoW2.dir/src/FeatureVector.cpp.o [ 44%] Building CXX object CMakeFiles/DBoW2.dir/src/ScoringObject.cpp.o [ 55%] Building CXX object CMakeFiles/DBoW2.dir/src/FORB.cpp.o make[2]: No rule to make target 'opencv_stitching-NOTFOUND', needed by 'libDBoW2.so'. Stop. make[2]: Waiting for unfinished jobs.... [ 66%] Building CXX object CMakeFiles/DBoW2.dir/src/FBrief.cpp.o CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/DBoW2.dir/all' failed make[1]: [CMakeFiles/DBoW2.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: [all] Error 2

please help me how to solve this error