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

Cmake Error while compiling ros_marker #4

Open
ktiwari9 opened this issue Jun 2, 2014 · 2 comments
Open

Cmake Error while compiling ros_marker #4

ktiwari9 opened this issue Jun 2, 2014 · 2 comments

Comments

@ktiwari9
Copy link

ktiwari9 commented Jun 2, 2014

I have created a new catkin workspace named baxter_ws and I have added the chilitags repository and ros_marker repository as a catkin package in it. When i do catkin_make, i get the following error :
-- +++ processing catkin package: 'ros_markers'
-- ==> add_subdirectory(ros_markers)
-- Using these message generators: gencpp;genlisp;genpy
-- checking for one of the modules 'chilitags'
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:350 (message):
None of the required 'chilitags' found
Call Stack (most recent call first):
ros_markers/CMakeLists.txt:19 (pkg_search_module)

It is being caused by this line in the CMake file (already provided on your ros_marker repository) :
find_package(PkgConfig)
pkg_search_module(CHILITAGS REQUIRED chilitags)

Any suggestions on how to fix this ?

@severin-lemaignan
Copy link
Member

The error message says: None of the required 'chilitags' found
Did you first install chilitags, as I told you in the previous issue?

@ktiwari9
Copy link
Author

ktiwari9 commented Jun 2, 2014

Okay you were right. The chilitags was not installed properly. So, I did this again.
Now i have this error :
viki@c3po:~/dev/baxter_inspace_ws$ roslaunch ros_markers detect.launch
... logging to /home/viki/.ros/log/b368a0ca-ea67-11e3-b170-080027b3edc7/roslaunch-c3po-9055.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://c3po:33766/

SUMMARY

PARAMETERS

  • /ros_markers/camera_frame_id
  • /ros_markers/default_marker_size
  • /ros_markers/gain
  • /ros_markers/markers_configuration
  • /ros_markers/omit_other_tags
  • /ros_markers/persistence
  • /rosdistro
  • /rosversion

NODES
/
ros_markers (ros_markers/detect)

auto-starting new master
process[master]: started with pid [9069]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to b368a0ca-ea67-11e3-b170-080027b3edc7
process[rosout-1]: started with pid [9082]
started core service [/rosout]
/home/viki/dev/baxter_inspace_ws/devel/lib/ros_markers/detect: error while loading shared libraries: libchilitags.so: cannot open shared object file: No such file or directory
[ros_markers-2] process has died [pid 9094, exit code 127, cmd /home/viki/dev/baxter_inspace_ws/devel/lib/ros_markers/detect image:=/camera/image_raw __name:=ros_markers __log:=/home/viki/.ros/log/b368a0ca-ea67-11e3-b170-080027b3edc7/ros_markers-2.log].
log file: /home/viki/.ros/log/b368a0ca-ea67-11e3-b170-080027b3edc7/ros_markers-2*.log
process[ros_markers-2]: started with pid [9094]
^C[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

But when i do locate libchilitags.so I can see the file in my system.
viki@c3po:~/dev/baxter_inspace_ws$ locate libchilitags.so
/home/viki/Desktop/chilitags/build/src/libchilitags.so
/usr/local/lib/libchilitags.so

How can i fix this ?

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

2 participants