[vtkusers] vtk 4.2 (carbon) on MacOS X Tiger doesn't work

P Bai apbai at yahoo.com
Thu Jul 14 12:53:32 EDT 2005


Thanks both of you for the reply. It works now.

P

--- Sean McBride <sean at rogue-research.com> wrote:

> On 2005-07-14 11:39, Kalpathi Subramanian said:
> 
> >On OSX, you need to build it as a "Mac
> Application". This
> >is what little I know (I am very new to OSX, as
> well):
> >
> >If your executable is called Cone, then create
> >the following tree of directories:
> >
> >Cone.app/Contents/MacOS/Cone
> >
> >where the last Cone is the executable. Then the Mac
> >understands this is an application (or you can
> simply
> >execute the it by typing in the above path from
> >a terminal. Once you do this, all events are
> properly
> >recognized and handled.
> 
> That's exactly right.  The thing is that on Mac OS X
> command line
> applications (like the vtk samples) cannot have a
> GUI (that is, they
> cannot bring up windows).  vtk tries anyway.  And as
> you see it sorta
> works, the window appears, but is broken in many
> ways.
> 
> I wrote up a bug for this, and encourage you to vote
> for it: :)
>
<http://www.vtk.org/Bug/bug.php?op=show&bugid=2025&pos=4>
> 
> The bug has some links to the details, if it
> interests you.
> 
> BTW, a better way to open GUI apps from terminal is:
> 
> open /path/to/MyApp.app
> 
> --
>
____________________________________________________________
> Sean McBride, B. Eng                
> sean at rogue-research.com
> Rogue Research                       
> www.rogue-research.com
> Mac Software Developer              Montréal,
> Québec, Canada
> 
> 
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



More information about the vtkusers mailing list