[vtkusers] vtk linking error cannot find some libraries

the lily the.1.lily at hotmail.com
Thu Aug 4 10:11:15 EDT 2016

I think this happened because I changed the CMakeCache.txt

I changed the following parameters



I tried changing that back to its original value but when I try to build it using make I get the following error

/usr/bin/ld: CMakeFiles/vtkRenderingOpenGL.dir/vtkXOpenGLRenderWindow.cxx.o(.text+0x6ef0): sibling call optimization to `std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::~basic_stringbuf()' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::~basic_stringbuf()' extern
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libvtkRenderingOpenGL-6.1.so.1] Error 1
make[1]: *** [Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/all] Error 2

Any hints?

From: vtkusers <vtkusers-bounces at vtk.org> on behalf of the lily <the.1.lily at hotmail.com>
Sent: Thursday, August 4, 2016 12:14 AM
To: vtkusers at vtk.org
Subject: [vtkusers] vtk linking error cannot find some libraries


I'm trying to link VTK and for some reason vtk is not finding some of the libraries, and when I search for it in the lib folder I did not find these libraries.

I specified the vtk path in the makefile, I'm not sure what I'm missing.

These are the libraries

 cannot find -lvtkRenderingParallel-6.1

cannot find -lvtkzlib-6.1

cannot find -lvtkFiltersParallelStatistics-6.1

cannot find -lvtkWrappingTools-6.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160804/60deb8c4/attachment.html>

More information about the vtkusers mailing list