#2326 closed defect (fixed)
MAC: build fails on Mac OS X 10.2.8
Reported by: | (none) | Owned by: | fingolfin |
---|---|---|---|
Priority: | low | Component: | Port: Mac OS X |
Version: | Keywords: | ||
Cc: | Game: |
Description
ScummVM 0.8.0 cannot be built on Mac OS X 10.2.8 without disabling MT32 emulation. One problem is the use of the "powf" function in the MT32 emulator, which is not present on Mac OS X 10.2.8 (only "pow" is defined in /usr/include/architecture/ppc/math.h).
Ticket imported from: #1344631. Ticket imported from: bugs/2326.
Change History (9)
comment:1 by , 19 years ago
Priority: | normal → low |
---|
comment:2 by , 19 years ago
comment:3 by , 19 years ago
Yup, replacing powf, expf, logf seems to work.
Anyway, please test whether the 0.8.0a binary works on your system: < http://osdn.dl.sourceforge.net/scummvm/scummvm-0.8.0a-macosx.dmg>
comment:5 by , 19 years ago
Glad to hear.
I just commited a change to CVS which disables usage of powf etc. on OS X. This should fix the compile errors you were seeing. If you could verify that... In case you are not familiar with using CVS, tomorrows daily source snapshot (see http://www.scummvm.org/daily/) should contain the changes.
comment:6 by , 19 years ago
Owner: | set to |
---|---|
Summary: | build fails on Mac OS X 10.2.8 when MT32 emulation is used → MAC: build fails on Mac OS X 10.2.8 |
comment:8 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:9 by , 6 years ago
Component: | → Port: Mac OS X |
---|
We only support 10.3 and 10.4 explicitly. Well-written patches to enhance compatibility with older system versions are welcome, though.
In this particular case, you should be able to use pow instead of powf (the latter simply being a "float" version of the "double" base pow).