Opened 14 years ago

Closed 14 years ago

Last modified 6 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 Changed 14 years ago by fingolfin

Priority: normallow

comment:2 Changed 14 years ago by fingolfin

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 Changed 14 years ago by fingolfin

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 Changed 14 years ago by (none)

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

comment:5 Changed 14 years ago by fingolfin

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 Changed 14 years ago by fingolfin

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 Changed 14 years ago by fingolfin

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

comment:8 Changed 14 years ago by fingolfin

Resolution: fixed
Status: newclosed

comment:9 Changed 6 months ago by digitall

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