[ros-users] error when make the package of frame_common

甄灵 zhenlin86 at gmail.com
Tue Oct 19 13:05:43 UTC 2010


Hi,

Recently, I want to make the package of *vslam_system*, but it has some
error. And the error happens in the package of frame_common? How can I solve
this problem. Thanks in advance!
And the error as follows:
======================error==========================
make[3]:正在离开目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: 正在进入目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  make[3]:正在离开目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  [  0%] Built target rosbuild_precompile
  make[3]: 正在进入目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  make[3]: 正在进入目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  make[3]:正在离开目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  make[3]:正在离开目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  [ 20%] Built target test_frame
  make[3]: 正在进入目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  [ 40%] Building CXX object CMakeFiles/frame_common.dir/src/frame.o
  In file included from
/opt/ros/cturtle/stacks/vslam/frame_common/include/frame_common/stereo.h:39,
                   from
/opt/ros/cturtle/stacks/vslam/frame_common/include/frame_common/frame.h:52,
                   from
/opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp:36:

/opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv/cv.h:47:2:
warning: #warning "This is a deprecated opencv header provided for
compatibility. Please include a header from a corresponding opencv module"
  In file included from
/opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv/cv.h:64,
                   from
/opt/ros/cturtle/stacks/vslam/frame_common/include/frame_common/stereo.h:39,
                   from
/opt/ros/cturtle/stacks/vslam/frame_common/include/frame_common/frame.h:52,
                   from
/opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp:36:

/opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv2/core/internal.hpp:297:1:
warning: "CV_IMPL" redefined
  In file included from
/opt/ros/cturtle/stacks/vslam/frame_common/include/frame_common/stereo.h:39,
                   from
/opt/ros/cturtle/stacks/vslam/frame_common/include/frame_common/frame.h:52,
                   from
/opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp:36:

/opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv/cv.h:60:1:
warning: this is the location of the previous definition

/opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv/cv.h:67:8:
warning: extra tokens at end of #endif directive
  /opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp: In constructor
‘frame_common::FrameProc::FrameProc(int)’:
  /opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp:119: error:
expected type-specifier
  /opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp:119: error: no
match for ‘operator=’ in
‘((frame_common::FrameProc*)this)->frame_common::FrameProc::detector =
(int*)operator new(4u)’

/opt/ros/cturtle/stacks/vision_opencv/opencv2/opencv/include/opencv2/core/operations.hpp:1596:
note: candidates are: cv::Ptr<_Tp>& cv::Ptr<_Tp>::operator=(const
cv::Ptr<_Tp>&) [with _Tp = cv::FeatureDetector]
  /opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp:119: error:
expected ‘;’
  /opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp: At global scope:
  /opt/ros/cturtle/stacks/vslam/frame_common/src/frame.cpp:44: warning:
‘double mstime()’ defined but not used
  make[3]: *** [CMakeFiles/frame_common.dir/src/frame.o] 错误 1
  make[3]:正在离开目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  make[2]: *** [CMakeFiles/frame_common.dir/all] 错误 2
  make[2]:正在离开目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
  make[1]: *** [all] 错误 2
  make[1]:正在离开目录 `/opt/ros/cturtle/stacks/vslam/frame_common/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package frame_common written to:
[ rosmake ]
/home/jolin/.ros/rosmake/rosmake_output-20101019-204702/frame_common/build_output.log
[rosmake-0] Finished <<< frame_common [FAIL] [ 7.80 seconds
]
[ rosmake ] Halting due to failure in package frame_common.
======================end of error=====================================

-- 
Eileen
TJ University of Shang Hai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20101019/562648cd/attachment-0002.html>


More information about the ros-users mailing list