[vtkusers] cannot find -l-lvtkIO
Sylvain Jaume
sylvainjaume at gmail.com
Thu Sep 15 09:49:12 EDT 2005
Hi!
I compiled VTK (CVS of today) on FedoraCore4 with Java on. I get this error:
/usr/bin/ld: cannot find -l-lvtkIO
Looking at the compile comments below, I see that one library is undefined
(... -lvtkImaging -l -lvtkIO ...).
How can I find which lib is missing? My CMakeCache.txt is attached.
Any hint is welcome!
Sylvain
[...]
make[2]: Leaving directory `/home/sylvain/VTKBuild'
make -f Hybrid/CMakeFiles/vtkHybridJava.dir/build.make
Hybrid/CMakeFiles/vtkHybridJava.dir/depend
make[2]: Entering directory `/home/sylvain/VTKBuild'
make[2]: Nothing to be done for
`Hybrid/CMakeFiles/vtkHybridJava.dir/depend'.
make[2]: Leaving directory `/home/sylvain/VTKBuild'
make -f Hybrid/CMakeFiles/vtkHybridJava.dir/build.make
Hybrid/CMakeFiles/vtkHybridJava.dir/build
make[2]: Entering directory `/home/sylvain/VTKBuild'
Linking CXX shared library bin/libvtkHybridJava.so
/home/sylvain/MyBin/cmake -E remove -f bin/libvtkHybridJava.a
bin/libvtkHybridJava.so.5.1.0 bin/libvtkHybridJava.so.5.1
bin/libvtkHybridJava.so
c++ -fPIC -shared -Wl,-soname,libvtkHybridJava.so.5.1 -o
bin/libvtkHybridJava.so.5.1.0
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtk3DSImporterJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkArcPlotterJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkAnnotatedCubeActorJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkAxesActorJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkCaptionActor2DJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkCornerAnnotationJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkCubeAxesActor2DJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkDepthSortPolyDataJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkEarthSourceJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkFacetReaderJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkGreedyTerrainDecimationJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkGridTransformJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkImageToPolyDataFilterJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkImplicitModellerJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkIterativeClosestPointTransformJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkLandmarkTransformJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkLegendBoxActorJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkPCAAnalysisFilterJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkPolyDataToImageStencilJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkProcrustesAlignmentFilterJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkProjectedTerrainPathJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkRIBExporterJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkRIBLightJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkRIBPropertyJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkRenderLargeImageJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkThinPlateSplineTransformJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkTransformToGridJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkVRMLImporterJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkVectorTextJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkVideoSourceJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkWeightedTransformFilterJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkXYPlotActorJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkPExodusReaderJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkExodusReaderJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkDSPFilterDefinitionJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkExodusModelJava.o"
"Hybrid/CMakeFiles/vtkHybridJava.dir/vtkDSPFilterGroupJava.o"
-L/usr/local/jdk1.5.0_04/lib -L/home/sylvain/VTKBuild/bin -L/usr/X11R6/lib
-lvtkHybrid -lvtkRenderingJava -lvtkIOJava -lvtkexoIIc -lvtkNetCDF
-lvtkRendering -lvtkftgl -lvtkfreetype -lGL -lXt -lSM -lICE -lSM -lICE -lSM
-lICE -lX11 -lXext -lX11 -lXext -lX11 -lXext -lvtkGraphicsJava -lvtkGraphics
-lvtkImagingJava -lvtkImaging -l -lvtkIO -lvtkDICOMParser -lvtkpng -lvtktiff
-lvtkzlib -lvtkjpeg -lvtkexpat -lvtkMPEG2Encode -lvtkFilteringJava
-lvtkFiltering -lvtkCommonJava -lvtkCommon -lvtksys -lpthread -ldl -lm
-Wl,-rpath,/usr/local/jdk1.5.0_04/lib:/home/sylvain/VTKBuild/bin:/usr/X11R6/lib
-lgcc
/usr/bin/ld: cannot find -l-lvtkIO
collect2: ld returned 1 exit status
make[2]: *** [bin/libvtkHybridJava.so] Error 1
make[2]: Leaving directory `/home/sylvain/VTKBuild'
make[1]: *** [Hybrid/CMakeFiles/vtkHybridJava.dir/all] Error 2
make[1]: Leaving directory `/home/sylvain/VTKBuild'
make: *** [all] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050915/ae051770/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeCache.txt
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050915/ae051770/attachment.txt>
More information about the vtkusers
mailing list