Hi Gregory, Could you try moving the avcodec/avformat includes in MKMediaFile.h to the top of the file, above the NSObject import?
The GNUstep header undef's ABS if it is already defined, before defining its own, so that might help. Which OS/package are you using for libavcodec/libavformat? My copy doesn't have the common.h file, so one of us may have an older or newer version (I'm using debian testing at the moment.) Thanks Eric On Sat, May 16, 2009 at 7:43 AM, Gregory Casamento <[email protected]> wrote: > Hey guys... I'm running into the following issue... > > Making all for framework MediaKit... > Compiling file MKMediaFile.m ... > In file included from /usr/include/ffmpeg/avutil.h:24, > from /usr/include/ffmpeg/avcodec.h:14, > from MKMediaFile.h:5, > from MKMediaFile.m:1: > /usr/include/ffmpeg/common.h:175:1: error: "ABS" redefined > In file included from > /usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h:32, > from > /usr/GNUstep/System/Library/Headers/Foundation/NSObject.h:31, > from MKMediaFile.h:1, > from MKMediaFile.m:1: > /usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h:129:1: error: this > is the location of the previous definition > > GC > > _______________________________________________ > Etoile-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-discuss > _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
