Error on ROSMAKE

Issue #1 resolved
Former user created an issue

When i am compiling it, i get the following error:

[ 17%] Building CXX object CMakeFiles/camera.dir/src/CameraNode.o In file included from /home/raposa/ros_workspace/ueye/include/ueye/CameraNode.h:52, from /home/raposa/ros_workspace/ueye/src/CameraNode.cpp:35: /home/raposa/ros_workspace/ueye/cfg/cpp/ueye/cameraConfig.h:265: warning: this decimal constant is unsigned only in ISO C90 Linking CXX executable ../bin/camera CMakeFiles/camera.dir/src/CameraNode.o: In function sensor_msgs::clearImage(sensor_msgs::Image_<std::allocator<void> >&)': /opt/ros/electric/stacks/common_msgs/sensor_msgs/include/sensor_msgs/fill_image.h:64: multiple definition ofsensor_msgs::clearImage(sensor_msgs::Image_<std::allocator<void> >&)' CMakeFiles/camera.dir/src/camera_node.o:/opt/ros/electric/stacks/common_msgs/sensor_msgs/include/sensor_msgs/fill_image.h:64: first defined here CMakeFiles/camera.dir/src/CameraNode.o: In function sensor_msgs::fillImage(sensor_msgs::Image_<std::allocator<void> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int, unsigned int, void const*)': /opt/ros/electric/stacks/common_msgs/sensor_msgs/include/sensor_msgs/fill_image.h:50: multiple definition ofsensor_msgs::fillImage(sensor_msgs::Image_<std::allocator<void> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int, unsigned int, void const*)' CMakeFiles/camera.dir/src/camera_node.o:/opt/ros/electric/stacks/common_msgs/sensor_msgs/include/sensor_msgs/fill_image.h:50: first defined here collect2: ld returned 1 exit status make[3]: [../bin/camera] Error 1 make[3]: Leaving directory /home/raposa/ros_workspace/ueye/build' make[2]: *** [CMakeFiles/camera.dir/all] Error 2 make[2]: Leaving directory/home/raposa/ros_workspace/ueye/build' make[1]: [all] Error 2 make[1]: Leaving directory `/home/raposa/ros_workspace/ueye/build' -------------------------------------------------------------------------------} [ rosmake ] Output from build of package ueye written to: [ rosmake ] /home/raposa/.ros/rosmake/rosmake_output-20130224-145518/ueye/build_output.log
[rosmake-1] Finished <<< ueye [FAIL] [ 32.83 seconds ]
[ rosmake ] Halting due to failure in package ueye. [ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 43 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/raposa/.ros/rosmake/rosmake_output-20130224-145518

I really look forward to try this package,

Best Regards,

Tiago Caldeira

Comments (1)

  1. Kevin Hallenbeck repo owner

    Fixed with commit 638b4ff.

    Thanks for the feedback. I have previously only tested this in Fuerte, but now it is tested in Electric, Furete, and Groovy.

    I hope to push more changes supporting more of the ueye parameters like "gain" and more triggering modes soon.

  2. Log in to comment