Skip to content

Changes to CMakeLists and Package Files#179

Open
safijari wants to merge 1 commit intotum-vision:catkinfrom
safijari:catkin
Open

Changes to CMakeLists and Package Files#179
safijari wants to merge 1 commit intotum-vision:catkinfrom
safijari:catkin

Conversation

@safijari
Copy link
Copy Markdown

I was having a lot of trouble compiling on 14.04 with Indigo and OpenCV3. The changes in this pull request finally got it done. Some things are necessities for Indigo that were not there in older versions, others are just telling cmake to find and link necessary libraries (OpenCV and X11).

# build shared library.
add_library(lsdslam SHARED ${SOURCE_FILES})
target_link_libraries(lsdslam ${FABMAP_LIB} ${G2O_LIBRARIES} ${catkin_LIBRARIES} csparse cxsparse )
target_link_libraries(lsdslam ${FABMAP_LIB} ${G2O_LIBRARIES} ${catkin_LIBRARIES} csparse cxsparse X11 ${OpenCV_LIBS})
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand how this can link correctly without these additions. Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant