Ask Your Question

Revision history [back]

mmmmm... you should indicate rosbuild_add_executable where to find the file where the undefined references are implemented (probably brisk.cpp?)

try to change this line

rosbuild_add_executable(ImgProcEngineNode src/ros_src/rosImgProcEngine.cpp)

for this other

rosbuild_add_executable(ImgProcEngineNode src/ros_src/rosImgProcEngine.cpp /home/me/topological_map/topological_map_v1/src/ThirdParty/brisk/brisk.cpp)

Also, I would avoid using absolute paths con CMakeLists.txt, it will be very messy if you want to compile your project on another machine.

Good luck

mmmmm... you should indicate rosbuild_add_executable where to find the file where the undefined references are implemented (probably brisk.cpp?)(brisk.cpp)

try to change this line

rosbuild_add_executable(ImgProcEngineNode src/ros_src/rosImgProcEngine.cpp)

for this other

rosbuild_add_executable(ImgProcEngineNode src/ros_src/rosImgProcEngine.cpp /home/me/topological_map/topological_map_v1/src/ThirdParty/brisk/brisk.cpp)

Also, I would avoid using absolute paths con CMakeLists.txt, it will be very messy if you want to compile your project on another machine.

Good luck

click to hide/show revision 3
sorry I slipped a word in Spanish there xD

mmmmm... you should indicate rosbuild_add_executable where to find the file where the undefined references are implemented (brisk.cpp)

try to change this line

rosbuild_add_executable(ImgProcEngineNode src/ros_src/rosImgProcEngine.cpp)

for this other

rosbuild_add_executable(ImgProcEngineNode src/ros_src/rosImgProcEngine.cpp /home/me/topological_map/topological_map_v1/src/ThirdParty/brisk/brisk.cpp)

Also, I would avoid using absolute paths con on CMakeLists.txt, it will be very messy if you want to compile your project on another machine.

Good luck