[Bf-committers] QuickTime on OS X

Stefan Gartner bf-committers@blender.org
Mon, 5 May 2003 17:46:44 +0200


I guess we could move the qt-related code in usiblender.c to some file in 
source/blender/quicktime/ as those don't seem to include DNA_*.h (the same 
probably should be done for creator.c as well). Dunno if that fixes the 
problem, though.

sgefant

On Monday 05 May 2003 16:53, Ton Roosendaal wrote:
> Hi,
>
> Hurms... officially such code should be written as an independent
> library.
> The movie.h and .c file were originally only for SGI (NeoGeo days).
> They're not at the right location in the code.
>
> A simple solution would be moving it to 'imbuf'. That is a true
> library, with no Blender dependencies. There you can include safely the
> carbon.h as well.
> We might expand the 'imbuf' definition to 'media in/out' library. So it
> will include audio then as well. Still not nice... the imbuf design is
> quite old.
>
> You can also do an "#undef ID" after the carbon.h, and then call the
> blender include files... as a temporal solution though.
>
> -Ton-
>
>
>
>
>
> On Monday, May 5, 2003, at 16:42 Europe/Amsterdam, Douglas Bischoff
>
> wrote:
> > On Monday, May 5, 2003, at 10:35 AM, Ton Roosendaal wrote:
> >> Including carbon .h files for blender itself seems to me very
> >> dangerous...
> >
> > FWIW there are a number of compiler warnings about precompiled headers
> > not matching included headers during compile. If there is a way to get
> > around using carbon.h itself (does movie.h hold enough of what is
> > needed?) this does sound like the best approach to maintain
> > cross-platform-ness.
> >
> > Not an expert,
> >
> > -Bischofftep
> >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers@blender.org
> > http://www.blender.org/mailman/listinfo/bf-committers
>
> ------------------------------------------------------------------------
> --
> Ton Roosendaal  Blender Foundation ton@blender.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers