Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Changes to CMakeLists and Package Files #179

Open
wants to merge 1 commit into
base: catkin
Choose a base branch
from
Open

Changes to CMakeLists and Package Files #179

wants to merge 1 commit into from

Conversation

safijari
Copy link

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).

@@ -97,7 +99,7 @@ include_directories(

# 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
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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant