[vtkusers] vtk-flk problem..
K.R.Subramanian
krs at cs.uncc.edu
Wed Oct 23 16:43:55 EDT 2002
I am trying to use fltk with vtk and having a problem in even compiling the
simple Cone example (that comes with the Charles Botha's classes).. this is
on SGI Irix 6.5.. as described below..
Thanks..
*********************
"K.R.Subramanian" wrote:
> Hi.
>
> Trying to use fltk + vtk on our SGIs (Octane2, Irix 6.5) here and the Cone3 example has a
> linker problem..
> The application works fine on our Linux boxes.. let me know what might be the problem.
> Here
> are the diagnostics from our run.. (we are running vtk4.0 and fltk 1.1)
>
> chip.cs.uncc.edu% ls
> Cone3.cxx Cone3.o Makefile* Makefile.bak*
> chip.cs.uncc.edu% make
> CC -g -g -I. -I/usr/include/CC -I/afs/uncc/cs/irix/irixlinks/include/vtk
> -I/afs/uncc/cs/irix/irixlinks/include/ -LANG:std Cone3.o -o Cone3 -L.
> -L/afs/uncc/cs/irix/irixlinks/lib -lvtkfl -lfltk_gl -lfltk -lvtkGraphics -lvtkPatented
> -lvtkRendering -lvtkCommon -lGL -lXt -lXext -lX11 -lm
> ld32: ERROR 33 : Unresolved text symbol "vtkPolyDataSource::GetOutput(void)" -- 1st
> referenced by Cone3.o.
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld32: INFO 152: Output file removed because of error.
> *** Error code 2 (bu21)
>
> and running nm to look for this in our libvtkGraphics.so..
>
> chip.cs.uncc.edu% nm /afs/uncc/cs/irix/irixlinks/lib/libvtkGraphics.so|grep GetOutput
> [250] |1607417392| 88|FUNC |GLOB |DEFAULT
> |MIPS_TEXT|GetOutput__31vtkProgrammableDataObjectSourceGv
> [278] |1608044672| 904|FUNC |GLOB |DEFAULT
> |MIPS_TEXT|GetOutput__30vtkSpatialRepresentationFilterGi
> [436] |1604840640| 88|FUNC |GLOB |DEFAULT |UNDEF
> |GetOutput__25vtkUnstructuredGridSourceGv
> [463] |1604841180| 88|FUNC |GLOB |DEFAULT |UNDEF
> |GetOutput__17vtkPolyDataSourceGv
> [507] |1604842060| 1232|FUNC |GLOB |DEFAULT |UNDEF
> |GetOutput__25vtkDataSetToDataSetFilterGv
> [554] |1604843000| 88|FUNC |GLOB |DEFAULT |UNDEF
> |GetOutput__23vtkStructuredGridSourceGv
> [632] |1604844560| 88|FUNC |GLOB |DEFAULT |UNDEF
> |GetOutput__19vtkDataObjectSourceGv
> [746] |1604846840| 116|FUNC |GLOB |DEFAULT |UNDEF |GetOutput__9vtkSourceGi
> [788] |1604847680| 656|FUNC |GLOB |DEFAULT |UNDEF
> |GetOutput__27vtkPointSetToPointSetFilterGv
> [1018] |1605728848| 88|FUNC |GLOB |DEFAULT
> |MIPS_TEXT|GetOutput__28vtkDataObjectToDataSetFilterGv
> [1056] |1605817488| 284|FUNC |GLOB |DEFAULT
> |MIPS_TEXT|GetOutputPointId__23vtkDataSetSurfaceFilterGiP10vtkDataSetP9vtkPointsP12vtkPointData
>
> [1196] |1606297552| 1364|FUNC |GLOB |DEFAULT
> |MIPS_TEXT|GetOutput__26vtkExtractVectorComponentsGi
> [1721] |1608045584| 152|FUNC |GLOB |DEFAULT
> |MIPS_TEXT|GetOutput__30vtkSpatialRepresentationFilterGv
> [6137] |1606359408| 656|STAT |LOCL |DEFAULT |MIPS_TEXT|GetOutputAttributeD
> ............
>
> and
>
> chip.cs.uncc.edu% nm Cone3.o|grep GetOutput
> [28] | 0| 0|FUNC |GLOB |DEFAULT |UNDEF
> |GetOutput__17vtkPolyDataSourceGv
>
> As you can see, the GetOutput() method is there in the library, from what I can tell.
> Thanks.
>
> -- krs
>
> --
> K.R.Subramanian Phone: (704) 687-4872
> Department of Computer Science FAX: (704) 687-4893
> UNC Charlotte, CARC 311 Email: krs at cs.uncc.edu
> Charlotte, NC 28223-0001 Web: http://www.cs.uncc.edu/~krs
--
K.R.Subramanian Phone: (704) 687-4872
Department of Computer Science FAX: (704) 687-4893
UNC Charlotte, CARC 311 Email: krs at cs.uncc.edu
Charlotte, NC 28223-0001 Web: http://www.cs.uncc.edu/~krs
More information about the vtkusers
mailing list