I have! And both of them report that they are including the libintl libraries, which is why I have absolutely no idea why this isn’t working. :/[/quote]
Wait, are you saying that they are listed there? Anything listed by “otool -L” are dynamically linked libraries, so those libraries have to be present on every system that tries to run the game.
…
I just did some digging. So the mac version of GCC (the one installed through Xcode) has a bunch of the static linking options gimped. From this page:https://developer.apple.com/library/mac/qa/qa1393/_index.html, it says:
There is no way to choose a static library over a corresponding dylib if both libraries are in the same directory without using the -l linker option and absolute paths to each library.
SOOOO, I got it to use static libraries for gettext and SDL. Mac only has dylibs for ncurses, iconv and the other system libraries.
The non-SDL version will compile for me like this:
make NATIVE=osx RELEASE=1 OSX_MIN=10.6 LDFLAGS=’ -L/usr/lib -lncurses -liconv -F/System/Library/Frameworks/ -framework CoreFoundation -framework Cocoa /usr/local/Cellar/gettext/0.18.2/lib/libgettextpo.a /usr/local/Cellar/gettext/0.18.2/lib/libasprintf.a /usr/local/Cellar/gettext/0.18.2/lib/libintl.a ’ CXXFLAGS=’-I/usr/local/opt/gettext/include’
just change the paths for the different lib*.a files to match what you have. I’m still working on the SDL version. For some reason, when I add the SDL*.a libraries, I have to manually add in a bunch of Frameworks for it to work. I installed SDL through brew, and I’m thinking I need the Framework version.