Le 19/02/2013 01:45, Rena a écrit :
> On Mon, Feb 18, 2013 at 9:24 AM, Colomban Wendling
> [...]
>
> Well, my emulator gets the pixel data from gdk_pixbuf_get_pixels() and
> writes into that buffer directly; that way it doesn't have to know
> anything about GDK and can draw pixels by just writing
2013/2/18 Colomban Wendling
>
> Or maybe I got you wrong and you'd like to *draw* on your GdkPixbuf?
> I'm afraid this just isn't possible directly. If you really want to do
> that, you'll probably have to manually do some pixel conversion. You
> can create a Cairo surface of the pixbuf's size,
I installed a new version (2.35.7):
bill@bill-laptop: pkg-config --modversion glib-2.0
2.35.7
But I can not remove old version 2.32.3, because of packages dependecies,
like: ubuntu-desktop, ...
How to update old version (2.32.3)?
Em 18/02/2013 01:10, "Jasper St. Pierre" escreveu:
> You need to
You need to update your version of glib.
On Sun, Feb 17, 2013 at 9:00 PM, Diego Felix (Bill) wrote:
> When I try to compile a older version of gtk+-3 (3.4.4), I have the same
> error:
>
> When I configure:
>
> bill@bill-laptop:~/Downloads/gtk+-3.4.4$ ./configure --prefix=/opt/gtk
>> --enable-x1
When I try to compile a older version of gtk+-3 (3.4.4), I have the same
error:
When I configure:
bill@bill-laptop:~/Downloads/gtk+-3.4.4$ ./configure --prefix=/opt/gtk
> --enable-x11-backend --enable-broadway-backend
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whet
I tried this but I can not install this requirement:
configure: error: Package requirements (glib-2.0 >= 2.35.3atk >= 2.7.5
>pango >= 1.32.4cairo >= 1.10.0cairo-gobject >= 1.10.0
> gdk-pixbuf-2.0 >= 2.27.1) were not met:
> No package 'pango' found
When I run configure:
bill@bil
--- En date de : Lun 18.2.13, Rena a écrit :
> Recently I've been developing a Game Boy emulator
> that uses GtkDrawingArea and GdkPixbuf to display the game
> screen.
>
> In addition to the game output I want to also be able to draw text and
> shapes on the display window, and Cairo seems to be