arrenglover / openfabmap

Open-source C++ code for the FAB-MAP visual place recognition algorithm
Other
218 stars 68 forks source link

rule install in cmake list and -fPIC #21

Open y9luiz opened 4 years ago

y9luiz commented 4 years ago

Hello, i'm developing a project using your openfabmap implementation, i link my project using your library, but was a little bit hard to me because i'm dont a expert in cmake, but now works well.

i need to add this line into your cmake file: set(CMAKE_POSITION_INDEPENDENT_CODE ON) to enable the -fPIC recompilation and works well