[vtkusers] Compiling VTK + Java under cygwin, JAVA_AWT_LIBRARY

Lars Matthäus lars.matthaeus at web.de
Wed Mar 8 06:14:56 EST 2006


Hi,

has anybody managed to compile VTK under cygwin? I could resolve some 
issues but I'm left with a linker problem:

Linking CXX shared library ../bin/libvtkRenderingJava.dll
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
cannot find -ljawt.lib

The file jawt.lib exists and its location is specified in CMakeCache.txt:
...
//Where can the jawt library be found
JAVA_AWT_LIBRARY:FILEPATH=/cygdrive/c/Programme/Java/jdk1.5.0_06/lib/jawt.lib
...

I would be very glad for any suggestions!

Regards
Lars



More information about the vtkusers mailing list