[vtkusers] Compile errors

Henry J. Karpf hjkarpf at sandia.gov
Mon Jun 28 09:12:55 EDT 2004


Trying to compile my program and i still get:
[hjkarpf at habanero Chisels]$ make -j 2 linux
make[1]: Entering directory `/home/hjkarpf/Chisels/src'
make[2]: Entering directory `/home/hjkarpf/Chisels/src/Obj_linux'
mpiCC  -g -L/usr/local/lf9561/lib -L../../external/lib/linux 
-L../../external/vtk/lib chisel.o hash.o levelset.o surfs.o cells.o 
functions.o zoltan.o view_factors.o btrm.o timer.o chemkindata.o 
chemkin.o io.o transform.o btrm_solver.o update_aztec.o update_direct.o 
vtkOut.o fortran.o myface.o skrat2.o cell_surface.o    -lzoltan 
-lzoltan_mem -lzoltan_comm -lmpi -llam -lVFmp_dp -lchemkin -lfj9i6 
-lfj9f6 -lfj9e6 -laztecoo -lepetra -lkomplex -ltriutils -ly12m -llapack 
-lblas -lifpack -lg2c -ldlu -lvtkCommon -lvtkexpat -lvtkFiltering 
-lvtkfreetype -lvtkGraphics -lvtkImaging -lvtkIO -lvtkjpeg -lvtkpng 
-lvtktiff -lvtkzlib
-ldl -lm -lpthread  -lm -o ../chisel_linux
../../external/vtk/lib/libvtkIO.a(vtkXMLUnstructuredGridReader.o)(.text+0x388): 
In function `vtkXMLUnstructuredGridReader::SetOutput(vtkUnstructuredGrid*)':
: undefined reference to `vtkSource::SetNthOutput(int, vtkDataObject*)'
../../external/vtk/lib/libvtkIO.a(vtkXMLUnstructuredGridReader.o)(.text+0x3ca): 
In function `vtkXMLUnstructuredGridReader::GetOutput(int)':
: undefined reference to `vtkSource::GetOutput(int)'
../../external/vtk/lib/libvtkIO.a(vtkXMLUnstructuredGridReader.o)(.gnu.linkonce.d._ZTV28vtkXMLUnstructuredGridReader+0x20): 
undefined reference to `vtkSource::UnRegister(vtkObjectBase*)'
../../external/vtk/lib/libvtkIO.a(vtkXMLUnstructuredGridReader.o)(.gnu.linkonce.d._ZTV28vtkXMLUnstructuredGridReader+0x74): 
undefined reference to `vtkProcessObject::SetNthInput(int, vtkDataObject*)'
../../external/vtk/lib/libvtkIO.a(vtkXMLUnstructuredGridReader.o)(.gnu.linkonce.d._ZTV28vtkXMLUnstructuredGridReader+0x78): 
undefined reference to `vtkProcessObject::AddInput(vtkDataObject*)'
../../external/vtk/lib/libvtkIO.a(vtkXMLUnstructuredGridReader.o)(.gnu.linkonce.d._ZTV28vtkXMLUnstructuredGridReader+0x7c): 
undefined reference to `vtkProcessObject::RemoveInput(vtkDataObject*)'
../../external/vtk/lib/libvtkIO.a(vtkXMLUnstructuredGridReader.o)(.gnu.linkonce.d._ZTV28vtkXMLUnstructuredGridReader+0x80): 
undefined reference to `vtkSource::Update()'
../../external/vtk/lib/libvtkIO.a(vtkXMLUnstructuredGridReader.o)(.gnu.linkonce.d._ZTV28vtkXMLUnstructuredGridReader+0x84): 
undefined reference to `vtkSource::UpdateWholeExtent()'
...

Isn't therean easy way to compile without using cmake?





More information about the vtkusers mailing list