[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Patch] Experimental Cocoa Video Driver

From: David Still
Subject: Re: [Qemu-devel] [Patch] Experimental Cocoa Video Driver
Date: Tue, 1 Mar 2005 16:03:48 -0800

I'm having trouble compiling QEMU with the cocoa video driver on my iBook. I'm running OS X 10.3.8 on a 700MHz iBook G3 w/ 640Mb or RAM and XTools 1.5. After running "./configure --prefix=/sw --enable-cocoa", compilation runs smoothly until here:

gcc -Wall -O2 -g -fno-strict-aliasing -D__powerpc__ -I. -I/Users/stealthdave/Source/qemu/qemu/target-ppc -I/Users/stealthdave/Source/qemu/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/stealthdave/Source/qemu/qemu/slirp -c -o cocoa.o /Users/stealthdave/Source/qemu/qemu/cocoa.m In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/DriverServices.h:32, from /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/CarbonCore.h:129, from /System/Library/Frameworks/CoreServices.framework/Headers/ CoreServices.h:21, from /System/Library/Frameworks/ApplicationServices.framework/Headers/ ApplicationServices.h:20, from /System/Library/Frameworks/Foundation.framework/Headers/ NSAppleEventDescriptor.h:8, from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h: 85, from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                 from /Users/stealthdave/Source/qemu/qemu/cocoa.m:38:
/System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/MachineExceptions.h:45: error: parse error before numeric constant /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/MachineExceptions.h:46: error: parse error before numeric constant /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/MachineExceptions.h:49: error: parse error before numeric constant /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/MachineExceptions.h:51: error: parse error before numeric constant /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/MachineExceptions.h:53: error: parse error before numeric constant /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/MachineExceptions.h:54: error: parse error before numeric constant /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/MachineExceptions.h:56: error: parse error before '}' token
make[1]: *** [cocoa.o] Error 1
make: *** [all] Error 1

Am I missing a library or something?

- Dave

On Feb 26, 2005, at 4:04 PM, Pierre d'Herbemont wrote:


Here is a early draft of a cocoa video driver for qemu, strongly based on libsdl. I don't know if I'll have time to finish it, so I am sending it to the qemu-devel.

I think it might be interesting for QemuX (or other Mac OS X frontend): the patch shows that the GUI can be run within Qemu process, that means that you can use qemu functions, think vm_stop or vm_start, directly from the GUI. Moreover it means also only one icon in the dock and one menu bar for Qemu,

To enable the cocoa driver, just use the --enable-cocoa option in configure. The driver is still not completed as it should, no full screen mode, no mouse event, and partial keyboard event, but that shouldn't be to difficult to add though.


Qemu-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]