[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Aw: Re: undefined reference to symbol 'gdk_pixbuf_save_to_buffer'
From:       "Martin Gansser" <linux4martin () web ! de>
Date:       2012-09-07 20:11:44
Message-ID: trinity-dcd9d140-1d60-4a66-a5ab-c69748157b3f-1347048704838 () 3capp-webde-bs39
[Download RAW message or body]


Gesendet: Freitag, 07. September 2012 um 17:03 Uhr
Von: "Michael Schwendt" <mschwendt@gmail.com>
An: devel@lists.fedoraproject.org
Betreff: Re: undefined reference to symbol 'gdk_pixbuf_save_to_buffer'
> On Fri, 7 Sep 2012 15:51:04 +0200 (CEST), Martin Gansser wrote:
> 
> > hmm, the question is, in which file do i add the '-lgdk_pixbuf-2.0' linker option \
> > ? thanks
> > Martin
> 
> The one that creates/links the main executable. ;)
> For a clean fix, intimate familiarity with CMake may be necessary, but
> this work-around would do, too:
> 
> diff -Nurb --strip-trailing-cr guayadeque-svn1830-orig/src/CMakeLists.txt \
>                 guayadeque-svn1830/src/CMakeLists.txt
> --- guayadeque-svn1830-orig/src/CMakeLists.txt	2012-04-01 12:18:27.000000000 +0200
> +++ guayadeque-svn1830/src/CMakeLists.txt	2012-09-07 16:55:47.509756245 +0200
> @@ -303,6 +303,7 @@
> ${LIBINDICATE06_LIBRARIES}
> ${LIBINDICATE07_LIBRARIES}
> ${LIBAPPINDICATOR_LIBRARIES}
> + -lgdk_pixbuf-2.0
> )
> 
> INSTALL( TARGETS guayadeque
> 
thanks, works for me.



-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic