<div dir="ltr"><div>That command succeeds as long as I just remove the -l"" altogether. So I re-ran ccmake and deleted those empty double-quotes, and now the build is running again. It's past the point where the error happened before, but I'll respond to the list with the outcome when it has completed successfully. Probably just new-guy error in the end, but thanks Dave and Burlen for coming to the rescue!<br>
<br></div><div>Cheers,<br>Scott<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 3:57 PM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.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">That does look suspicious. Type that command in manually without and see if it succeeds. If so, then something is fishy with your cmake config that you should correct.</div>
<div class="gmail_extra"><div class="im"><br clear="all">
<div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Tue, Nov 26, 2013 at 5:55 PM, Scott Wittenburg <span dir="ltr"><<a href="mailto:scott.wittenburg@kitware.com" target="_blank">scott.wittenburg@kitware.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><div><div>Hi Dave,<br><br></div> Here's the stuff near the end of make VERBOSE=1:<br><br><span style="font-family:courier new,monospace">make -f VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build.make VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/build<br>
make[2]: Entering directory `/home/scott/projects/ParaView-bin-make'<div><br>Linking CXX shared library ../../../lib/<a href="http://libvtkftgl-pv4.1.so" target="_blank">libvtkftgl-pv4.1.so</a><br></div>cd /home/scott/projects/ParaView-bin-make/VTK/ThirdParty/ftgl && /usr/bin/cmake -E cmake_link_script CMakeFiles/vtkftgl.dir/link.txt --verbose=1<br>
/usr/bin/c++ -fPIC -Wno-deprecated -w -g -Wl,--fatal-warnings -Wl,--no-undefined -lc -shared -Wl,-soname,libvtkftgl-pv4.1.so.1 -o ../../../lib/libvtkftgl-pv4.1.so.1 CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTCharmap.cpp.o CMakeFiles/vtkftgl.dir/src/FTFace.cpp.o CMakeFiles/vtkftgl.dir/src/FTFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLBitmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFont.cpp.o CMakeFiles/vtkftgl.dir/src/FTGLPixmapFontRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTGlyphContainer.cpp.o CMakeFiles/vtkftgl.dir/src/FTLibrary.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyph.cpp.o CMakeFiles/vtkftgl.dir/src/FTPixmapGlyphRenderOpenGL.cpp.o CMakeFiles/vtkftgl.dir/src/FTSize.cpp.o -l"" /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so ../../../lib/libvtkfreetype-pv4.1.so.1 ../../../lib/libvtkzlib-pv4.1.so.1 -Wl,-rpath,/opt/mesa/9.2.2/llvmpipe/lib:/home/scott/projects/ParaView-bin-make/lib: <br>
<div>
/usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so<br>collect2: error: ld returned 1 exit status<br>make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1<br></div>make[2]: Leaving directory `/home/scott/projects/ParaView-bin-make'<div>
<br>
make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2<br></div>make[1]: Leaving directory `/home/scott/projects/ParaView-bin-make'<div><br>make: *** [all] Error 2</div></span><br><br></div>
So I'm looking suspiciously at that -l"" right before the /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so near the end of the command. I think I may have misunderstood the instructions, because I put empty double quotes in that OPENGL_gl_LIBRARY instead of just nothing. I'll try another configure with nothing there instead.<br>
<br></div>Cheers,<br>Scott<br><br><div><div><div><br></div></div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 3:06 PM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.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">What does make VERBOSE=1 say the exact compilation line is?<div><br></div></div><div class="gmail_extra">
<br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div>
<br><br><div class="gmail_quote"><div><div>On Tue, Nov 26, 2013 at 4:27 PM, Scott Wittenburg <span dir="ltr"><<a href="mailto:scott.wittenburg@kitware.com" target="_blank">scott.wittenburg@kitware.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div><div><div>Hi paraviewers,<br><br></div> I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as described here:<br>
<br><a href="http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D" target="_blank">http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D</a><br><br>I am working on a virtual box machine with Ubuntu 13.04 installed. I have followed the instructions for building osmesa and then ParaView, but I have run into the following error during the ParaView compile phase:<br>
<br><span style="font-family:courier new,monospace">Linking CXX shared library ../../../lib/<a href="http://libvtkftgl-pv4.1.so" target="_blank">libvtkftgl-pv4.1.so</a><br>/usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so<br>
collect2: error: ld returned 1 exit status<br>make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1<br>make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2<br>make: *** [all] Error 2<br>scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so<br>
lrwxrwxrwx 1 root root 18 Nov 26 10:45 /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so -> libOSMesa.so.8.0.0<br>scott@scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al /opt/mesa/9.2.2/llvmpipe/lib<br>total 34252<br>drwxr-xr-x 3 root root 4096 Nov 26 10:45 .<br>
drwxr-xr-x 4 root root 4096 Nov 26 10:45 ..<br>-rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la<br>lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so -> libOSMesa.so.8.0.0<br>lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 -> libOSMesa.so.8.0.0<br>
-rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0<br>drwxr-xr-x 2 root root 4096 Nov 26 10:45 pkgconfig</span><br><div><br></div>As demonstrated above, the library is right where make says it can't find it.
However, I'm not familiar with this form of specifying a library with
the '-l' flag. Usually, I would say something like '-l OSMesa', if I wanted to link against 'libOSMesa.so', then I would say where it is located
with the 'L' flag. Anyway, does anyone have any idea what I
could have done wrong to achieve this error? I have included my CMakeCache.txt, but I can provide
other information if it would be useful.<br><br></div>Thanks!<br><br></div>Cheers,<br>Scott<br></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>