Re: Interpreting "undefined symbols"
Re: Interpreting "undefined symbols"
- Subject: Re: Interpreting "undefined symbols"
- From: Philip Aker <email@hidden>
- Date: Sun, 16 Dec 2007 09:12:26 -0800
On 2007-12-16, at 08:50:01, Adam wrote:
Chances are this is a variant of the SDL OpenGL App project and
you tried to adapt it to your needs by changing a few names here
and there and thinking you could bypass the layer of 'main'
shenanigans SDL uses to work in a Cocoa app.
That's not going to work because at minimum you have to coordinate
the product and executable name change with the items in the
Info.plist of the target so that the resulting application has
Info.plist and InfoPlist.strings files with a valid ExecutableName/
BundleName values.
Then there's the 'main' stuff. I wouldn't recommend anything other
than finding the 'main' in the atlantis files and snapping your
code in there for this type of project.
OTOH, there is another example Xcode application in one or another
of the SDL distributions which has many targets. One of those
might be better for your purposes if you don't need the Cocoa.
...but this is what I've been working with forever! Really, these
are the same files that I've used since the last time I bugged you
guys back in September. And the weird thing is, I made a few simple
modifications to the code (and nothing to the main() function) and
now it doesn't work. Was there some sort of auto-update to Xcode
that could be messing me up? Because there's honestly no other way
I can explain it.
It's impossible to give a full answer because the zipped project had
files missing, duplicate files, system frameworks in the copy
frameworks phase, a bad plist, etc. etc.
However, I think it best you limit the project to the Mac OS X 10.4
SDK and compiler target. The deprecated QuickDraw stuff is gone now
and there is no 10.2 SDK installed with Leopard. All the examples
I've seen are set up to use it for the PPC output.
BTW, the SDL OpenGL App project (1.2.12) I started with wasn't the
greatest example of an Xcode project I've ever seen and it could be
compounding the errors from any changes you made + whatever is new in
Xcode/Leopard.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden