Gesendet: Freitag, 07. September 2012 um 17:03 Uhr
Von: "Michael Schwendt" <mschwe...@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

Reply via email to