Building framework on MacOSX?

I can’t seem to build the SDL framework under MacOSX. I’m running
10.2.8, and ProjectBuilder 2.0.1.

When I use the PB project, the final link fails because it can’t find
’COREAUDIO_bootstrap".

The Xcode project won’t even open: didn’t find classname for ‘isa’ key.

Any help, suggestions, pointers, etc. are greatly appreciated.

–Mike

'lo Mike,On 02/05/2005, Mike Gauland, you wrote:

I can’t seem to build the SDL framework under MacOSX. I’m running
10.2.8, and ProjectBuilder 2.0.1.

The Xcode project won’t even open: didn’t find classname for 'isa’
key.

After failing to compile the Xcode SDL project, I opted to build SDL in
the shell with make (and possibly configure before), which worked. Took
me a lot of time to figure out how to create .dylibs that would go in
the executable’s directory, but it finally works fine. I don’t remember
having compilation problems in the shell.


Please remove “.ARGL.invalid” from my email when replying.
Incoming HTML mails are automatically deleted.

All this OSX stuff is new to me. If I build in the shell, are the
’frameworks’ that other apps require installed? I started trying to
build SDL because my son wants to run ‘Worms of Prey’, and it couldn’t
find the SDL libraries.

There is a MacOSX release of the base SDL that installs the framework,
but not of SDL_image, etc.

I had no trouble getting this all running on my Linux machine, but OSX
has me stumped!
–Mike

Olivier Fabre wrote:>'lo Mike,

On 02/05/2005, Mike Gauland, you wrote:

I can’t seem to build the SDL framework under MacOSX. I’m running
10.2.8, and ProjectBuilder 2.0.1.

The Xcode project won’t even open: didn’t find classname for 'isa’
key.

After failing to compile the Xcode SDL project, I opted to build SDL in
the shell with make (and possibly configure before), which worked. Took
me a lot of time to figure out how to create .dylibs that would go in
the executable’s directory, but it finally works fine. I don’t remember
having compilation problems in the shell.

They have a Mac OS X binary available, see http://wormsofprey.org/.

-bobOn May 2, 2005, at 4:11 PM, Mike Gauland wrote:

All this OSX stuff is new to me. If I build in the shell, are the
’frameworks’ that other apps require installed? I started trying
to build SDL because my son wants to run ‘Worms of Prey’, and it
couldn’t find the SDL libraries.

There is a MacOSX release of the base SDL that installs the
framework, but not of SDL_image, etc.

I had no trouble getting this all running on my Linux machine, but
OSX has me stumped!
–Mike

Olivier Fabre wrote:

'lo Mike,

On 02/05/2005, Mike Gauland, you wrote:

I can’t seem to build the SDL framework under MacOSX. I’m running
10.2.8, and ProjectBuilder 2.0.1.

The Xcode project won’t even open: didn’t find classname for 'isa’
key.

After failing to compile the Xcode SDL project, I opted to build
SDL in
the shell with make (and possibly configure before), which worked.
Took
me a lot of time to figure out how to create .dylibs that would go in
the executable’s directory, but it finally works fine. I don’t
remember
having compilation problems in the shell.


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

There’s two ways people like to work on OS X. Personally, when it
comes to development, I enjoy command line and ‘fink’, which provides
necessary library dependencies.

The other, native way, is the frameworks, which can be used from
command line compilations by a simple ‘-framework’ (I think) gcc
extension. It does look at the appropriate places for those.

As to SDL, SDL_image etc. you should probably use ‘sdl-config’ anyhow,
instead of fixing the compilation parameters yourself.

If you’re doing GUI stuff, using XCode etc. then frameworks are clearly
the way to go. :slight_smile:

-ak

2.5.2005 kello 23:11, Mike Gauland kirjoitti:

All this OSX stuff is new to me. If I build in the shell, are the
’frameworks’ that other apps require installed? I started trying to
build SDL because my son wants to run ‘Worms of Prey’, and it couldn’t
find the SDL libraries.>

There is a MacOSX release of the base SDL that installs the framework,
but not of SDL_image, etc.

I had no trouble getting this all running on my Linux machine, but OSX
has me stumped!
–Mike

Olivier Fabre wrote:

'lo Mike,

On 02/05/2005, Mike Gauland, you wrote:

I can’t seem to build the SDL framework under MacOSX. I’m running
10.2.8, and ProjectBuilder 2.0.1.

The Xcode project won’t even open: didn’t find classname for 'isa’
key.

After failing to compile the Xcode SDL project, I opted to build SDL
in
the shell with make (and possibly configure before), which worked.
Took
me a lot of time to figure out how to create .dylibs that would go in
the executable’s directory, but it finally works fine. I don’t
remember
having compilation problems in the shell.


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

Hi Mike,Am Montag, 2. Mai 2005 22:11 schrieb Mike Gauland:

All this OSX stuff is new to me. If I build in the shell, are the
’frameworks’ that other apps require installed? I started trying to
build SDL because my son wants to run ‘Worms of Prey’, and it
couldn’t find the SDL libraries.

There is a MacOSX release of the base SDL that installs the
framework, but not of SDL_image, etc.

I had no trouble getting this all running on my Linux machine, but
OSX has me stumped!

This is also our fault, I think. We tell the Mac users to download
the frameworks of the libraries from the SDL website but they cannot be
found there anymore.

This leads me to a question to the SDL maintainers. IIRC, there were
downloadable packages of the libraries SDL_image, SDL_mixer, and
SDL_ttf for Mac OS, just as this is still the case for SDL_net. Are
there plans to provide the other libraries for Mac OS again?

Regards, Christoph


_ http://wormsofprey.org
__ __ __ __ __ __ | __ __ ___
((( () | ’ | ) ) ) () | |) | ’ (/_ (|
The new and free real-time W?rms game | |

Hi Mike,

All this OSX stuff is new to me. If I build in the shell, are the
’frameworks’ that other apps require installed? I started trying to
build SDL because my son wants to run ‘Worms of Prey’, and it
couldn’t find the SDL libraries.

There is a MacOSX release of the base SDL that installs the
framework, but not of SDL_image, etc.

I had no trouble getting this all running on my Linux machine, but
OSX has me stumped!

This is also our fault, I think. We tell the Mac users to download
the frameworks of the libraries from the SDL website but they cannot be
found there anymore.

This leads me to a question to the SDL maintainers. IIRC, there were
downloadable packages of the libraries SDL_image, SDL_mixer, and
SDL_ttf for Mac OS, just as this is still the case for SDL_net. Are
there plans to provide the other libraries for Mac OS again?

Regards, Christoph

I’m not a maintainer, but I did provide Sam with updated Xcode
projects and new install packages for SDL and all the main SDL
satellite projects (SDL_image, SDL_mixer, SDL_ttf, …) some number of
months ago. He put up the SDL package, but the satellites are missing
as you know. I’ve pestered Sam a few times and he tells me to keep
pestering him about it.

So I can tell you they do exist and they are being maintained by at
least me. Testing and distribution seems to be the trouble point.

Thanks,
-Eric> Date: Wed, 11 May 2005 09:24:57 +0200

From: Christoph Freundl
Am Montag, 2. Mai 2005 22:11 schrieb Mike Gauland:

Can we post these in some temporary location to make them available
until they are officially available?

I volunteer to make them available from my server, if that is the
issue. Let me know how I can obtain them for redistribution.

Thank you,
ChrisOn 5/11/05, E. Wing wrote:

I’m not a maintainer, but I did provide Sam with updated Xcode
projects and new install packages for SDL and all the main SDL
satellite projects (SDL_image, SDL_mixer, SDL_ttf, …) some number of
months ago. He put up the SDL package, but the satellites are missing
as you know. I’ve pestered Sam a few times and he tells me to keep
pestering him about it.

So I can tell you they do exist and they are being maintained by at
least me. Testing and distribution seems to be the trouble point.


E-Mail: Chris Nystrom
Business: http://www.shaklee.net/austin
Blog: http://conversazione.blogspot.com/
AIM: nystromchris

Good news Mac OS X developers!

Xcode projects and binary packages for:

SDL_image
SDL_mixer
SDL_net
SDL_ttf

are now available for download from the SDL web site in the Library area.

Thank you E. Wing and Sam!

Chris–
E-Mail: Chris Nystrom
Business: http://www.shaklee.net/austin
Blog: http://conversazione.blogspot.com/
AIM: nystromchris

Good news Mac OS X developers!

Xcode projects and binary packages for:

SDL_image
SDL_mixer
SDL_net
SDL_ttf

are now available for download from the SDL web site in the Library area.

Actually, the Xcode projects are in CVS, but the packages are there! :slight_smile:

All thanks go to Eric Wing!

-Sam Lantinga, Software Engineer, Blizzard Entertainment

What benefits would you see as to using frameworks instead of the
fink cmdline versions on Mac?

This is not a teaser, more like a genuine “why?” and "should I?"
question. So far, I’ve been using all those (but SDL_net) via fink
and it works just fine.

-ak

Chris Nystrom kirjoitti 16.5.2005 kello 5.23:> Good news Mac OS X developers!

Xcode projects and binary packages for:

SDL_image
SDL_mixer
SDL_net
SDL_ttf

are now available for download from the SDL web site in the Library
area.

Thank you E. Wing and Sam!

Chris


E-Mail: Chris Nystrom
Business: http://www.shaklee.net/austin
Blog: http://conversazione.blogspot.com/
AIM: nystromchris


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

Chris Nystrom kirjoitti 16.5.2005 kello 5.23:

Good news Mac OS X developers!

Xcode projects and binary packages for:

SDL_image
SDL_mixer
SDL_net
SDL_ttf

are now available for download from the SDL web site in the
Library area.

What benefits would you see as to using frameworks instead of the
fink cmdline versions on Mac?

This is not a teaser, more like a genuine “why?” and "should I?"
question. So far, I’ve been using all those (but SDL_net) via fink
and it works just fine.

It’s difficult to correctly build a standalone application when using
Fink dependencies. When using frameworks, it’s trivial to add a copy
frameworks phase and bring in the precompiled frameworks and build a
standalone application correctly.

-bobOn May 16, 2005, at 1:12 PM, Asko Kauppi wrote: