From: <sh...@ms...> - 2010-03-04 03:19:38
|
I was having the same problems trying to compile the 0.10.x branch. The header file c.h is part of the 10.4 SDK, which is not installed by default when installing Xcode on 10.6. If you don't have the 10.4 SDK installed, then the compilation will fail as you've noticed. Without installing the SDK, you can fix the problem by removing the #include statement for c.h, and replacing a call to the MIN function on line 225 of CFGrowlAdditions.c with a simple comparison to pick the minimum value. Everything else proceeded to compile correctly once I told Xcode to specifically target 10.5 or 10.6. The default target is 10.4. Hope this helps, --Shawn > Trying to compile a build of iTerm to implement some changes I'm > interested in. Building trunk fails, tho, no matter whether I use > make(1) or Xcode: > > % make > > xcodebuild -alltargets -configuration Development && \ chmod -R go+rX > build/Development > > === BUILD NATIVE TARGET Growl OF PROJECT iTerm WITH CONFIGURATION > === Development === > Check dependencies error: There is no SDK with the name or path > 'macosx10.4' [BEROR]error: There is no SDK with the name or path > 'macosx10.4' ** BUILD FAILED ** > > make: *** [Development] Error 1 > > Xcode dies on the #include for <c.h> in CFGrowlAdditions.c > > I tried Base SDK, Mac OS X 10.5, and Mac OS X 10.6. > > Any help? |