[vtkusers] make vtkExamplesCxx
Jianhua Ma
jma at ceg.uiuc.edu
Wed Jul 19 15:00:09 EDT 2000
Greetings,
I downloaded vtk312Unix.tar.gz and tried to compile it under Linux6.1.
After edited user.make to specify the header files for tck/tk/Mesa,
I ran the following "configure" command: ./configure
Compilation successful finished!
//--------------------------------------------------------
make
Reading .cshrc ...
cd wrap; make - all
make[1]: Entering directory `/home/saturn/jma/vtk31/wrap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/saturn/jma/vtk31/wrap'
cd common; make - targets.make
make[1]: Entering directory `/home/saturn/jma/vtk31/common'
make[1]: `targets.make' is up to date.
make[1]: Leaving directory `/home/saturn/jma/vtk31/common'
cd common; make - all
make[1]: Entering directory `/home/saturn/jma/vtk31/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/saturn/jma/vtk31/common'
cd graphics; make - targets.make
make[1]: Entering directory `/home/saturn/jma/vtk31/graphics'
make[1]: `targets.make' is up to date.
make[1]: Leaving directory `/home/saturn/jma/vtk31/graphics'
cd graphics; make - all
make[1]: Entering directory `/home/saturn/jma/vtk31/graphics'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/saturn/jma/vtk31/graphics'
cd imaging; make - targets.make
make[1]: Entering directory `/home/saturn/jma/vtk31/imaging'
make[1]: `targets.make' is up to date.
make[1]: Leaving directory `/home/saturn/jma/vtk31/imaging'
cd imaging; make - all
make[1]: Entering directory `/home/saturn/jma/vtk31/imaging'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/saturn/jma/vtk31/imaging'
Compilation finished at Wed Jul 19 00:47:29
//-----------------------------------------------------------
But I then ran /vtk31/graphics/examplesCxx/make; it ran for a while,
stops at:
c++ -o VisQuad -g -O2 -DVTK_USE_PTHREADS -D_HP_NO_FAST_MACROS
-DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. -I. -I/usr/X11R6/include
-I./../../common -I./.. -I./../../imaging VisQuad.o
../../imaging/libVTKImaging.a ../../graphics/libVTKGraphics.a
../../common/libVTKCommon.a ../../imaging/libVTKImaging.a
../../graphics/libVTKGraphics.a ../../common/libVTKCommon.a
-L/usr/X11R6/lib -ldl -lpthread \
-L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11 -lm
../../graphics/libVTKGraphics.a(vtkGraphicsFactory.o): In function
`vtkGraphicsFactory::CreateInstance(char const *)':
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:232: undefined
reference to `vtkMesaActor::New(void)'
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:236: undefined
reference to `vtkMesaCamera::New(void)'
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:240: undefined
reference to `vtkMesaLight::New(void)'
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:244: undefined
reference to `vtkMesaProperty::New(void)'
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:248: undefined
reference to `vtkMesaPolyDataMapper::New(void)'
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:252: undefined
reference to `vtkMesaProjectedPolyDataRayBounder::New(void)'
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:256: undefined
reference to `vtkMesaRenderer::New(void)'
../../graphics/libVTKGraphics.a(vtkGraphicsFactory.o): In function
`vtkGraphicsFactory::CreateInstance(char const *)':
/home/saturn/jma/vtk31/graphics/vtkMesaRenderWindow.h:82: undefined
reference to `vtkMesaRenderWindow::vtkMesaRenderWindow(void)'
../../graphics/libVTKGraphics.a(vtkGraphicsFactory.o): In function
`vtkGraphicsFactory::CreateInstance(char const *)':
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:264: undefined
reference to `vtkMesaTexture::New(void)'
/home/saturn/jma/vtk31/graphics/vtkGraphicsFactory.cxx:268: undefined
reference to `vtkMesaVolumeTextureMapper2D::New(void)'
collect2: ld returned 1 exit status
make: *** [VisQuad] Error 1
Compilation exited abnormally with code 2 at Wed Jul 19 21:40:44
Could someone please give me a hand to figure out what's wrong?
Thanks very much!
-Jianhua
More information about the vtkusers
mailing list