[ros-users] Compile error for videre_stereo_cam under Diamondback
Antons Rebguns
anton at email.arizona.edu
Mon Feb 14 01:49:56 UTC 2011
Patrick,
> Congrats on releasing DB RC1! I don't know if this is a Diamondback
> issue or an issue with the UA videre_stereo_cam package (r1188) but the
> package compiles fine under the latest C-turtle but fails under
> Diamondback with the following errors:
I haven't yet had time to try out diamondback, but let's see if we can
fix this particular problem.
> $ rosmake --pre-clean --rosdep-install videre_stereo_cam
> ...
> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:257:
> error: ‘class std::vector<double, std::allocator<double> >’ has no
> member named ‘c_array’
>
> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:
> In member function ‘char* StereoData::createParams(bool)’:
>
> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:517:
> error: ‘class std::vector<double, std::allocator<double> >’ has no
> member named ‘c_array’
>
> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:531:
> error: ‘class std::vector<double, std::allocator<double> >’ has no
> member named ‘c_array’
>
> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:
> At global scope:
>
> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:461:
> warning: ‘void PrintMat(double*, int, int)’ defined but not used
> make[3]: ***
> [CMakeFiles/videre_stereo_node.dir/src/videre_stereo_cam/stereoimage.o]
> Error 1
Can you try batch replacing .c_array() to .data() in stereoimage.cpp
and see if that compiles?
Anton
More information about the ros-users
mailing list