First post, by andy504
Hello-
I have been trying to compile Dosbox from the 0.74 source on my Intel core 2 duo iMac running 10.6.7. Both Macports and Fink install their respective dosbox packages fine, but when I manually run make after a certain point I get the following error:
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -g -O2 -MT midi.o -MD […]
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -g -O2 -MT midi.o -MD -MP -MF .deps/midi.Tpo -c -o midi.o midi.cpp
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:0,
from /System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIServices.h:69,
from midi_coremidi.h:17,
from midi.cpp:82:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:147:120: error: format string argument not a string type
In file included from midi.cpp:83:0:
midi_coreaudio.h: In member function 'virtual bool MidiHandler_coreaudio::Open(const char*)':
midi_coreaudio.h:57:3: warning: 'OSStatus AUGraphNewNode(OpaqueAUGraph*, const ComponentDescription*, UInt32, const void*, AUNode*)' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:669)
midi_coreaudio.h:57:3: warning: 'OSStatus AUGraphNewNode(OpaqueAUGraph*, const ComponentDescription*, UInt32, const void*, AUNode*)' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:669)
midi_coreaudio.h:63:3: warning: 'OSStatus AUGraphNewNode(OpaqueAUGraph*, const ComponentDescription*, UInt32, const void*, AUNode*)' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:669)
midi_coreaudio.h:63:3: warning: 'OSStatus AUGraphNewNode(OpaqueAUGraph*, const ComponentDescription*, UInt32, const void*, AUNode*)' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:669)
midi_coreaudio.h:73:3: warning: 'OSStatus AUGraphGetNodeInfo(OpaqueAUGraph*, AUNode, ComponentDescription*, UInt32*, void**, ComponentInstanceRecord**)' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:682)
midi_coreaudio.h:73:3: warning: 'OSStatus AUGraphGetNodeInfo(OpaqueAUGraph*, AUNode, ComponentDescription*, UInt32*, void**, ComponentInstanceRecord**)' is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:682)
make[3]: *** [midi.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
After that, the compiling process stops. What could be going wrong and does anyone have any suggestions about how to fix this problem?
Thank you