[vtkusers] Problem compiling VTK ...

Berk Geveci berkgeveci at hotmail.com
Fri Jul 13 11:30:12 EDT 2001


Do you have any local classes ? If not, you should not
configure --with-local.

>From: Emmanuel Olart <emmanuel.olart at insalien.org>
>To: vtkusers at public.kitware.com
>Subject: [vtkusers] Problem compiling VTK ...
>Date: Fri, 13 Jul 2001 16:46:03 +0100
>
>Hi all
>
>I searched everywhere in the archives but I can't find a solution so I
>ask you all :
>
>I'm trying to compile VTK on a sun ultra 80 with solaris 8.
>After a while, the following error appears :
>
>c++  -fpermissive -fPIC  -fpermissive -I.  -I. -I./../graphics
>-DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib
>-DVTK_USE_CONTRIB -I./../local -DVTK_USE_LOCAL
>-I/usr/openwin/share/include/   -I/usr/openwin/include  -I./../common
>-I../common -I/root/archives/src/tk8.3.3/generic/
>-I/root/archives/src/tcl8.3.3/generic/
>-I/export/home/manu/Python-2.1/Include -I/export/home/manu/Python-2.1
>-Wl,-G -o \
>libVTKLocal.so \
>
>../wrap/vtkWrapTclInit VTKLocalTcl  > tcl/LocalInit.cxx
>Usage: ../wrap/vtkWrapTclInit kit_name file1 file2 file3 ...
>make[1]: *** [tcl/LocalInit.cxx] Error 1
>make[1]: Leaving directory `/export/home/manu/vtk/local'
>make: *** [build_local] Error 2
>
>if I run make again, the making process goes on but crashes soon with an
>error concerning unrefferenced symbol in VTKLocalTcl_init ...
>
>c++  -fpermissive -fPIC  -fpermissive -I.  -I. -I./../graphics
>-DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib
>-DVTK_USE_CONTRIB -I./../local -DVTK_USE_LOCAL
>-I/usr/openwin/share/include/   -I/usr/openwin/include  -I./../common
>-I../common -I/root/archives/src/tk8.3.3/generic/
>-I/root/archives/src/tcl8.3.3/generic/
>-I/export/home/manu/Python-2.1/Include -I/export/home/manu/Python-2.1
>-Wl,-G \
>-o libVTKLocalPython.so python/LocalInit.o \
>    -L.  \
>-lVTKLocal -L../graphics -lVTKGraphicsPython -L../imaging
>-lVTKImagingPython -L../common -lVTKCommonPython -L/usr/openwin/lib
>-R/usr/openwin/lib -L/usr/openwin/lib -lGL   -L/usr/openwin/lib
>-R/usr/openwin/lib -lXext -lXt -lSM -lICE -lX11 \
>-lsocket  -lnsl -ldl -lpthread
>make[1]: Leaving directory `/export/home/manu/vtk/local'
>cd tcl;        make - vtk
>make[1]: Entering directory `/export/home/manu/vtk/tcl'
>c++ -o vtk tkAppInit.o \
>-L. -fpermissive  -fPIC  -fpermissive -I. -I./../common -I../common
>-I/root/archives/src/tk8.3.3/generic/
>-I/root/archives/src/tcl8.3.3/generic/ -I/usr/openwin/share/include/
>-I/usr/openwin/include  -I./../graphics -DVTK_USE_GRAPHICS
>-I./../imaging -DVTK_USE_IMAGING -I./../contrib -DVTK_USE_CONTRIB
>-I./../local -DVTK_USE_LOCAL  -Wl,-R,/usr/local/lib
>-L/export/home/manu/vtk/local -lVTKLocalTcl -lVTKLocal
>-L/export/home/manu/vtk/contrib -lVTKContribTcl -lVTKContrib
>-L/export/home/manu/vtk/imaging -lVTKImagingTcl -lVTKImaging
>-L/export/home/manu/vtk/graphics -lVTKGraphicsTcl -lVTKGraphics
>-L../common -lVTKCommonTcl -lVTKCommon -L/usr/openwin/lib
>-R/usr/openwin/lib -L/usr/openwin/lib -lGL  /usr/local/lib/libtk8.3.so
>/usr/local/lib/libtcl8.3.so -ldl -lpthread \
>-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lXt -lSM -lICE -lX11
>-lsocket  -lnsl -lm
>Undefined   first referenced
>  symbol         in file
>Vtklocaltcl_Init                    tkAppInit.o
>ld: fatal: Symbol referencing errors. No output written to vtk
>collect2: ld returned 1 exit status
>make[1]: *** [vtk] Error 1
>make[1]: Leaving directory `/export/home/manu/vtk/tcl'
>make: *** [build_tcl] Error 2
>
>Thanks to help me go through this !
>
>Emmanuel Olart
>
><< emmanuel.olart.vcf >>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





More information about the vtkusers mailing list