Difference between revisions of "Compiling ScummVM/Mac OS X 10.2.8"

Jump to navigation Jump to search
m
corrected another linker error
m (corrected one linker error)
m (corrected another linker error)
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>)
* When making the bundle, I get linker errors complaining about an "illegal reference to symbol" and "defined in indirectly referenced dynamic library".
* When making the bundle, I get several undefined symbols related to <tt>/bin/sh: sdl-config: command not found</tt>
** <tt>backends/libbackends.a(quicktime.o) illegal reference to symbol: _CloseComponent defined in indirectly referenced dynamic library /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore</tt>


= Getting a Compiler =
= Getting a Compiler =
Line 118: Line 117:
  -framework CoreMIDI \
  -framework CoreMIDI \
Reason: Corrects linker error.
Reason: Corrects linker error.
   
 
=== Add CoreService Framework ===
Add
  -framework CoreServices \
after
-framework CoreFoundation \
Reason: Corrects linker error.
 
=== Other ===
Change
$(OSX_STATIC_LIBS) \
to
$(OSX_STATIC_LIBS)
Reason: Can cause errors while compiling.
 
 
 
'''TODO''' (See [[Compiling_ScummVM/MacOS_X_10.2.8#Problems|Problems]])
'''TODO''' (See [[Compiling_ScummVM/MacOS_X_10.2.8#Problems|Problems]])


2,051

edits

Navigation menu