[MINC-users] Problem with building application on Mac

Andrew Janke a.janke at gmail.com
Wed Apr 5 16:50:01 EDT 2006


Actually, make that:

#define VIO_PREFIX_NAMES 1

I had GTK on my brain.

a

On 4/5/06, Andrew Janke <a.janke at gmail.com> wrote:
> Correct, there has been a recent effort to make sure that volume_io
> (and thus MINC) does not do so much name space pollution as in the
> past.
>
> In order to make full use of this (And in a new application) be sure to
>
>   #define DISABLE_DEPRECATED
>
> Somewhere and the older style decs, (Point, X, Y, etc) are done away with.
>
>
> a
>
> On 4/5/06, Sean McBride <sean at rogue-research.com> wrote:
> > On 2006-04-05 17:23, Ed Gronenschild said:
> >
> > >I'm trying to make use of the BIC Volume IO Library in a Mac OSX
> > >application,
> > >for instance to import a MINC volume. I'm using XCode and the problem
> > >is that
> > >in one of the include files, namely geom_structs.h, the data type
> > >Point is declared
> > >which conflicts with the same name of a data type declared in the Mac
> > >Toolbox.
> > >Does anybody know how to solve this?
> >
> > What version of MINC are you using?  In 1.4, all your questions are
> > answered in geom_structs.h itself.  Basically, use VIO_Point, not Point.
> >
> > --
> > ____________________________________________________________
> > Sean McBride, B. Eng                 sean at rogue-research.com
> > Rogue Research                        www.rogue-research.com
> > Mac Software Developer              Montréal, Québec, Canada
> >
> >
> >
> > _______________________________________________
> > MINC-users at bic.mni.mcgill.ca
> > http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> >
>
>
> --
> Andrew Janke      (a.janke at gmail.com || www.cmr.uq.edu.au/~rotor)
> Canada->Montreal                                   Cell: +1 (514) 924 2012
>


--
Andrew Janke      (a.janke at gmail.com || www.cmr.uq.edu.au/~rotor)
Canada->Montreal                                   Cell: +1 (514) 924 2012



More information about the MINC-users mailing list