<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I think this happened because I changed the <span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">CMakeCache.txt </span></p>
<p><font color="#222222" face="arial, sans-serif"><span style="font-size: 12.8px;">I changed the following parameters</span></font></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">BUILD_SHARED_LIBS:BOOL=OFF</span><br>
</span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">VTK_USE_SYSTEM_ZLIB:BOOL=ON</span><br>
</span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><br>
</span></span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">I
tried changing that back to its original value but when I try to build it using make I get the following error </span></span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><br>
</span></span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">/usr/bin/ld:
CMakeFiles/vtkRenderingOpenGL.</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">dir/vtkXOpenGLRenderWindow.</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">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</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">/usr/bin/ld: final link failed: Bad value</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">collect2: ld returned 1 exit status</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">make[2]: *** [lib/libvtkRenderingOpenGL-6.</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">1.so.1]
Error 1</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">make[1]: *** [Rendering/OpenGL/CMakeFiles/</span><wbr style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">vtkRenderingOpenGL.dir/all]
Error 2</span><br>
</span></span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><br>
</span></span></span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><br>
</span></span></span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><br>
</span></span></span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">Any
hints? </span></span></span></span></p>
<p><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><br>
</span></span></span></span></p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> vtkusers <vtkusers-bounces@vtk.org> on behalf of the lily <the.1.lily@hotmail.com><br>
<b>Sent:</b> Thursday, August 4, 2016 12:14 AM<br>
<b>To:</b> vtkusers@vtk.org<br>
<b>Subject:</b> [vtkusers] vtk linking error cannot find some libraries</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p><br>
</p>
<p>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.</p>
<p>I specified the vtk path in the makefile, I'm not sure what I'm missing. </p>
<p>These are the libraries</p>
<p><br>
</p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"> cannot find -lvtkRenderingParallel-6.1</span><br>
</p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">cannot find -lvtkzlib-6.1</span><br>
</span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">cannot find
-</span><wbr style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">lvtkFiltersParallelStatistics-</span><wbr style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">6.1</span><br>
</span></span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">cannot
find -lvtkWrappingTools-6.1</span><br>
</span></span></span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><br>
</span></span></span></span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">thanks.</span></span></span></span></p>
</div>
</div>
</div>
</div>
</body>
</html>