Opened 14 years ago

Closed 14 years ago

Last modified 12 months ago

#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
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 fingolfin, 14 years ago

Priority: normallow

comment:2 by fingolfin, 14 years ago

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).

comment:3 by fingolfin, 14 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:4 by (none), 14 years ago

Just tested the new binary, it works.
Thanks a lot!

comment:5 by fingolfin, 14 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 fingolfin, 14 years ago

Owner: set to fingolfin
Summary: build fails on Mac OS X 10.2.8 when MT32 emulation is usedMAC: build fails on Mac OS X 10.2.8

comment:7 by fingolfin, 14 years ago

AFAIK this issue should be fixed; if not feel free to reopen it.

comment:8 by fingolfin, 14 years ago

Resolution: fixed
Status: newclosed

comment:9 by digitall, 12 months ago

Component: Port: Mac OS X
Note: See TracTickets for help on using tickets.