Re: Changing the background color



On Sun, 2009-04-19 at 11:07 -0500, Jamie Lahowetz wrote:
> Thanks. I added the line:
> g_object_set(G_OBJECT(canvas),"background-color","black",NULL);
> 
> I recieved this error when I try to run it:
> ./goo_0.01: error while loading shared libraries: libgoocanvas.so.3:
> cannot open shared object file: No such file or directory
> 
> The file is there:
> /usr/local/lib/libgoocanvas.so.3
> 
> so did I compile it wrong?:
> gcc -Wall -g goo_0.01.c -o /home/deadpickle/Desktop/goo_0.01
> `pkg-config --cflags gtk+-2.0 goocanvas` `pkg-config --libs gtk+-2.0
> goocanvas`

What does "pkg-config --libs goocanvas" output? Is it correct?


You might need to add this to your .bashrc, to get the loader to look
in /usr/local/lib:

  export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib


Damon




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