[vtkusers] Build error for vtk-5.10.1
TANWEER RASHID
trash001 at odu.edu
Mon Oct 6 16:04:39 EDT 2014
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
On Mon, Oct 6, 2014 at 3:58 PM, Christopher Mullins <
christopher.mullins at kitware.com> wrote:
> Please post the error so that we can help you.
>
> On Mon, Oct 6, 2014 at 3:57 PM, TANWEER RASHID <trash001 at odu.edu> wrote:
>
>> 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.
>>
>> The error is as follows:
>>
>>
>> --
>> Tanweer Rashid
>> MSVE Dept.
>> Old Dominion University
>>
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Christopher Mullins
> R&D Engineer
> Kitware Inc.,
> 919.869.8871
> ------------------------------
>
> Spam
> <https://www.spamtrap.odu.edu/canit/b.php?i=01MXTXBx3&m=acff2990e722&t=20141006&c=s>
> Not spam
> <https://www.spamtrap.odu.edu/canit/b.php?i=01MXTXBx3&m=acff2990e722&t=20141006&c=n>
> Forget previous vote
> <https://www.spamtrap.odu.edu/canit/b.php?i=01MXTXBx3&m=acff2990e722&t=20141006&c=f>
>
--
Tanweer Rashid
MSVE Dept.
Old Dominion University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141006/52d638bf/attachment.html>
More information about the vtkusers
mailing list