Bochs auf Mac os x Snow Leopard kompilieren

Konnte jemand den Bochs-Simulator unter Snow Leopard kompilieren. Leopard hat gut funktioniert, aber unter Snow Leopard treten viele Probleme im Zusammenhang mit der Carbon-Bibliothek auf ...

Ok, einige weitere Informationen wurden angefordert.

Ich kompiliere mit make auf der Shell. Standard-Build-Prozess, der mit den Buchs-Quellen kommtIch konnte erfolgreich gegen das 10.5 SDK kompilieren. Leider lief es nicht unter Snow Leopard ... stürzte immer abdann habe ich den neuesten XCode von der SnowLeopard-CD installiert und gegen das 10.6 SDK kompiliert; Der Compiler hat jetzt Probleme, einige Carbon-Header zu finden, ohne dass er nur das Isysroot-Flag ändert, das auf 10.6 statt 10.5 verweist. (-framework Carbon ist als Parameter für g ++ enthalten.)

Hier der Fehler ... er schlägt fehl, wenn es um das Kompilieren der Carbon-basierten Gui für Bochs geht:

g++ -c  -I.. -I./.. -I../iodev -I./../iodev -I../instrument/stubs -I./../instrument/stubs -pipe -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -framework Carbon -fomit-frame-pointer -finline-functions -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-labels=16 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -fprefetch-loop-arrays  -fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES    carbon.cc -o carbon.o
carbon.cc:154: warning: non-local variable ‘<anonymous enum> last_screen_state’ uses anonymous type
carbon.cc:154: warning: non-local variable ‘<anonymous enum> screen_state’ uses anonymous type
carbon.cc:163: error: ‘CIconHandle’ does not name a type
carbon.cc: In function ‘OSStatus CEvtHandleWindowBackdropUpdate(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)’:
carbon.cc:278: error: ‘GetWindowPortBounds’ was not declared in this scope
carbon.cc:279: error: ‘BackColor’ was not declared in this scope
carbon.cc:280: error: ‘EraseRect’ was not declared in this scope

... viele weitere nicht deklarierte xxx-Fehler

danke im voraus Mac

Antworten auf die Frage(8)

Ihre Antwort auf die Frage