Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Catkin_make #20

Open
corruptpony opened this issue Nov 21, 2017 · 2 comments
Open

Catkin_make #20

corruptpony opened this issue Nov 21, 2017 · 2 comments

Comments

@corruptpony
Copy link

corruptpony commented Nov 21, 2017

After installing the package I try to do catkin_make, I get the following error:

error.txt

I did install the sweep-sdk as explained the in the readme.
Can you help me solve this?

@corruptpony
Copy link
Author

I have some more info, I put this in the cmake file:

MESSAGE( STATUS "CATKIN INC DIR " ${catkin_INCLUDE_DIRS} )
MESSAGE( STATUS "SWEEP INC DIR " ${LIBSWEEP_INCLUDE_DIR} )
MESSAGE( STATUS "SWEEP LIB " ${LIBSWEEP_LIBRARY} )

and it turns out the LIBSWEEP_INCLUDE_DIR and LIBSWEEP_LIBRARY are not set:
CATKIN INC DIR /opt/ros/indigo/include/usr/include/eigen3/usr/include/usr/include/pcl-1.7
-- SWEEP INC DIR
-- SWEEP LIB

Can anyone help me solve this?

@corruptpony
Copy link
Author

After adding this line the node builds:

set(LIBSWEEP_LIBRARY /usr/local/lib/libsweep.so.1.3.0)

I feel like this shouldnt be needed and the LIBSWEEP_INCLUDE_DIR is still empty.

This line from the cmake doesnt give an error but it also doesnt really do much on the LIBSWEEP part.

target_include_directories(sweep_node SYSTEM PRIVATE ${LIBSWEEP_INCLUDE_DIR})

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

No branches or pull requests

1 participant