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&nbsp;&nbsp; -shared -Wl,-soname,libvtkHybridJava.so.5.1 -o
bin/libvtkHybridJava.so.5.1.0
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtk3DSImporterJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkArcPlotterJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkAnnotatedCubeActorJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkAxesActorJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkCaptionActor2DJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkCornerAnnotationJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkCubeAxesActor2DJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkDepthSortPolyDataJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkEarthSourceJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkFacetReaderJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkGreedyTerrainDecimationJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkGridTransformJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkImageToPolyDataFilterJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkImplicitModellerJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkIterativeClosestPointTransformJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkLandmarkTransformJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkLegendBoxActorJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkPCAAnalysisFilterJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkPolyDataToImageStencilJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkProcrustesAlignmentFilterJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkProjectedTerrainPathJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkRIBExporterJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkRIBLightJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkRIBPropertyJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkRenderLargeImageJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkThinPlateSplineTransformJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkTransformToGridJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkVRMLImporterJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkVectorTextJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkVideoSourceJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkWeightedTransformFilterJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkXYPlotActorJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkPExodusReaderJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkExodusReaderJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkDSPFilterDefinitionJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkExodusModelJava.o&quot;
&quot;Hybrid/CMakeFiles/vtkHybridJava.dir/vtkDSPFilterGroupJava.o&quot;&nbsp;
-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&nbsp;
-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>