User forums > Using Code::Blocks
-fontconfig ????
Jenna:
As Tim posted before:
please turn on full commandline logging:
Change "Settings -> Compiler and debugger... -> Global compiler settings -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline", and post the relevant content f the build log.
Btw: are there any settings in "Settings -> Compiler and Debugger... -> Global compiler settings -> Compiler settings" and "... -> Linker settings" ?
Papito:
Oops sorry, you are absolutely right, here is the info. you requested.
Please, do keep in mind that I have NEVER included -lfontconfig in the linker parameters.
Also, please note that the issue here is not that I don't understand the problem, the issue here is that there is no reason for this problem to exist; because I never added the parameter the linker complains about.
I would also like to thank you for your prompt and efficient response to my questions, keep up the good work folks!
-------------- Build: Debug in Samiira ---------------
g++.exe -o bin\Debug\Samiira.exe obj\Debug\addressframe.o obj\Debug\combo.o obj\Debug\contacts.o obj\Debug\entry.o obj\Debug\jaime.o obj\Debug\jme\address\address.o obj\Debug\jme\date\date.o obj\Debug\jme\email\email.o obj\Debug\jme\exception\exception.o obj\Debug\jme\gnu_io\gnu_io.o obj\Debug\jme\io_base\io_base.o obj\Debug\jme\name\name.o obj\Debug\jme\person\person.o obj\Debug\jme\phone\phone.o obj\Debug\jme\strtools\strtools.o obj\Debug\jme\url\url.o obj\Debug\main.o obj\Debug\nameframe.o obj\Debug\phoneframe.o -LD:/XWin/lib -lgtkmm-2.4 -lgiomm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-win32-2.0 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -pg -lgmon -user32 -Wl,-luuid -LD:/XWin/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-win32-2.0 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-win32-2.0 -lgdi32 -limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
D:\XWin\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lfontconfig
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 19 seconds)
1 errors, 0 warnings
stahta01:
Run this command on the command line.
pkg-config --libs gtk+-2.0
Does it have the library listed?
If yes, you need to fix your GTK+ installation.
Note: The above command was copied from the Code::Blocks Debug extra settings.
Tim S
Jenna:
And once again:
--- Quote from: jens on November 26, 2008, 02:24:10 pm ---Btw: are there any settings in "Settings -> Compiler and Debugger... -> Global compiler settings -> Compiler settings" and "... -> Linker settings" ?
--- End quote ---
in other words, do you have any global compiler settings, that interfer with your projects build options.
stahta01:
FYI:
pkg-config --libs gtk+-2.0
returns this on Cygwin I have GTK+ installed
--- Code: ----L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
--- End code ---
I say it is an bad GTK+ Setup. Or the user should not be using GTK+
Tim S
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version