I've downloaded the nightly release of VTK (from 30/09/99). Tcl/Tk 8.0.5 is installed.
I configure VTK with
"./configure --with-tcl --with-patented --with-tkwidget --with-contrib"
"make" ends with the following output saying that the header in libVTKContrib.a is invalid:
CC -o vtk tkAppInit.o \
-L. -n32 -O2 -OPT:Olimit=10000
-DHAVE_SETMON -DVTK_WORDS_BIGENDIAN -DVTK_USE_PTHREADS -ptall
-no_prelink -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H
-I. -I./../common -I/usr/people/per/TclTkDownload/tk8.0.5/generic/
-I/usr/people/per/TclTkDownload/tcl8.0.5/generic/ -DVTK_USE_TKWIDGET
-DVTK_USE_OGLR -I./../graphics -DVTK_USE_GRAPHICS
-I./../imaging -DVTK_USE_IMAGING -I./../patented -DVTK_USE_PATENTED -I./../contrib
-DVTK_USE_CONTRIB
-L/usr/people/per/vtk/contrib -lVTKContribTcl -lVTKContrib
-L/usr/people/per/vtk/patented -lVTKPatentedTcl -lVTKPatented
-L/usr/people/per/vtk/imaging -lVTKImagingTcl -lVTKImaging
-L/usr/people/per/vtk/graphics -lVTKGraphicsTcl -lVTKGraphics
-L../common -lVTKCommonTcl -lVTKCommon -lGL /usr/local/lib//libtk8.0.so
/usr/local/lib/libtcl8.0.so -lpthread \
-lXext -lXt -lSM -lICE
-lX11 -lm
ld32: WARNING 84: /usr/people/per/vtk/contrib/libVTKContribTcl.a is
not used for resolving any symbol.
ld32: FATAL 11: Object file format error (/usr/people/per/vtk/contrib/libVTKContrib.a):
invalid header
*** Error code 2 (bu21)
*** Error code 1 (bu21)
"contrib" contains no object files (*.o) files and the libraries
have the following size:
-rw-r--r-- 1 per user
8 Oct 1 15:45 libVTKContrib.a
-rw-r--r-- 1 per user
2756 Oct 1 15:45 libVTKContribTcl.a
I need the RIBexporter found in "contrib"
Hope somebody can help me.
Thanks in advance,
Per
-- ______________________________________________________________ Per Roensholt Andresen http://www.imm.dtu.dk/~pra Assistant Research Professor Technical University of Denmark