ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

alphayed's profile - activity

2017-04-04 05:26:48 -0500 received badge  Famous Question (source)
2017-01-09 15:29:13 -0500 commented answer Compiling ROS Kinetec from source fails when building image_proc

I hear you vtk has been causing me lots of issues during this build.

2017-01-08 23:00:58 -0500 received badge  Supporter (source)
2017-01-08 23:00:46 -0500 received badge  Scholar (source)
2017-01-08 23:00:21 -0500 commented answer Compiling ROS Kinetec from source fails when building image_proc

Thank you, that worked. Can you please explain what this fix does if you don't mind?

2017-01-08 19:12:05 -0500 received badge  Notable Question (source)
2016-12-31 05:05:20 -0500 received badge  Popular Question (source)
2016-12-27 23:26:12 -0500 asked a question Compiling ROS Kinetec from source fails when building image_proc

I'm using an Arch machine and trying to compile ROS desktop full from source. The build fails when image_proc is trying to link executable.

Here is the error log:

[ 23%] Built target image_proc_gencfg
[ 84%] Built target image_proc
[ 92%] Linking CXX executable /home/alphayed/ROS/ros_catkin_ws/devel_isolated/image_proc/lib/image_proc/image_proc
/home/alphayed/ROS/ros_catkin_ws/install_isolated/lib/libopencv_viz3.so.3.1.0: undefined reference to `vtkSTLReader::New()'
/home/alphayed/ROS/ros_catkin_ws/install_isolated/lib/libopencv_viz3.so.3.1.0: undefined reference to `vtkOBJReader::New()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/image_proc_exe.dir/build.make:219: /home/alphayed/ROS/ros_catkin_ws/devel_isolated/image_proc/lib/image_proc/image_proc] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/image_proc_exe.dir/all] Error 2
make: *** [Makefile:139: all] Error 2

I think the problem is related to opencv3. I removed it from the system and recompiled it from source but that didn't solve the issue. Can you please help?