[vtkusers] Compile errors

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Jun 28 09:33:27 EDT 2004


Henry J. Karpf wrote:
> 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?

I believe this has nothing to do with cmake. I bet you are working on a 
VTK CVS, and did not recompile it after the pipeline mechanism change.

HTH
Mathieu





More information about the vtkusers mailing list