dorian3d / DBoW2

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

Issue in cmake while building in MSVC 2015 #26

Closed arunabhcode closed 5 years ago

arunabhcode commented 7 years ago

Hi there is an error in compilation while trying to compile in MSVC 2015

Issue:

LNK 1181: Unable to link to Release\DBoW2.lib

Suggested Resolution:

changing add_library(${PROJECT_NAME} SHARED ${SRCS}) to add_library(${PROJECT_NAME} STATIC ${SRCS})

dorian3d commented 5 years ago

Thanks @arunabhcode