ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How can I add libicp library in my catkin package ?

asked 2017-06-20 16:08:38 -0500

ZainMehdi gravatar image

updated 2017-06-21 01:55:37 -0500

EDIT:

I installed following package link text as mentioned in instructions. Now I want to use this package in my Cmakelist.txt so that I can use it in my program. I tried

find_package(RRR)

but it gives me error related to package config file. I have series of .hpp files in my source directory. I either want to convert them to a library file or add the whole package so that I can use them in my source files as headers.

edit retag flag offensive close merge delete

Comments

Please do not use screenshots for what is essentially text. Could you please copy-paste the text from the terminal into your question directly? And then please use the Preformatted Text button (the one with 101010 on it).

Thanks.

gvdhoorn gravatar image gvdhoorn  ( 2017-06-21 01:46:38 -0500 )edit

[..] as mentioned in the readme instruction file.

If referring to readmes/tutorials/websites/whatever, please include a link to those external resources, as we don't / can't know what you have been reading.

gvdhoorn gravatar image gvdhoorn  ( 2017-06-21 01:47:30 -0500 )edit

@gvdhoorn I updated my question. Can you please help ?

ZainMehdi gravatar image ZainMehdi  ( 2017-06-21 01:56:01 -0500 )edit

I only see this now:

find_package(RRR)

perhaps something went wrong with copying the console text?

gvdhoorn gravatar image gvdhoorn  ( 2017-06-21 01:59:27 -0500 )edit

@gvdhoorn I couldnt replicate the behaviors most probably because of trying too many things. I will try to explain what I want to do. I have a ros package named RRR and I want to use this package's functionaluty in my code.

ZainMehdi gravatar image ZainMehdi  ( 2017-06-23 11:05:46 -0500 )edit

Since it is not a ros package I am unable to find and use it. Whats the way to go about it and sorry for bad formatting

ZainMehdi gravatar image ZainMehdi  ( 2017-06-23 11:06:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-09-11 00:40:07 -0500

ZainMehdi gravatar image

The easiest and simplest way to accomplish this to make a wrapper around libicp. You can follow catkin tutorials on creating a library file here ( http://docs.ros.org/jade/api/catkin/h... ) After you have created this library you can just use add_library macro in your CMakelist.txt file. Now when you will add header files from libicp it wont create any issue. If you need more help in it you can contact me at zainmehdi at koreatech.ac.kr

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-06-20 16:08:38 -0500

Seen: 244 times

Last updated: Sep 11 '17