Hello,
I’m working on a simple game using SDL. Started creating it on Windows 2000
using VC++ 6.0 I now want to get a feel for how to port what I have to Mac
OS X (10.1). My first steps were to install the developer tools from Apple
Developer Connection (ADC). I now have cc,c++, ProjectBuilder, etc. (I am
new to the Mac).
Next, following Sam’s instructions in the README.macosx for SDL-1.2.4, I
need to build the SDL Framework, which is the equivalent of a shared library
I take it. I used ProjectBuilder (1.1.1) to open SDL.pbproj and then tried
to build it. Everything seemed to go fine until the end. Any help building
the framework is appreciated!! The error I got was:
BuildPhase SDL.framework
Completed phase for SDL.framework
MasterObjectFile.Combine
/Users/jcaple/development/src/projects/tmp/SDL.build/Framework.build/master.o
MasterObjectFile.EditExports
/Users/jcaple/development/src/projects/tmp/SDL.build/Framework.build/master.o
DynamicLibrary
/Users/jcaple/development/src/projects/SDL.framework/Versions/A/SDL
Mkdir /Users/jcaple/development/src/projects/SDL.framework
SymLink /Users/jcaple/development/src/projects/SDL.framework/SDL
SymLink /Users/jcaple/development/src/projects/SDL.framework/SDL
BuildPhase SDL.framework
Completed phase for SDL.framework
BuildPhase SDL.framework
Completed phase for SDL.framework
PhaseScriptExecution
/Users/jcaple/development/src/projects/tmp/SDL.build/Framework.build/BPTag005-script.sh
=== Script ===
#!/bin/sh
make sure only public API’s are exported
nmedit -s …/…/src/main/macosx/SDL.x
build/SDL.framework/Versions/Current/SDL
make frameworks directory if it doesn’t already exist
mkdir -p ~/Library/Frameworks
delete the old framework
rm -rf ~/Library/Frameworks/SDL.framework
copy framework to its home
/Developer/Tools/CpMac -r build/SDL.framework
~/Library/Frameworks/SDL.framework
precompile header for speedier compiles
/usr/bin/cc -precomp ~/Library/Frameworks/SDL.framework/Headers/SDL.h -o
~/Library/Frameworks/SDL.framework/Headers/SDL.p
— Output —
failed to resolve one of the sources (-43)
cc: /Users/jcaple/Library/Frameworks/SDL.framework/Headers/SDL.h: No such
file or directory
cc: No input files
=== Exit code: 1 ===
echo "=== Script ==="
cat
"/Users/jcaple/development/src/projects/tmp/SDL.build/Framework.build/BPTag005-script.sh"
echo “— Output —”
“/Users/jcaple/development/src/projects/tmp/SDL.build/Framework.build/BPTag005-script.sh”
_result=$?
echo "=== Exit code: ${_result} ==="
exit ${_result}
…failed PhaseScriptExecution
/Users/jcaple/development/src/projects/tmp/SDL.build/Framework.build/BPTag005-script.sh
…
Thanks for your help,
James_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com