[Bf-committers] Help Moving Code: QT
Tue, 9 Sep 2003 17:50:51 -0700 (PDT)
You can pretty safely #undef ID after you include any quicktime
headers, but before you include local blender headers. I seem to
remember a similar problem in Allegro, and #undefing ID worked just
fine. IIRC, the ID define is just an alias for a simple type anyway...
Long story short, unless you're using quicktime's ID definition you can
just remove it.
--- Douglas Bischoff <email@example.com> wrote:
> Hello, all:
> Okay, I've tried to do this myself and have not had any success.
> Something has changed with the latest Apple system update for MacOS X
> 10.2.6 that now causes a conflict to come up when trying to compile
> creator.c with Quicktime enabled.
> The problem is in the code in creator.c that initializes Quicktime.
> particular, including the header file "movie.h" defines a duplicate
> instance of the struct "ID" from makesDNA.
> The solution, aside from disabling Quicktime with
> is apparently to move the initializing code (and thus the need for
> movie.h include) from creator.c to somewhere in the imbuf code.
> But where?
> I'm not sure how to proceed with this, and the experts I was pointed
> don't have time to work on this. Seems relatively straightforward,
> I haven't had any luck with moving it to various areas.
> Anyone have any ideas?
> Bf-committers mailing list