Problems compiling any vtk 2.1 example under Linux.

Mirco Müller mirco at pool.informatik.rwth-aachen.de
Thu Jul 22 22:28:47 EDT 1999


Hello there vtk-wizards!

    I am new to this list and to vtk. I have a great deal of trouble
compiling the C++ examples provided with the vtk distribution. I was
glad to have found a rpm for the precompiled vtk-libraries, since
building them from source code was not possible due to a seg-fault on
execution of targets.make. These 'targets.make' files all have 0 length.

Now trying to compile only the example programs does not seem to be any
more painless :( I get a:

/usr/local/vtk/vtkunix/graphics/examplesCxx
3> make
c++  -g -O2 -fPIC -I/usr/X11R6/include -D_HP_NO_FAST_MACROS
-DHAVE_LIMITS_H -DHAVE_UNISTD_H -I.  -I. -I./../graphics
-DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING
-I/home/martink/storage/Mesa-1.2.6/include -DVTK_USE_OGLR
-I./../../common -I./.. -I./../../patented -c VisQuad.cxx -o VisQuad.o
In file included from /usr/include/g++/strstream.h:33,
                 from ../../common/vtkWin32Header.h:70,
                 from ../../common/vtkIndent.h:50,
                 from ../../common/vtkObject.h:55,
                 from ../../common/vtkReferenceCount.h:64,
                 from ../../common/vtkScalars.h:66,
                 from ../../common/vtkColorScalars.h:63,
                 from ../../common/vtkAGraymap.h:57,
                 from ../../common/vtkCommon.h:42,
                 from ../../common/vtk.h:42,
                 from VisQuad.cxx:1:
/usr/include/g++/strfile.h:31: invalid exception specifications
/usr/include/g++/strfile.h:32: invalid exception specifications
make: *** [VisQuad.o] Error 1

    If this does look familiar to you, I would like to hear from you! I
have to admit I have only very little knowledge of C++. I only know my
ways around C.

Thanks for in advance for your time and kind advice!

Ciao...

Mirco



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list