[vtkusers] error compiling VTK with Java wrappings, OS X

Sean McBride sean at rogue-research.com
Mon Apr 28 13:57:38 EDT 2008


On 4/28/08 1:48 PM, Timothy Driscoll said:

>On Apr 28, 2008, at 1:34 PM, Sean McBride wrote:
>
>> On 4/28/08 10:52 AM, Timothy Driscoll said:
>>
>>> /bin/sh: line 1: System/Library/Frameworks/JavaVM.framework/Commands/
>>> javac: No such file or directory
>>
>> And does that file exist on your machine?  It does on mine.
>>
>
>
>Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/all does not exist, no.   
>my problem is I don't know why, or how to 'make' it exist (if you'll  
>pardon the expression).  these are all generated automagically by  
>ccmake, yes?
>
>
>
>>> I am trying to compile the latest cvs version of VTK on OS X  
>>> (10.4.11), but I keep running afoul of the following error:
>>>
>>> [ 58%] Generating ../../java/vtk/vtkAbstractArray.class
>>> /bin/sh: line 1: System/Library/Frameworks/JavaVM.framework/ 
>>> Commands/javac: No such file or directory
>>> make[2]: *** [java/vtk/vtkAbstractArray.class] Error 127
>>> make[1]: *** [Wrapping/Java/CMakeFiles/VTKJavaCommon.dir/all] Error 2
>>> make: *** [all] Error 2
>>>

I'm pretty sure the error means that /System/Library/Frameworks/
JavaVM.framework/Commands/javac does not exist.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtkusers mailing list