Robotics StackExchange | Archived questions

Undefined Reference to VTK Symbol

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.

Asked by atp on 2017-05-15 04:20:29 UTC

Comments

Answers

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

Asked by ZiqiChai on 2020-07-21 09:08:27 UTC

Comments