Opened 15 years ago

Closed 14 years ago

#21651 closed defect (fixed)

Port scummvm will not build on 10.6 Snow Leopard

Reported by: jryan2002de@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: domiman@…
Port: scummvm

Description

Hi,

I will install the actual scummvm port on my Intel-IMac which is upgraded to Mac OS X 10.6 Snow Leopard. The port can not been build on this computer, because the buildprocess breaks with the following error:

gui/browser.cpp: In member function 'virtual int GUI::BrowserDialog::runModal()': gui/browser.cpp:56: error: 'NavDialogRef' was not declared in this scope gui/browser.cpp:56: error: expected `;' before 'dialogRef'

(complete output will be attached)

Greets! -jryan

Attachments (1)

scummvm.error.log (829.9 KB) - added by jryan2002de@… 15 years ago.
output from: sudo port -d scummvm

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by jryan2002de@…

Attachment: scummvm.error.log added

output from: sudo port -d scummvm

comment:1 Changed 15 years ago by blb@…

Keywords: scummvm 0.13.1 removed
Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 15 years ago by domiman@…

This error is caused in gui/browser.h by the lines

#ifdef MACOSX #include <Carbon/Carbon.h> #endif

If you add a #undef MACOSX right before that compile will continue but run into other problems further on which just NOW have been fixed in the SVN of ScummVM :) (see http://log.usecode.org/exultlog.php?log=27Sep2009 from time: 21:52:18)

So except for the gui/browser.h problem you can just grab the SVN of ScummVM, "fix" the browser.h like I described and compile it by ./configure make

(and if you edit config.mk and you replace the line STATICLIBPATH=/sw with STATICLIBPATH=/opt/local you can even run "make bundle" after make to receive fine scummvm.app)

I hope this helps.

comment:3 Changed 15 years ago by domiman@…

Cc: domiman@… added

Cc Me!

comment:4 Changed 15 years ago by jinksys@…

Please see my workaround on bug ticker:23381

It provides a workaround for this bug and #23381.

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed in r74411 by updating to 1.2.0.

Note: See TracTickets for help on using tickets.