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
0

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

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 522 times

Last updated: May 15 '17