dorian3d / DBoW2

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

DVision/DVision.h”: No such file or directory #29

Open arifle opened 6 years ago

arifle commented 6 years ago

Hi, I tried compiling it on Win 7 with VS2013. DLib had been successfully built before doing this and DBoW2 project is also generated by cmake but the compiler gives


D:\dbow2\src\FBrief.cpp(14): fatal error C1083:  “DVision/DVision.h”: No such file or directory
3>  FORB.cpp
3>D:\dbow2\src\FORB.cpp(16): fatal error C1083:  “DUtils/DUtils.h”: No such file or directory
3>  FeatureVector.cpp
3>  QueryResults.cpp
3>  ScoringObject.cpp
3>D:\dbow2\include\DBoW2\TemplatedVocabulary.h(26): fatal error C1083: “DUtils/DUtils.h”: No such file or directory
3> 
cbyzju commented 6 years ago

Hi arifle, I also meet the same problem, have you already solved this problem? how do you manage it.

ghost commented 6 years ago

add the following in DBoW2\CMakeLists.txt

include_directories( ${DEPENDENCY_INSTALL_DIR}/include )

NancyLi1013 commented 5 years ago

Hi apattnaik0721013, I try to add the port dbow2 to the vcpkg list and I met the same error. I have added the above code in CMakeLists.txt, but it still has the error. F:\test\vcpkg\buildtrees\dbow2\src\v1.0-19c78859f0\src\FBrief.cpp(14): fatal error C1083: Cannot open include file: 'DVision/DVision.h': No such file or directory Could you have any other suggestion? Thanks in advance.