[vtkusers] compiling VTK on linux
Liam K
quantum.leaf at googlemail.com
Fri Apr 18 09:42:11 EDT 2008
Hi,
I'm looking for some help in compiling VTK+. I'm hoping to use it with the
java wrapping for a medical data visualisation project.
I'm finding just compiling VTK on my linux box (ubuntu) to be much more
difficult than i expect.
So far i have install cmake and set various option and generated the make
file.
When I run the make file however i get:
zoizoi at mangoNupheus:/usr/local/VTK$ make
[ 0%] Built target vtkParseJava
[ 0%] Built target vtkWrapJava
[ 0%] Built target vtksys
[ 0%] Building CXX object
Common/CMakeFiles/vtkCommon.dir/vtkDataArraySelection.o
/usr/local/VTK/Common/vtkDataArraySelection.cxx:27: error: ISO C++ forbids
declaration of 'vector' with no type
/usr/local/VTK/Common/vtkDataArraySelection.cxx:27: error: invalid use of
'::'
/usr/local/VTK/Common/vtkDataArraySelection.cxx:27: error: expected ';'
before '<' token
...and then a long long list of errors which it's probably not worth
posting. This is VTK 5.0.4
i have no idea what's causing this as my knowledge of C++ is pretty limited.
Is there some configure option i need to set to get the compiler to be less
stringent or something?
hope someone can help as i need to get working on this project asap.
Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080418/7c53a5c0/attachment.htm>
More information about the vtkusers
mailing list