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

Undefined Reference to VTK Symbol

asked 2017-05-15 04:20:29 -0500

atp gravatar image

When compiling my code in Kinetic and Ubuntu 16.04, I get this error:

/usr/bin/ld: /tmp/ccxDzBXh.ltrans1.ltrans.o: undefined reference to symbol '_Z44vtkRenderingFreeTypeOpenGL_AutoInit_Destructv'
//usr/lib/x86_64-linux-gnu/libvtkRenderingFreeTypeOpenGL-6.2.so.6.2: error adding symbols: DSO missing from command line

Compilation is successful in Indigo. I suspect this is an issue with PCL and VTK.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-07-21 09:08:27 -0500

ZiqiChai gravatar image

I met the same situation, but only fixed after I add target_link_libraries(xxx ${PCL_LIBRARIES}

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-05-15 04:20:29 -0500

Seen: 1,331 times

Last updated: May 15 '17