Mac OS X Newbie

Hello,

Now I am trying just to get a simple SDL example to compile on Mac OS X. I
am fairly certain I have ProjectBuilder configured properly with the SDL
Framework and all. Nevertheless, I keep getting the following error:

BuildPhase CAPLE.app
Completed phase for CAPLE.app
Rez /Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE
File “/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h”;
Line 12; ### /Developer/Tools/Rez - SysError 0 during open of
"ConditionalMacros.h".
Fatal Error!
File “/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h”;
Line 12; ### /Developer/Tools/Rez - Fatal Error, can’t recover.
File “ConditionalMacros.h”; ### /Developer/Tools/Rez - Since errors
occurred,
/Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE’s
resource fork was not completely updated.
File “ConditionalMacros.h”; ### /Developer/Tools/Rez - SysError -43 during
set file info.

/Developer/Tools/Rez  "main.r"  "-append" "-d" "SystemSevenOrLater=1"  

-o “/Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE”

…failed Rez
/Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE …
…removing
/Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE

Any help is greatly appreciated. I am including the main.cpp file I am
trying to build.

James>From: “Jim Belushi” <@Jim_Belushi>

Reply-To: sdl at libsdl.org
To: sdl at libsdl.org
Subject: Re: [SDL] Mac OS X Framework Build Problem
Date: Thu, 12 Sep 2002 15:15:32 +0000

Arne,

Thanks. I’ll try the easy route now :slight_smile:

James

From: Arne
Reply-To: sdl at libsdl.org
To: sdl at libsdl.org
Subject: Re: [SDL] Mac OS X Framework Build Problem
Date: Thu, 12 Sep 2002 17:07:47 +0200

Why so complicated?

  1. Install the developer Tools
  2. Install the SDL-Devel package
  3. (there is no step 3 lol - no - now there is) Create a "SDL Application"
    Project.

That’s it.
The SDL Package will be installed into one of your framework folders (e.g.
the one in your home library).
You don’t really have to compile the framework =)

Ciao Arne


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Join the world?s largest e-mail service with MSN Hotmail.
http://www.hotmail.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Chat with friends online, try MSN Messenger: http://messenger.msn.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: main.cpp
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020912/e22689a2/attachment.txt

Sorry but I just answered my own question. I had a file called 'main.r’
under my Resources tab. Guess it’s used for Coca apps or something. I
simply removed it from my project and was able to build successfully after
that. Now it’s a good day :-)>From: “Jim Belushi” <@Jim_Belushi>

Reply-To: sdl at libsdl.org
To: sdl at libsdl.org
Subject: Re: [SDL] Mac OS X Newbie
Date: Thu, 12 Sep 2002 22:45:17 +0000

Hello,

Now I am trying just to get a simple SDL example to compile on Mac OS X. I
am fairly certain I have ProjectBuilder configured properly with the SDL
Framework and all. Nevertheless, I keep getting the following error:

BuildPhase CAPLE.app
Completed phase for CAPLE.app
Rez /Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE
File
"/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h";
Line 12; ### /Developer/Tools/Rez - SysError 0 during open of
"ConditionalMacros.h".
Fatal Error!
File
"/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h";
Line 12; ### /Developer/Tools/Rez - Fatal Error, can’t recover.
File “ConditionalMacros.h”; ### /Developer/Tools/Rez - Since errors
occurred,
/Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE’s
resource fork was not completely updated.
File “ConditionalMacros.h”; ### /Developer/Tools/Rez - SysError -43 during
set file info.

/Developer/Tools/Rez “main.r” “-append” “-d” “SystemSevenOrLater=1”
-o “/Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE”

…failed Rez
/Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE …
…removing
/Users/jcaple/development/src/projects/CAPLE.app/Contents/MacOS/CAPLE

Any help is greatly appreciated. I am including the main.cpp file I am
trying to build.

James

From: “Jim Belushi” <@Jim_Belushi>
Reply-To: sdl at libsdl.org
To: sdl at libsdl.org
Subject: Re: [SDL] Mac OS X Framework Build Problem
Date: Thu, 12 Sep 2002 15:15:32 +0000

Arne,

Thanks. I’ll try the easy route now :slight_smile:

James

From: Arne
Reply-To: sdl at libsdl.org
To: sdl at libsdl.org
Subject: Re: [SDL] Mac OS X Framework Build Problem
Date: Thu, 12 Sep 2002 17:07:47 +0200

Why so complicated?

  1. Install the developer Tools
  2. Install the SDL-Devel package
  3. (there is no step 3 lol - no - now there is) Create a “SDL
    Application” Project.

That’s it.
The SDL Package will be installed into one of your framework folders
(e.g. the one in your home library).
You don’t really have to compile the framework =)

Ciao Arne


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Join the world?s largest e-mail service with MSN Hotmail.
http://www.hotmail.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Chat with friends online, try MSN Messenger: http://messenger.msn.com
<< main.cpp >>


Chat with friends online, try MSN Messenger: http://messenger.msn.com