Donny Viszneki wrote:
I recommend installing freetype using DarwinPorts or Fink.
I want to give the user an executable that can run on a vanilla Mac, no
extra library should be used, and if it’s used should be bundled as
dynlib or statically linked with the game.
I personally don’t want to develop using XCode and all that jazz. But I
do recommend shipping binaries in a Mac OS X application bundle with all
the bells and whistles like linking with Mac OS X frameworks instead of
using the traditional unix way of linking.
I also prefer developing with GVIM and makefiles, but I’ve built also an
Xcode project hoping to be able to handle the crosscompatiblity issues
without too much hassle…
If you’re turned off by distributing your binaries that way, perhaps you
could include a link to download DarwinPorts, and during installation
you could have your program install freetype from source using the port
command.
Too complex, I’ve almost finished the port of a commercial PC game to
linux and OSX, I use SDL, SDL_mixer & SDL_ttf. The game should have an
application bundle and should run out of the box.
It is possible, it’s just very difficult (though technically there are a
few dynamic lirbaries you must link to, but if you try hard enough you
can statically link almost all your libraries.)
Well the only library I need that I cannot static link it’s the
libSystem… It’s that one that had a lot of changes in the 10.2 -> 10.3
jump.
That seems like a difficult way to get FreeType.
It is, maybe it’s easier to downgrade my development system to 10.2
I don’t understand, what build tools are you using? Are you using XCode
or not?
My project works with and without xcode.
Again I recommend using DarwinPorts. You shouldn’t have any problems there.
Just looked at the site, it’s very similar to fink, also I could not
find in the guide a point where it says that the packages are compatible
versions of OSX different from the hosting one. Fink for instance has 3
different package bases one for each of the OSX major release…
Bye,
Gabry
PS: Before someone asks it: YES, I know the LGPL library and if I’ll
link something statically I’ll distribute also in the game CD a
libgame.a with a makefile to build the game with the host libraries (the
game is already built this way )