dorian3d/DBoW2

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

arifle opened this issue · 3 comments

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> 

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

add the following in DBoW2\CMakeLists.txt

include_directories(
${DEPENDENCY_INSTALL_DIR}/include
)

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.