ADDING CUSTOM LIBRARY TO ROS [closed]

asked 2020-08-12 13:56:41 -0500

N.N.Huy gravatar image

updated 2020-08-12 13:57:26 -0500

Hello everyone. I have have downloaded some C++ library like eigen, SDL, ... from their websites and I have written some other C++ libraries with .h and .cpp files also. However, i don't know how to add them to ROS to use in my program. Can you tell me how to use custom libraries in ROS please ?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2020-08-12 14:08:21.993548

Comments

2

I'm closing this, not because I believe your question is not a valid question, but because there are many duplicates of your exact question already here on this site.

I would advise you to use Google to search for them. Append site:answers.ros.org to your query, and you should see many results.

Example: use custom library site:answers.ros.org.

Finally: this is a CMake question, not so much a ROS one. Catkin ~= CMake, so once you learn how to do this with CMake, you'd know how to do this with Catkin.

gvdhoorn gravatar image gvdhoorn  ( 2020-08-12 14:09:24 -0500 )edit

Thank you so much !

N.N.Huy gravatar image N.N.Huy  ( 2020-08-13 00:58:54 -0500 )edit