<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 downloaded a new VTK version to make sure that I have nothing left over from before and I'm still getting the same error</p>
<p><br>
</p>
<span id="ms-rterangepaste-start"></span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">/usr/bin/ld: CMakeFiles/vtkRenderingOpenGL.</span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">dir/vtkXOpenGLRenderWindow.</span><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><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><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">vtkRenderingOpenGL.dir/all] Error
2</span><span id="ms-rterangepaste-end"></span><br>
<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> Shawn Waldon <shawn.waldon@kitware.com><br>
<b>Sent:</b> Thursday, August 4, 2016 6:39 PM<br>
<b>To:</b> the lily<br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] vtk linking error cannot find some libraries</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>Two points.<br>
<br>
</div>
1) Since you reran CMake before running make clean, the Makefile was rewritten to remove the output of the new build rather than the old build. So things from the old build that would have been removed were still present.<br>
</div>
2) CMake doesn't fully support make clean. It works sometimes, but don't depend on it... depending on what you are changing it can fail with really strange errors. It is safest to delete the entire build directory and re-create it.<br>
<br>
</div>
<div>HTH,<br>
</div>
Shawn<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 4, 2016 at 10:47 AM, the lily <span dir="ltr">
<<a href="mailto:the.1.lily@hotmail.com" target="_blank">the.1.lily@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>After I changed it back to the original values </p>
I did
<div> cmake </div>
<div>make clean </div>
<div>make </div>
<div><br>
</div>
<div>but I'm still getting the same error:</div>
<span class="">
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">/usr/bin/ld: CMakeFiles/vtkRenderingOpenGL.</span><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">dir/vtkXOpenGLRenderWindow.</span><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><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><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">vtkRenderingOpenGL.dir/all] Error 2</span><br>
</div>
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px"><br>
</span></div>
</span>
<div>I'm trying to understand what causing the error, but no luck. Any idea on what might be the problem?</div>
<div><br>
</div>
<div><br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Shawn Waldon <<a href="mailto:shawn.waldon@kitware.com" target="_blank">shawn.waldon@kitware.com</a>><br>
<b>Sent:</b> Thursday, August 4, 2016 5:15 PM<br>
<b>To:</b> the lily<br>
<b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b>Subject:</b> Re: [vtkusers] vtk linking error cannot find some libraries</font>
<div> </div>
</div>
<div>
<div class="h5">
<div>
<div dir="ltr">
<div>
<div>Hi,<br>
<br>
</div>
Usually when you change something major in VTK's build (such as BUILD_SHARED_LIBS), you need to delete the build tree completely to keep the leftovers from the old build from polluting the new one. That is probably what happened the first time too. I don't
know if VTK_USE_SYSTEM_zlib is big enough to cause this... And did you rerun CMake after you edited the cache?<br>
<br>
</div>
<div>HTH,<br>
</div>
Shawn<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 4, 2016 at 10:11 AM, the lily <span dir="ltr">
<<a href="mailto:the.1.lily@hotmail.com" target="_blank">the.1.lily@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div 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 face="arial, sans-serif" color="#222222"><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><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">dir/vtkXOpenGLRenderWindow.</span><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><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><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>
<div></div>
<p></p>
<div><br>
</div>
<div style="color:rgb(0,0,0)">
<div>
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> vtkusers <<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>> on behalf of the lily <<a href="mailto:the.1.lily@hotmail.com" target="_blank">the.1.lily@hotmail.com</a>><br>
<b>Sent:</b> Thursday, August 4, 2016 12:14 AM<br>
<b>To:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b>Subject:</b> [vtkusers] vtk linking error cannot find some libraries</font>
<div> </div>
</div>
</div>
<div>
<div>
<div>
<div 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><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8px">lvtkFiltersParallelStatistics-</span><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>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>