[vtkusers] Compile VTK4 CVS + Cygwin + Java
J.A. Lee
jeff at cdnorthamerica.com
Thu Dec 27 09:10:45 EST 2001
Sorry, I think it should be
JAVA_AWT_LIBRARY:FILEPATH=/usr/local/java/jre/lib/i386/libjawt.dll or
some variant of that. You can check your java installation to see if
that is correct.
I forgot about windows...
J.A. Lee wrote:
> JAVA_AWT_LIBRARY_PATH is incorrect. it should be something like
> /usr/local/java/jre/lib/i386/libjawt.so
>
> Julian Yu-Chung Chen wrote:
>
>> 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
>> ---
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages
>> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages
> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list