Re: [Musickit-developer] Compiling SndKit 2.1.0 from source on Mac OS X 10.1.2
Brought to you by:
leighsmith
From: Stephen B. <st...@br...> - 2002-01-05 22:21:57
|
Hi Christian, The first thing to mention is that although there are standard "Makefile"s in most of the framework directories, "make" is not the tool to use for all targets. In the case of MacOSX, the compilation system has switched to pbxbuild, thus: pbxbuild sudo pbxbuild install INSTALL_ROOT=/ It would also be advisable to get the latest CVS versions of all the frameworks - a lot has been done to the frameworks since the last release. They are already in the new ProjectBuilder (although not yet in the December developer release, if that's a new version of PB, but that's unlikely to matter much). Please report on any other successes or failures you have - active development is going on and bugs can be addressed readily. Cheers, Stephen Brandon st...@br... On Saturday 05 Jan 2002 9:53 pm, Christian Brunschen wrote: > Hi, and Happy new Year! > > I'm trying to compile SndKit (well, all of MusicKit) from source - I've > retrieved the latest source bundles from sourceforge.net (MusicKit 5.4.0 > and SndKit 2.1.0), and I am following he installation instructions at > <http://www.musickit.org/works.html>, but I can't seem to get SndKit to > compile. Running 'make -f Makefile' from the command line, I get > > --- begin error messages --- > /usr/bin/cc -arch ppc -O -Wmost -precomp-trustfile > /usr/local/src/SndKit-2.1.0/Frameworks/SndKit/SndKit.build/derived_src/Trus >tedPrecomps.txt -g -fno-common > -I/usr/local/src/SndKit-2.1.0/Frameworks/SndKit/SndKit.build/ProjectHeaders > -I/usr/local/src/SndKit-2.1.0/Frameworks/SndKit/SndKit.framework/Versions/1 >.3/PrivateHeaders > -I/usr/local/src/SndKit-2.1.0/Frameworks/SndKit/SndKit.framework/Versions/1 >.3/Headers > -I/usr/local/src/SndKit-2.1.0/Frameworks/SndKit/SndKit.build/derived_src > -I. -pipe -F/usr/local/src/SndKit-2.1.0/Frameworks/SndKit > -I/usr/local/include -F/Library/Developer/Frameworks > -F/System/Library/PrivateFrameworks -O2 -ObjC -c -o > /usr/local/src/SndKit-2.1.0/Frameworks/SndKit/SndKit.build/objects-optimize >d/SndFunctions.ppc.o SndFunctions.m > SndFunctions.m:1056: undefined type, found `LONG' > SndFunctions.m:1118: illegal expression, found `)' > SndFunctions.m:1118: illegal expression, found `)' > SndFunctions.m:1125: illegal function call, found `256' > cpp-precomp: warning: errors during smart preprocessing, retrying in basic > mode > SndFunctions.m: In function `SndRead': > SndFunctions.m:1056: `LONG' undeclared (first use in this function) > SndFunctions.m:1056: (Each undeclared identifier is reported only once > SndFunctions.m:1056: for each function it appears in.) > SndFunctions.m:1056: `readBuffer' undeclared (first use in this function) > SndFunctions.m:1056: warning: statement with no effect > SndFunctions.m:1057: parse error before `char' > SndFunctions.m:1118: parse error before `)' > SndFunctions.m:1123: `storePtr' undeclared (first use in this function) > SndFunctions.m:1125: parse error before `256' > SndFunctions.m:1128: `i' undeclared (first use in this function) > SndFunctions.m:1129: warning: implicit declaration of function `RIGHT' > SndFunctions.m:1141: warning: array subscript has type `char' > SndFunctions.m:1142: warning: array subscript has type `char' > SndFunctions.m:1143: warning: long unsigned int format, st_rate_t arg (arg > 2) > SndFunctions.m:1052: warning: `lenRead' might be used uninitialized in > this function > SndFunctions.m: In function `SndReadSoundfile': > SndFunctions.m:1172: `READBINARY' undeclared (first use in this function) > make: *** > [/usr/local/src/SndKit-2.1.0/Frameworks/SndKit/SndKit.build/objects-optimiz >ed/SndFunctions.ppc.o] Error 1 > --- end error messages --- > > ... which seem to stem from some missing macros or similar: 'LONG', > 'RIGHT' and 'READBINARY' to be precise. I'm guessing they're supposed to > be macros rather than types & functions, since they're spelled in all > caps. I've also tried importing the SndKit project into the new Project > Builder and compiling it there, and I get the same errors. What am I > missing? > > In a similar vein, the reason I am trying to compile from source is that I > find the binary distribution that's available at sourceforge a bit > peculiar: it seems to include both versions 5.3 _and_ 5.4 of the > frameworks - and the 'Current' link in MusicKit.framework/Versions points > to 5.3, which surprised me somewhat. > > I believe I have R:ed as much of TFM as I can find, but if you can point > out what I've missed I'd be glad to consult the pertinent passages more > closely :) > > Best wishes, > > // Christian Brunschen > > > _______________________________________________ > Musickit-developer mailing list > Mus...@li... > https://lists.sourceforge.net/lists/listinfo/musickit-developer |