[vtkusers] Mac OS X, Java guru needed, please.
Kenneth Sloan
kennethrsloan at gmail.com
Thu Jan 25 22:06:06 EST 2007
On Jan 25, 2007, at 7:08 PM, Mike Jackson wrote:
> I built everything (java and vtk) on a MacBook Pro. Just for the
> record. And it all seemed to work.
>
> Are you still having trouble getting the Java Wrapping to work?
I've been swamped by other tasks. It *looks* as if your last few e-
mails have enough info for me to get it to work - but I haven't
actually done it, yet. right now, I'm on the road and don't have the
necessary uninterrupted block of time necessary to make progress on
it (and carefully document what I'm doing...)
I just wanted to chime in and say that it's not as simple as just
setting the right parameters in ccmake - and I'm hoping that the
kitware folk will come up with a fix that makes it "turn-key" on Mac
Book Pros.
Manually editing the link.txt file is already just a bit less than
convenient (and yes, I know I'm whining).
Sean asked if it didn't build, and what we thought the difference
was. My answers: no - it doesn't build (out of the box, without
manually editing files) and my guess is that it's a G5 vs Intel
issue. Just a guess.
>
> --
> Mike Jackson Senior Research Engineer
> Innovative Management & Technology Services
>
>
> On Jan 25, 2007, at 5:34 PM, Kenneth Sloan wrote:
>
>>
>> On Jan 18, 2007, at 11:51 AM, Sean McBride wrote:
>>
>>> On 2007-01-18 11:43, Mike Jackson said:
>>>
>>>> And just following up with what I did to get Java/Vtk working
>>>> together:
>>>>
>>>> I am guessing somewhere in the CMakeLists.txt files for vtk
>>>> there is
>>>> a missing link library (-framework JavaVM) for those that need
>>>> it. I
>>>> manually edited the link.txt file to add this and the compile went
>>>> ok. As far as changing values in ccmake I changed the following:
>>>>
>>>> Build Shared libs: ON
>>>> Build Cocoa: ON (Java 1.4 and above in OS X is based on Cocoa, NOT
>>>> Carbon.. although I would think Carbon might work also since
>>>> VTKJava
>>>> is simply passing through JNI for the calls)
>>>> RPATH: ON
>>>> Testing: OFF
>>>> Examples: OFF
>>>> Java Wrapping: ON
>>>> Carbon: OFF
>>>> X: OFF
>>>
>>> This thread is getting confusing. :) If I understand right, you are
>>> saying, basically, that there is a bug in vtk making it
>>> impossible to
>>> build in this particular configuration, right?
>>>
>>> If so, it is disturbing that no dashboard has detected this!
>>>
>>> This one: <http://www.vtk.org/Testing/Sites/midworld.kitware/
>>> DarwinG5-c+
>>> +-cocoa/20070118-0300-Nightly/Notes.html> has:
>>>
>>> Build Shared libs: ON
>>> Build Cocoa: ON
>>> RPATH: whatever default is (OFF i think)
>>> Testing: ON
>>> Examples: ON
>>> Java Wrapping: ON
>>> Carbon: OFF
>>> X: default (OFF)
>>>
>>> And it builds fine. What do you think is making the difference?
>>
>> Well, for one thing - if I'm reading this correctly, the above
>> dashboard build was done on a G5.
>>
>> the problems I'm seeing are on a Mac Book Pro (an Intel-based Mac).
>>
>> I don't know how much this matters.
>>
>>
>> --
>> Kenneth Sloan
>> KennethRSloan at gmail.com
>> Computer and Information Sciences
>> +1-205-934-2213
>> University of Alabama at Birmingham FAX +1-205-934-5473
>> Birmingham, AL 35294-1170 http://www.cis.uab.edu/
>> sloan/
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list.Please keep messages on-
>> topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
Kenneth Sloan
KennethRSloan at gmail.com
Computer and Information Sciences +1-205-934-2213
University of Alabama at Birmingham FAX +1-205-934-5473
Birmingham, AL 35294-1170 http://www.cis.uab.edu/sloan/
More information about the vtkusers
mailing list