Titou2222 / seek_thermal_ROS2

0 stars 0 forks source link

while running colcon build for seekthermal_camera it throws error. #1

Open rahulsharma11 opened 1 year ago

rahulsharma11 commented 1 year ago

Hi.

I ran colcon build for seek_thermal, it ran fine but after that when i ran colcon build seekthermal_camera, it throws error for -

CMake Error at CmakeList.txt:16 (find_library) could not find seek_thermal using the following names:

Failed <<< seekthermal_camera [...]

Any suggestions? Thanks.

Titou2222 commented 1 year ago

Hi Sharma,

Are you working on the computer I used during my internship ? It worked well when I used it.

If not the probleme is due to the installation of the seek_thermal library.

You may have to also compile it with cmake to be able to use it.

Also be sure seek_thermal is in the src file of your workspace.

And if it doesn't solve your problem, it will be hard to fix it from here. CmakeLists can be hard to manage. Especially as this package was ported from ROS1 to ROS2.

I hope you will solve the problem.

Titouan

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Rahul Sharma @.> Sent: Tuesday, September 12, 2023 12:40:01 PM To: Titou2222/seek_thermal_ROS2 @.> Cc: Subscribed @.***> Subject: [Titou2222/seek_thermal_ROS2] while running colcon build for seekthermal_camera it throws error. (Issue #1)

Hi.

I ran colcon build for seek_thermal, it ran fine but after that when i ran colcon build seekthermal_camera, it throws error for -

CMake Error at CmakeList.txt:16 (find_library) could not find seek_thermal using the following names:

Failed <<< seekthermal_camera [...]

Any suggestions? Thanks.

— Reply to this email directly, view it on GitHubhttps://github.com/Titou2222/seek_thermal_ROS2/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BA446KP6RN22EFHG7VXPL73X2A3YDANCNFSM6AAAAAA4UUWNSA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

rahulsharma11 commented 1 year ago

Hi. Thanks for the reply.

i ran exactly same commands what you mentioned cd ~/ros2_ws/src/seekthermal/build cmake .. make sudo make install

Build the library with colcon to have access to the headers colcon build --packages-select seek_thermal

Build the ROS2 package source install/setup.bash colcon build --packages-select seekthermal_camera

But here it is throwing error CMake Error at CmakeList.txt:16 (find_library) could not find seek_thermal using the following names:

Failed <<< seekthermal_camera [...]

No idea any command need to run to setup the path. Still i will try to figure it out.