[ scummvm-Bugs-2868456 ] SVN compile error on Mac OS X 10.6.1 in browser.h
SourceForge.net
noreply at sourceforge.net
Mon Sep 28 00:43:09 CEST 2009
Bugs item #2868456, was opened at 2009-09-28 00:43
Message generated for change (Tracker Item Submitted) made by dominus
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2868456&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler error
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dominik Reichardt (dominus)
Assigned to: Nobody/Anonymous (nobody)
Summary: SVN compile error on Mac OS X 10.6.1 in browser.h
Initial Comment:
I tried to compile ScummVM on Mac OS X 10.6.1 and ran into the following compile error:
C++ gui/browser.o
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’
gui/browser.cpp:58: error: ‘NavDialogCreationOptions’ was not declared in this scope
gui/browser.cpp:58: error: expected `;' before ‘options’
gui/browser.cpp:59: error: ‘NavUserAction’ was not declared in this scope
gui/browser.cpp:59: error: expected `;' before ‘result’
gui/browser.cpp:60: error: ‘NavReplyRecord’ was not declared in this scope
gui/browser.cpp:60: error: expected `;' before ‘reply’
gui/browser.cpp:75: error: ‘options’ was not declared in this scope
gui/browser.cpp:75: error: ‘NavGetDefaultDialogCreationOptions’ was not declared in this scope
gui/browser.cpp:82: error: ‘dialogRef’ was not declared in this scope
gui/browser.cpp:82: error: ‘NavCreateChooseFolderDialog’ was not declared in this scope
gui/browser.cpp:84: error: ‘dialogRef’ was not declared in this scope
gui/browser.cpp:84: error: ‘NavCreateChooseFileDialog’ was not declared in this scope
gui/browser.cpp:87: error: ‘dialogRef’ was not declared in this scope
gui/browser.cpp:87: error: ‘NavDialogGetWindow’ was not declared in this scope
gui/browser.cpp:89: error: ‘NavDialogRun’ was not declared in this scope
gui/browser.cpp:94: error: ‘result’ was not declared in this scope
gui/browser.cpp:94: error: ‘NavDialogGetUserAction’ was not declared in this scope
gui/browser.cpp:96: error: ‘kNavUserActionChoose’ was not declared in this scope
gui/browser.cpp:97: error: ‘reply’ was not declared in this scope
gui/browser.cpp:97: error: ‘NavDialogGetReply’ was not declared in this scope
gui/browser.cpp:117: error: ‘NavDisposeReply’ was not declared in this scope
gui/browser.cpp:121: error: ‘NavDialogDispose’ was not declared in this scope
make: *** [gui/browser.o] Error 1
This is caused by carbon no longer being availlable on OS X 10.6.1
By adding #undef MACOSX just before the line #ifdef MACOSX in gui/browser.h was I able to continue with the compilation.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2868456&group_id=37116
More information about the Scummvm-tracker
mailing list