[vtkusers] [Re] vtk 4.2 (carbon) on MacOS X Tiger doesn't work
Nono BEZMan
nonobezman at yahoo.com
Thu Jun 23 18:54:05 EDT 2005
Sean,
It indeed looks like I might need luck, and a lot ;-(
I have tried to compile cvs VTK with Tiger (and Java
wrapping) for months now to no avail.
Your comments brought hope, but unfortunately I am
stuck again with one of the old bugs coming from using
gcc 4.0 (your message suggested that it should have
compiled fine with gcc 4.0, so I remove the hack from
CMakeDefaultMakeRuleVariables.cmake):
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_divdi3.o)
private external definition of ___divdi3 in section
(__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_divdi3.o)
definition of ___divdi3
I will try to change the
CMakeDefaultMakeRuleVariables.cmake again (and add the
AND NOT APPLE hack) to where I go, but I do think I
will be stuck with a bunch of compile error again.
Sean, if you happen to have some libs for Mac (of the
cvs version), using Carbon (and hopefully Java), I'll
take them as I am quite desperate to see anything work
on Mac any day soon.
Otherwise, how do you precisely go about compiling it
under Tiger: do you midify the vtkJavaAwt.h, the
CMakeDefaultMakeRuleVariables.cmake, etc..????
Thanks very much for your contribution.
> > From: P Bai <apbai at yahoo.com>
> To: vtkusers at vtk.org
> Date: Wed, 22 Jun 2005 10:46:26 -0700 (PDT)
> Subject: [vtkusers] vtk 4.2 (carbon) on MacOS X
> Tiger doesn't work
>
> Hi!
>
> I was trying vtk 4.2 Carbon on MacOs X Tiger. I have
> to use Carbon because the gui tool I'm using need
> Carbon. Here's what I got -
>
> -No problem compiling and running the sample code
> with
> vtk 4.2 Cocoa (but that's not what I want!)
> -With gcc 4.0, the Carbon source code doesn't
> compile.
>
> -With gcc 3.3, the Carbon source compiled fine. But
> when I run the Rendering Cxx sample, it doesn't
> work.
> The window showed up but with nothing in it. And I
> was
> unable to even move the window.
> -Tried 4.4 source code, same problem.
>
> So I wonder if anyone had any luck getting it work?
> If
> so, can you tell me what you did?
>
> Thanks and have a good day!
>
> PB
>
>
>
>
> ____________________________________________________
>
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football
>
> http://football.fantasysports.yahoo.com
>
> > From: "Sean McBride" <sean at rogue-research.com>
> CC:
> To: "P Bai" <apbai at yahoo.com>, <vtkusers at vtk.org>
> Date: Wed, 22 Jun 2005 14:07:57 -0400
> Subject: Re: [vtkusers] vtk 4.2 (carbon) on MacOS X
> Tiger doesn't work
>
> On 2005-06-22 10:46, P Bai said:
>
> >-Tried 4.4 source code, same problem.
> >
> >So I wonder if anyone had any luck getting it work?
> If
> >so, can you tell me what you did?
>
> I had the same problems when I started with vtk the
> other week. I
> submitted some fixes (that were accepted). If you
> get the current code
> from CVS, vtk builds with both gcc 3.3 and 4.0 for
> both carbon and
> cocoa, with no warnings or errors.
>
> good luck!
>
> --
>
____________________________________________________________
> Sean McBride, B. Eng
> sean at rogue-research.com
> Rogue Research
> www.rogue-research.com
> Mac Software Developer Montréal,
> Québec, Canada
>
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
More information about the vtkusers
mailing list