[vtkusers] Build error for vtk-5.10.1

TANWEER RASHID trash001 at odu.edu
Tue Oct 7 10:09:40 EDT 2014


This is what I get for "ls -l /usr/lib/x86_64-linux-gnu/libGL.so"

*lrwxrwxrwx 1 root root 13 May 15 05:41 /usr/lib/x86_64-linux-gnu/libGL.so
-> mesa/libGL.so*

On Tue, Oct 7, 2014 at 10:02 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> So, if I can ask the obvious question, what do you get when you do this:
>
> ls -l /usr/lib/x86_64-linux-gnu/libGL.so
>
> Is it missing?  Is it a broken link?
>
>
> On Tue, Oct 7, 2014 at 7:58 AM, TANWEER RASHID <trash001 at odu.edu> wrote:
> > Hi David,
> >
> > Thanks, but I already have libgl1-mesa-dev installed.
> >
> > - - - TR
> >
> >
> > On Mon, Oct 6, 2014 at 10:49 PM, David Gobbi <david.gobbi at gmail.com>
> wrote:
> >>
> >> Hi Tanweer,
> >>
> >> I suspect that you are missing some of the ubuntu dev packages.
> >> For libGL.so, get libgl1-mesa-dev:
> >>
> >> sudo apt-get install libgl1-mesa-dev
> >>
> >>  - David
> >>
> >>
> >>
> >> On Mon, Oct 6, 2014 at 2:04 PM, TANWEER RASHID <trash001 at odu.edu>
> wrote:
> >> > Sorry about that. I accidentally sent before I could finish.
> >> >
> >> > Hi,
> >> >
> >> > I am trying to build VTK-5.10.1, but I keep getting an error.
> >> > My OS is 64 bit Ubuntu 14.04 running on Intel i7. I am trying to build
> >> > shared libs. When I build static libs, I don't encounter any problems.
> >> >
> >> > During Cmake configuration, I am getting the following warnings (for
> >> > both
> >> > static and shared):
> >> >
> >> > The target name
> >> >
> "/home/trash001/Downloads/VTK5.10.1-build/Utilities/vtkhdf5/H5Edefin.h"
> >> > is
> >> > unknown in this context.
> >> > This warning is for project developers. Use -Wno-dev to suppress it.
> >> >
> >> > CMake Warning (dev) at Utilities/vtkhdf5/src/CMakeLists.txt:614
> >> > (ADD_CUSTOM_COMMAND):
> >> > Policy CMP0040 is not set: The target in the TARGET signature of
> >> > add_custom_command() must exist. Run "cmake --help-policy CMP0040" for
> >> > policy details. Use the cmake_policy command to set the policy and
> >> > suppress this warning.
> >> >
> >> > The target name
> >> >
> "/home/trash001/Downloads/VTK5.10.1-build/Utilities/vtkhdf5/H5version.h"
> >> > is
> >> > unknown in this context.
> >> > This warning is for project developers. Use -Wno-dev to suppress it.
> >> >
> >> > CMake Warning (dev) at Utilities/vtkhdf5/src/CMakeLists.txt:621
> >> > (ADD_CUSTOM_COMMAND):
> >> > Policy CMP0040 is not set: The target in the TARGET signature of
> >> > add_custom_command() must exist. Run "cmake --help-policy CMP0040" for
> >> > policy details. Use the cmake_policy command to set the policy and
> >> > suppress this warning.
> >> >
> >> > The target name
> >> >
> >> >
> "/home/trash001/Downloads/VTK5.10.1-build/Utilities/vtkhdf5/H5overflow.h"
> >> > is unknown in this context.
> >> > This warning is for project developers. Use -Wno-dev to suppress it.
> >> >
> >> > Could not find extension loader. Extensions disabled.
> >> >
> >> > Configuring done
> >> >
> >> >
> >> >
> >> >
> >> > The build error (for building shared libs) is as follows:
> >> >
> >> > [ 30%] Built target vtkEncodeString
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.cpp.o
> >> > [ 30%] Building CXX object
> >> >
> >> >
> Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTBitmapGlyphRenderOpenGL.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTCharmap.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTFace.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTFont.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGLBitmapFont.cpp.o
> >> > [ 30%] Building CXX object
> >> >
> >> >
> Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGLBitmapFontRenderOpenGL.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGLPixmapFont.cpp.o
> >> > [ 30%] Building CXX object
> >> >
> >> >
> Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGLPixmapFontRenderOpenGL.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGlyph.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTGlyphContainer.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTLibrary.cpp.o
> >> > [ 30%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTPixmapGlyph.cpp.o
> >> > [ 30%] Building CXX object
> >> >
> >> >
> Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTPixmapGlyphRenderOpenGL.cpp.o
> >> > [ 31%] Building CXX object
> >> > Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTSize.cpp.o
> >> > make[2]: *** No rule to make target
> >> > `/usr/lib/x86_64-linux-gnu/libGL.so',
> >> > needed by `bin/libvtkftgl.so.5.10.1'.  Stop.
> >> > make[1]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
> >> > make: *** [all] Error 2
> >> > trash001 at MSVEDE09:~/Downloads/VTK5.10.1-build$
> >> >
> >> >
> >> >
> >> > --
> >> > Tanweer Rashid
> >> > MSVE Dept.
> >> > Old Dominion University
>
>
> --
> BEGIN-ANTISPAM-VOTING-LINKS
> ------------------------------------------------------
>
> Teach CanIt if this mail (ID 03N0e40R4) is spam:
> Spam:
> https://www.spamtrap.odu.edu/canit/b.php?i=03N0e40R4&m=9fea1e8b3202&t=20141007&c=s
> Not spam:
> https://www.spamtrap.odu.edu/canit/b.php?i=03N0e40R4&m=9fea1e8b3202&t=20141007&c=n
> Forget vote:
> https://www.spamtrap.odu.edu/canit/b.php?i=03N0e40R4&m=9fea1e8b3202&t=20141007&c=f
> ------------------------------------------------------
> END-ANTISPAM-VOTING-LINKS
>
>


-- 
Tanweer Rashid
MSVE Dept.
Old Dominion University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141007/9fa6b68a/attachment.html>


More information about the vtkusers mailing list