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

Jump to navigation Jump to search
m
corrected one linker error
m (changing section name)
m (corrected one linker error)
Line 4: Line 4:
* 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 linker errors complaining about an "illegal reference to symbol" and "defined in indirectly referenced dynamic library".
** <tt>common/libcommon.a(file.o) illegal reference to symbol: _CFBundleCopyResourceURL defined in indirectly referenced dynamic library /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</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>
** <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>


Line 112: Line 111:
  -lSystemStubs
  -lSystemStubs
Reason: Not needed, and not in 10.2.8
Reason: Not needed, and not in 10.2.8
=== Add CoreFoundation Framework ===
Add
-framework CoreFoundation \
after
-framework CoreMIDI \
Reason: Corrects linker error.
   
   
'''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