[Paraview] Compiling ParaView: OSMesa, Gallium, llvmpipe
David E DeMarle
dave.demarle at kitware.com
Tue Nov 26 17:06:11 EST 2013
What does make VERBOSE=1 say the exact compilation line is?
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Tue, Nov 26, 2013 at 4:27 PM, Scott Wittenburg <
scott.wittenburg at kitware.com> wrote:
> Hi paraviewers,
>
> I'm trying to build ParaView with OSMesa (and gallium/llvmpipe) as
> described here:
>
> http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D
>
> 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:
>
> Linking CXX shared library ../../../lib/libvtkftgl-pv4.1.so
> /usr/bin/ld: cannot find -l/opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so
> collect2: error: ld returned 1 exit status
> make[2]: *** [lib/libvtkftgl-pv4.1.so.1] Error 1
> make[1]: *** [VTK/ThirdParty/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
> make: *** [all] Error 2
> scott at scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al
> /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so
> lrwxrwxrwx 1 root root 18 Nov 26 10:45
> /opt/mesa/9.2.2/llvmpipe/lib/libOSMesa.so -> libOSMesa.so.8.0.0
> scott at scott-VirtualBox:~/projects/ParaView-bin-make$ ls -al
> /opt/mesa/9.2.2/llvmpipe/lib
> total 34252
> drwxr-xr-x 3 root root 4096 Nov 26 10:45 .
> drwxr-xr-x 4 root root 4096 Nov 26 10:45 ..
> -rwxr-xr-x 1 root root 1015 Nov 26 10:45 libOSMesa.la
> lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so ->
> libOSMesa.so.8.0.0
> lrwxrwxrwx 1 root root 18 Nov 26 10:45 libOSMesa.so.8 ->
> libOSMesa.so.8.0.0
> -rwxr-xr-x 1 root root 35056257 Nov 26 10:45 libOSMesa.so.8.0.0
> drwxr-xr-x 2 root root 4096 Nov 26 10:45 pkgconfig
>
> 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.
>
> Thanks!
>
> Cheers,
> Scott
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131126/dccbab3f/attachment.htm>
More information about the ParaView
mailing list