[vtkusers] Errors compiling on MacOS X 10.2.3 with Java wrapper
Peter J Carr
pjc at hootenanny.org
Tue Feb 11 11:16:20 EST 2003
Here is my setting for the java awt library from my CMakeCache.txt:
JAVA_AWT_LIBRARY:FILEPATH=-framework JavaVM -framework JavaEmbedding
- Peter Carr
On Tuesday, February 11, 2003, at 06:32 AM, Carlos Martínez Burgos
wrote:
> 7. Run "ccmake" to enable Java wrapper.
> I get some errors referring to some unknown variables to compile
> with
> Java. These variables are (JAVA_AWT_INCLUDE_PATH, JAVA_INCLUDE_PATH and
> JAVA_INCLUDE_PATH2). I set these variables to these values (on
> CMakeCache.txt file):
> - JAVA_AWT_INCLUDE_PATH:
> /System/Library/Frameworks/JavaEmbedding.framework/Headers
> - JAVA_INCLUDE_PATH:
> /System/Library/Frameworks/JavaVM.framework/Headers
> - JAVA_INCLUDE_PATH2:
> /System/Library/Frameworks/JavaVM.framework/Headers
>
> (When I edited this file, I saw another unknown variable that I
> think
> could cause the problem. It is JAVA_AWT_LIBRARY. Look at attached
> file.)
>
> 8. Build VTK ending with this error:
>
> Building shared library
> /usr/local/src/VTK/bin/libvtkRenderingJava.dylib...
> ld: Undefined symbols:
> _JAWT_GetAWT
> /usr/bin/libtool: internal link edit command failed
> make[3]: *** [/usr/local/src/VTK/bin/libvtkRenderingJava.dylib] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Rendering] Error 2
> make: *** [default_target] Error 2
>
More information about the vtkusers
mailing list