Hi!<br>
<br>
I compiled VTK (CVS of today) on FedoraCore4 with Java on. I get this error:<br>
<br>
/usr/bin/ld: cannot find -l-lvtkIO<br>
<br>
Looking at the compile comments below, I see that one library is undefined (... -lvtkImaging -l -lvtkIO ...).<br>
How can I find which lib is missing? My CMakeCache.txt is attached.<br>
<br>
Any hint is welcome!<br>
Sylvain<br>
<br>
[...]<br>
make[2]: Leaving directory `/home/sylvain/VTKBuild'<br>
make -f Hybrid/CMakeFiles/vtkHybridJava.dir/build.make Hybrid/CMakeFiles/vtkHybridJava.dir/depend<br>
make[2]: Entering directory `/home/sylvain/VTKBuild'<br>
make[2]: Nothing to be done for `Hybrid/CMakeFiles/vtkHybridJava.dir/depend'.<br>
make[2]: Leaving directory `/home/sylvain/VTKBuild'<br>
make -f Hybrid/CMakeFiles/vtkHybridJava.dir/build.make Hybrid/CMakeFiles/vtkHybridJava.dir/build<br>
make[2]: Entering directory `/home/sylvain/VTKBuild'<br>
Linking CXX shared library bin/libvtkHybridJava.so<br>
/home/sylvain/MyBin/cmake -E remove -f bin/libvtkHybridJava.a
bin/libvtkHybridJava.so.5.1.0 bin/libvtkHybridJava.so.5.1
bin/libvtkHybridJava.so<br>
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<br>
/usr/bin/ld: cannot find -l-lvtkIO<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [bin/libvtkHybridJava.so] Error 1<br>
make[2]: Leaving directory `/home/sylvain/VTKBuild'<br>
make[1]: *** [Hybrid/CMakeFiles/vtkHybridJava.dir/all] Error 2<br>
make[1]: Leaving directory `/home/sylvain/VTKBuild'<br>
make: *** [all] Error 1<br>