[vtkusers] Compile VTK4 CVS + Cygwin + Java

Julian Yu-Chung Chen ycc at nchc.gov.tw
Mon Dec 24 04:00:00 EST 2001


Hi all,

I tried to compile VTK4 CVS + Cygwin + Java, though I set jawt.dll path 
in CMakeCache.txt
When compiling it stops at below messages. It seems complaining about 
not found jawt library.
But I did put,

//Where can the jawt library be found
JAVA_AWT_LIBRARY:FILEPATH=/usr/local/java/jre/bin

in CMakeCache.txt.   Any idea?

--- compile err mesgs
make[2]: Entering directory `/home/julian/VTK.build/Rendering'
rm -f libvtkRenderingJava.dll
c++   -shared -g -O2 -mwin32 -o \
  /home/julian/VTK.build/bin/libvtkRenderingJava.dll \
  vtkAbstractMapper3DJava.o vtkAbstractPickerJava.o 
vtkAbstractPropPickerJava.o vtkActorJava.o vtkActorCollectionJava.o 
vtkAssemblyJava.o vtkAxisActor2DJava.o vtkCameraJava.o 
vtkCellPickerJava.o vtkCullerJava.o vtkCullerCollectionJava.o 
vtkDataSetMapperJava.o vtkDirectionEncoderJava.o 
vtkEncodedGradientEstimatorJava.o vtkEncodedGradientShaderJava.o 
vtkExporterJava.o vtkFiniteDifferenceGradientEstimatorJava.o 
vtkFollowerJava.o vtkFrustumCoverageCullerJava.o 
vtkGraphicsFactoryJava.o vtkIVExporterJava.o vtkImageActorJava.o 
vtkImageMapperJava.o vtkImagerJava.o vtkImagerCollectionJava.o 
vtkImageViewerJava.o vtkImageViewer2Java.o vtkImageWindowJava.o 
vtkImagingFactoryJava.o vtkImporterJava.o vtkInteractorStyleJava.o 
vtkInteractorStyleFlightJava.o vtkInteractorStyleImageJava.o 
vtkInteractorStyleJoystickActorJava.o 
vtkInteractorStyleJoystickCameraJava.o vtkInteractorStyleSwitchJava.o 
vtkInteractorStyleTrackballJava.o vtkInteractorStyleTrackballActorJava.o 
vtkInteractorStyleTrackballCameraJava.o vtkInteractorStyleUnicamJava.o 
vtkInteractorStyleUserJava.o vtkLODActorJava.o vtkLODProp3DJava.o 
vtkLabeledDataMapperJava.o vtkLightJava.o vtkLightCollectionJava.o 
vtkLightKitJava.o vtkMapperJava.o vtkMapperCollectionJava.o 
vtkOBJExporterJava.o vtkOOGLExporterJava.o 
vtkParallelCoordinatesActorJava.o vtkPickerJava.o vtkPointPickerJava.o 
vtkPolyDataMapperJava.o vtkPolyDataMapper2DJava.o vtkProp3DJava.o 
vtkProp3DCollectionJava.o vtkPropPickerJava.o vtkPropertyJava.o 
vtkRayCasterJava.o vtkRecursiveSphereDirectionEncoderJava.o 
vtkRenderWindowJava.o vtkRenderWindowCollectionJava.o 
vtkRenderWindowInteractorJava.o vtkRendererJava.o 
vtkRendererCollectionJava.o vtkRendererSourceJava.o 
vtkScalarBarActorJava.o vtkScaledTextActorJava.o 
vtkSelectVisiblePointsJava.o vtkTextMapperJava.o vtkTextureJava.o 
vtkVRMLExporterJava.o vtkVolumeJava.o vtkVolumeCollectionJava.o 
vtkVolumeMapperJava.o vtkVolumeProMapperJava.o vtkVolumePropertyJava.o 
vtkVolumeRayCastCompositeFunctionJava.o vtkVolumeRayCastFunctionJava.o 
vtkVolumeRayCastIsosurfaceFunctionJava.o 
vtkVolumeRayCastMIPFunctionJava.o vtkVolumeRayCastMapperJava.o 
vtkVolumeTextureMapperJava.o vtkVolumeTextureMapper2DJava.o 
vtkWorldPointPickerJava.o  -L/home/julian/VTK.build/bin/ 
-L/usr/local/java/jre/bin -lvtkCommonJava -lvtkFilteringJava 
-lvtkImagingJava -lvtkGraphicsJava -lgdi32 -lm -lopengl32 -lvtkCommon 
-lvtkFiltering -lvtkImaging -lvtkGraphics -lvtkRendering
vtkRenderWindowJava.o: In function `Java_vtkPanel_RenderCreate':
/home/julian/VTK/Common/vtkJavaAwt.h:18: undefined reference to 
`_imp__JAWT_GetAWT at 8'
vtkRenderWindowJava.o: In function `Java_vtkPanel_RenderInternal':
/home/julian/VTK/Common/vtkJavaAwt.h:90: undefined reference to 
`_imp__JAWT_GetAWT at 8'
vtkRenderWindowJava.o: In function `Java_vtkPanel_SetSizeInternal':
/home/julian/VTK/Common/vtkJavaAwt.h:137: undefined reference to 
`_imp__JAWT_GetAWT at 8'
vtkRenderWindowJava.o: In function `Java_vtkPanel_LockAndExecuteVoidMethod':
/home/julian/VTK/Common/vtkJavaAwt.h:206: undefined reference to 
`_imp__JAWT_GetAWT at 8'
collect2: ld returned 1 exit status
make[2]: *** [/home/julian/VTK.build/bin/libvtkRenderingJava.dll] Error 1
make[2]: Leaving directory `/home/julian/VTK.build/Rendering'
make[1]: *** [build_Rendering] Error 2
make[1]: Leaving directory `/home/julian/VTK.build'
make: *** [default_target] Error 2
---





More information about the vtkusers mailing list