Re: undefined reference to symbol 'gdk_pixbuf_save_to_buffer'

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

 



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



-- 
Fedora release 17 (Beefy Miracle) - Linux 3.5.3-1.fc17.x86_64
loadavg: 0.70 0.89 0.89
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux