Skip to content

Build error #20

Description

@pallyra1

Hey,

I am getting a building error. upon using catkin_make command.

I am getting this.

[ 8%] Built target extract_stereo_images
[ 12%] Building CXX object srv_tools-kinetic/bag_tools/CMakeFiles/process_stereo.dir/src/process_stereo.cpp.o
[ 20%] Built target extract_images
[ 29%] Built target pointcloud_to_webgl
[ 37%] Built target pcd_publisher
[ 45%] Built target pointcloud_mapper_for_slam
[ 54%] Built target pointcloud_mapper
[ 70%] Built target tf_filter
[ 70%] Built target pointcloud_viewer
[ 79%] Built target pointcloud_filtering
[ 87%] Built target tf_logger
[ 95%] Built target apply_tf_to_odom_msg
In file included from /opt/ros/kinetic/include/opencv-3.3.1/opencv2/core.hpp:59:0,
from /opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/core.hpp:48,
from /opt/ros/kinetic/include/image_proc/processor.h:37,
from /opt/ros/kinetic/include/stereo_image_proc/processor.h:37,
from /home/pallav/catkin_ws5/src/srv_tools-kinetic/bag_tools/src/process_stereo.cpp:34:
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.hpp: In instantiation of ‘class cv::Mat_’:
/opt/ros/kinetic/include/stereo_image_proc/processor.h:180:30: required from here
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.hpp:2150:50: error: no type named ‘channel_type’ in ‘class cv::DataType’
typedef typename DataType<Tp>::channel_type channel_type;
^
In file included from /opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.hpp:3639:0,
from /opt/ros/kinetic/include/opencv-3.3.1/opencv2/core.hpp:59,
from /opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/core.hpp:48,
from /opt/ros/kinetic/include/image_proc/processor.h:37,
from /opt/ros/kinetic/include/stereo_image_proc/processor.h:37,
from /home/pallav/catkin_ws5/src/srv_tools-kinetic/bag_tools/src/process_stereo.cpp:34:
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.inl.hpp:1582:1: error: no type named ‘channel_type’ in ‘class cv::DataType’
Mat
<Tp>::Mat(const Vec<typename DataType<Tp>::channel_type, n>& vec, bool c
^
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.inl.hpp:1591:1: error: no type named ‘channel_type’ in ‘class cv::DataType’
Mat
<Tp>::Mat(const Matx<typename DataType<Tp>::channel_type, m, n>& M, bool
^
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.inl.hpp:1600:1: error: no type named ‘channel_type’ in ‘class cv::DataType’
Mat
<Tp>::Mat(const Point_<typename DataType<Tp>::channel_type>& pt, bool co
^
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.inl.hpp:1609:1: error: no type named ‘channel_type’ in ‘class cv::DataType’
Mat
<Tp>::Mat(const Point3_<typename DataType<Tp>::channel_type>& pt, bool c
^
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.inl.hpp:1938:1: error: no type named ‘channel_type’ in ‘class cv::DataType’
Mat
<_Tp>::operator Vec<typename DataType<Tp>::channel_type, n>() const
^
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.inl.hpp:1951:1: error: no type named ‘channel_type’ in ‘class cv::DataType’
Mat
<_Tp>::operator Matx<typename DataType<Tp>::channel_type, m, n>() const
^
In file included from /opt/ros/kinetic/include/opencv-3.3.1/opencv2/core.hpp:56:0,
from /opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/core.hpp:48,
from /opt/ros/kinetic/include/image_proc/processor.h:37,
from /opt/ros/kinetic/include/stereo_image_proc/processor.h:37,
from /home/pallav/catkin_ws5/src/srv_tools-kinetic/bag_tools/src/process_stereo.cpp:34:
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/traits.hpp: In instantiation of ‘struct cv::traits::Type’:
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/mat.inl.hpp:1500:41: required from ‘cv::Mat
<Tp>::Mat() [with _Tp = unsigned int]’
/opt/ros/kinetic/include/stereo_image_proc/processor.h:60:3: required from here
/opt/ros/kinetic/include/opencv-3.3.1/opencv2/core/traits.hpp:366:8: error: ‘type’ is not a member of ‘cv::DataType’
{ enum { value = DataType::type }; };
^
srv_tools-kinetic/bag_tools/CMakeFiles/process_stereo.dir/build.make:62: recipe for target 'srv_tools-kinetic/bag_tools/CMakeFiles/process_stereo.dir/src/process_stereo.cpp.o' failed
make[2]: *** [srv_tools-kinetic/bag_tools/CMakeFiles/process_stereo.dir/src/process_stereo.cpp.o] Error 1
CMakeFiles/Makefile2:1036: recipe for target 'srv_tools-kinetic/bag_tools/CMakeFiles/process_stereo.dir/all' failed
make[1]: *** [srv_tools-kinetic/bag_tools/CMakeFiles/process_stereo.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Please help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions