[vtkusers] Down to one error
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Jun 28 11:42:36 EDT 2004
Henry,
Why exactly don't you want to use CMake ?
Anyway you need to link against either -lvtkexpat or -lexpat depending
on your VTK configuration (which cmake automagically find)
HTH
Mathieu
Henry J. Karpf wrote:
> Well added that and now these come back:
> [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 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
> -L../../external/vtk/lib -lvtkRendering -lvtkGraphics -lvtkImaging
> -lvtkFiltering -lvtkIO -lvtkCommon -ldl -lvtkftgl -lvtkfreetype
> -lvtkzlib -lm -lpthread -lm -o ../chisel_linux
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x84a): In
> function `vtkXMLParser::Parse()':
> : undefined reference to `XML_ParserCreate'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x86b): In
> function `vtkXMLParser::Parse()':
> : undefined reference to `XML_SetElementHandler'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x881): In
> function `vtkXMLParser::Parse()':
> : undefined reference to `XML_SetCharacterDataHandler'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x895): In
> function `vtkXMLParser::Parse()':
> : undefined reference to `XML_SetUserData'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x8d0): In
> function `vtkXMLParser::Parse()':
> : undefined reference to `XML_Parse'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x906): In
> function `vtkXMLParser::Parse()':
> : undefined reference to `XML_ParserFree'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0xb25): In
> function `vtkXMLParser::InitializeParser()':
> : undefined reference to `XML_ParserCreate'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0xb43): In
> function `vtkXMLParser::InitializeParser()':
> : undefined reference to `XML_SetElementHandler'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0xb59): In
> function `vtkXMLParser::InitializeParser()':
> : undefined reference to `XML_SetCharacterDataHandler'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0xb6d): In
> function `vtkXMLParser::InitializeParser()':
> : undefined reference to `XML_SetUserData'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0xf12): In
> function `vtkXMLParser::CleanupParser()':
> : undefined reference to `XML_Parse'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0xf45): In
> function `vtkXMLParser::CleanupParser()':
> : undefined reference to `XML_ParserFree'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x1989): In
> function `vtkXMLParser::ReportXmlParseError()':
> : undefined reference to `XML_GetErrorCode'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x1992): In
> function `vtkXMLParser::ReportXmlParseError()':
> : undefined reference to `XML_ErrorString'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x19af): In
> function `vtkXMLParser::ReportXmlParseError()':
> : undefined reference to `XML_GetCurrentLineNumber'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x1b1e): In
> function `vtkXMLParser::GetXMLByteIndex()':
> : undefined reference to `XML_GetCurrentByteIndex'
> ../../external/vtk/lib/libvtkIO.a(vtkXMLParser.o)(.text+0x1b3d): In
> function `vtkXMLParser::ParseBuffer(char const*, unsigned)':
> : undefined reference to `XML_Parse'
> collect2: ld returned 1 exit status
> mpiCC: No such file or directory
> make[2]: *** [../chisel_linux] Error 1
> make[2]: Leaving directory `/home/hjkarpf/Chisels/src/Obj_linux'
> make[1]: *** [linux] Error 2
> make[1]: Leaving directory `/home/hjkarpf/Chisels/src'
> make: *** [linux] Error 2
> [hjkarpf at habanero Chisels]$
>
> Mathieu Malaterre wrote:
>
>> Henry J. Karpf wrote:
>>
>>> Any final thoughts about this one last set of errors?
>>> [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 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
>>> -L../../external/vtk/lib -lvtkRendering -lvtkGraphics -lvtkImaging
>>> -lvtkFiltering -lvtkCommon -ldl -lvtkftgl -lvtkfreetype -lm
>>> -lpthread -lm -o ../chisel_linux
>>> vtkOut.o(.text+0x17d5): In function `vtkOut::vtkPrint2D(int,
>>> CHISELS::CellData*, int)':
>>> /home/hjkarpf/Chisels/src/Obj_linux/vtkOut.cpp:209: undefined
>>> reference to `vtkXMLUnstructuredGridReader::New()'
>>> vtkOut.o(.text+0x17dc):/home/hjkarpf/Chisels/src/Obj_linux/vtkOut.cpp:210:
>>> undefined reference to `vtkXMLUnstructuredGridWriter::New()'
>>> vtkOut.o(.text+0x17f6):/home/hjkarpf/Chisels/src/Obj_linux/vtkOut.cpp:212:
>>> undefined reference to `vtkXMLUnstructuredGridReader::GetOutput()'
>>> vtkOut.o(.text+0x1815):/home/hjkarpf/Chisels/src/Obj_linux/vtkOut.cpp:214:
>>> undefined reference to
>>> `vtkXMLUnstructuredGridWriter::SetInput(vtkUnstructuredGrid*)'
>>> collect2: ld returned 1 exit status
>>> mpiCC: No such file or directory
>>>
>>> Thanks for any help!!
>>
>>
>>
>> This one is easy :)
>>
>> You need -lvtkIO
>>
>> Mathieu
>>
>>
>
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list