WORK IN PROGRESS
Possible Design for the MAC OS X bundle.
/0ad (Directory) 0ad.app (Bundle) data (Directory) ActorEditor.app (Bundle) libs/ (directory containing shared libraries) libopenal.1.13.0.dylib (alternative openal implementation (see below)
I think this is a better option the moving the data into the main application bundle. And also better then moving the data to someplace under Library
Libraries to be build
- OpenALsoft same openal as used on linux. Fixes all the mac openal sound bugs I could find seems to be ABI compatible with Apple OpenAL Building. I had to add one item in line 614 to
CMakeLists.txt: SET(EXTRA_LIBS /System/Library/Frameworks/AudioToolbox.framework ${EXTRA_LIBS})
after that i could make with:
cmake . -DCMAKE_C_FLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch x86_64 -arch i386' \ -DCMAKE_C_LINK_FLAGS='-mmacosx-version-min=10.5 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -arch i386' \ -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk
Building with automake
May include superfluous flags
./configure --prefix=/usr/local CXXFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch x86_64 -arch i386' \ CFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch x86_64 -arch i386' LDFLAGS='-mmacosx-version-min=10.5 \ -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -arch i386' --enable-shared --enable-static
Last modified
12 years ago
Last modified on Jan 14, 2012, 10:37:42 PM
Note:
See TracWiki
for help on using the wiki.