2,051
edits
m (corrected another linker error) |
(corrected all the linker errors) |
||
Line 3: | Line 3: | ||
= Problems = | = Problems = | ||
* kyra uses a lot of templates, and gcc 3.1 can't handle it, so I had to disable it (<tt>--disable-kyra</tt>) | * kyra uses a lot of templates, and gcc 3.1 can't handle it, so I had to disable it (<tt>--disable-kyra</tt>) | ||
* | * After running <tt>make bundle</tt>, I get "Text::Wrap version >= 2001.0929 is required. You have 98.112902", so it needs to be updated | ||
= Getting a Compiler = | = Getting a Compiler = | ||
Line 92: | Line 92: | ||
Reason: Fink puts the installs there, but we compiled from scratch, so they're in a different folder. | Reason: Fink puts the installs there, but we compiled from scratch, so they're in a different folder. | ||
=== Make | === Change sdl-config Path === | ||
Change | |||
OSX_STATIC_LIBS := `sdl-config --static-libs` | |||
to | |||
OSX_STATIC_LIBS := `/usr/local/bin/sdl-config --static-libs` | |||
Reason: It needs to be set to the correct path to find the file. | |||
=== Make libfluidsynth Static === | |||
Add | Add | ||
OSX_STATIC_LIBS += $(OSXOPT)/lib/ | OSX_STATIC_LIBS += $(OSXOPT)/lib/libfluidsynth.a | ||
after | after | ||
ifdef USE_MPEG2 | ifdef USE_MPEG2 | ||
OSX_STATIC_LIBS += $(OSXOPT)/lib/libmpeg2.a | OSX_STATIC_LIBS += $(OSXOPT)/lib/libmpeg2.a | ||
endif | endif | ||
Reason: If you compiled with libfluidsynth, it needs to be compiled in statically as well. | |||
=== Make zlib Static === | |||
Add | |||
OSX_STATIC_LIBS += $(OSXOPT)/lib/libz.a | |||
after | |||
OSX_STATIC_LIBS += $(OSXOPT)/lib/libfluidsynth.a | |||
Reason: zlib should be compiled statically to be used on all systems | Reason: zlib should be compiled statically to be used on all systems | ||
Line 124: | Line 138: | ||
-framework CoreFoundation \ | -framework CoreFoundation \ | ||
Reason: Corrects linker error. | Reason: Corrects linker error. | ||
=== Add CoreAudio Framework === | |||
Add | |||
-framework CoreAudio \ | |||
after | |||
-framework CoreServices \ | |||
Reason: Corrects linker error with libfluidsynth. | |||
=== Other === | === Other === |
edits