Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6Hg6-0002Fj-HD for qemu-devel@nongnu.org; Tue, 01 Mar 2005 19:25:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6Hfo-00028y-AE for qemu-devel@nongnu.org; Tue, 01 Mar 2005 19:25:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6Hfl-0001tD-LG for qemu-devel@nongnu.org; Tue, 01 Mar 2005 19:25:06 -0500 Received: from [69.56.188.178] (helo=server01.killobyte.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D6HJb-0007rj-1g for qemu-devel@nongnu.org; Tue, 01 Mar 2005 19:02:11 -0500 Received: from [24.55.156.255] (helo=[192.168.1.51]) by server01.killobyte.com with esmtp (Exim 4.43) id 1D6HJa-0002X3-RO for qemu-devel@nongnu.org; Tue, 01 Mar 2005 16:02:10 -0800 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <7fe257eac15dbc46d9d0e1ae39a2288b@free.fr> References: <7fe257eac15dbc46d9d0e1ae39a2288b@free.fr> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <978eb276c5d2edbd51c6802fdf548fa6@triplecatproductions.com> Content-Transfer-Encoding: 7bit From: David Still Subject: Re: [Qemu-devel] [Patch] Experimental Cocoa Video Driver Date: Tue, 1 Mar 2005 16:03:48 -0800 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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: > Hi! > > 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. > > Pierre. > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel