[vtk-developers] Java build problem on Intel Macs
david.cole at kitware.com
Thu Sep 21 16:12:45 EDT 2006
Since no one's answered... let's try it out empirically:
If you take away the "JavaEmbedding.framework" ... can you get it to
link and run ok?
Sean McBride wrote:
>I'm looking at a problem with my nightly vtk build:
>[ 98%] Building CXX object Wrapping/Java/CMakeFiles/
>Linking CXX executable ../../bin/VTKJavaExecutable
>/usr/bin/ld: for architecture i386
>/usr/bin/ld: warning /Developer/SDKs/MacOSX10.4u.sdk//System/Library/
>Frameworks/JavaEmbedding.framework/JavaEmbedding cputype (18,
>architecture ppc) does not match cputype (7) for specified -arch flag:
>i386 (file not loaded)
>I believe it's saying that I'm asking to link a ppc-only framework to an
>i386 executable. I have confirmed on several machines that
>JavaEmbedding.framework is definitely ppc-only.
>I know almost nothing about Java, but found this on Apple's site:
>it says "The Java Embedding framework is deprecated in Mac OS X v10.4
>and should no longer be used. Carbon applications can use the Netscape
>4.0 style plugin in Java Applet.plugin, found in /Library/Internet Plug-
>Ins/. Cocoa applications should use the JavaPluginCocoa.bundle with the
>Web Kit plugin interface available in Mac OS X v10.4."
>Anyone know more on this topic? Anyone building VTK with Java on an
>Intel Mac (it seems mine is the only dashboard that does!)? What does
>vtk need JavaEmbedding.framework for?
More information about the vtk-developers