Mercurial > sdl-ios-xcode
view README.SVN @ 3293:0d60bdebed39
Fixed bug #674
Matej 2009-01-08 09:25:34 PST
Hello,
I maintain a cross-platform project that uses SDL.
One of the users who runs OSX has told me that he has problems with linking to
SDL due to missing -framework option.
I think that the problem is because of this:
'sdl-config --libs' outputs '-L/opt/local/lib -lSDLmain -lSDL
-Wl,-framework,Cocoa'
All the options are passed to the linker except the last one. I think that the
good output should be just:
'-L/opt/local/lib -lSDLmain -lSDL -framework Cocoa'
since those options (--libs) are passed to the linker, so the '-Wl' option is
redundant and possibly harmful in this very case
I use autotools with libtool to do the build...
Regards,
Matej
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 10:23:19 +0000 |
parents | c9d71d0f987d |
children |
line wrap: on
line source
The latest development version of SDL is available via Subversion. Subversion allows you to get up-to-the-minute fixes and enhancements; as a developer works on a source tree, you can use svn to mirror that source tree instead of waiting for an official release. Please look at the Subversion website ( http://subversion.tigris.org/ ) for more information on using svn, where you can also download software for MacOS, Windows, and Unix systems. svn checkout http://svn.libsdl.org/trunk/SDL If you are building SDL with an IDE, you will need to copy the file include/SDL_config.h.default to include/SDL_config.h before building. If you are building SDL via configure, you will need to run autogen.sh before running configure. There is a web interface to the subversion repository at: http://www.libsdl.org/cgi/viewvc.cgi There is an RSS feed available at that URL, for those that want to track commits in real time.