[vtkusers] Build error for vtk-5.10.1

TANWEER RASHID trash001 at odu.edu
Tue Oct 7 09:58:29 EDT 2014


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
> ------------------------------------------------------
>
> NOTE: This message was trained as non-spam.  If this is wrong,
> please correct the training as soon as possible.
>
> Teach CanIt if this mail (ID 03N02OfoR) is spam:
> Spam:
> https://www.spamtrap.odu.edu/canit/b.php?i=03N02OfoR&m=4c44c7e7eac9&t=20141006&c=s
> Not spam:
> https://www.spamtrap.odu.edu/canit/b.php?i=03N02OfoR&m=4c44c7e7eac9&t=20141006&c=n
> Forget vote:
> https://www.spamtrap.odu.edu/canit/b.php?i=03N02OfoR&m=4c44c7e7eac9&t=20141006&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/104208cf/attachment.html>


More information about the vtkusers mailing list