Re: What am I doing wrong?
- From: Armin Burgmeier <armin arbur net>
- To: Jam <arbolone gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: What am I doing wrong?
- Date: Tue, 11 Nov 2008 18:11:54 +0100
On Tue, 2008-11-11 at 08:30 -0500, Jam wrote:
> This is not the first time I am posting this question, and I am
> beginning to wonder if what I am facing is a bug or if it is indeed a
> mistake at my end. Let me explain to you what I do when trying to
> compile; so that you might be able to spot what I am doing wrong.
> I am using
> gtkmm-win32-devel-2.14.1-3.exe
>
> under Windows XP and using Code::Blocks 8.2 as my IDE, GCC compiler, MSYS-1.0.11-2004.04.30-1 and MinGW-5.1.3
>
> Using the Prompt, I type:
> $> pkg-config gtkmm-2.4 --cflags > cflag_parameters.txt
> $> pkg-config gtkmm-2.4 --libs > libs_parameters.txt
>
> I then open the cflags_parameters.txt and libs_parameters.txt files and start Code::Blocks IDE.
> I then copy the content in the cflags_parameters.txt to Code::Blocks, as follows:
> Project->Building Options->Compiler Settings->'Other Options' tab
>
> And the content of the libs_paramenters.txt as follows
> Project->Building Options->Linker Settings->'Other Linker Options' box
>
> The values, or parameters, in the two above text files are:
>
> CFLAGS
> ~~~~~~
> -mms-bitfields -ID:/XWin/include/gtkmm-2.4 -ID:/XWin/lib/gtkmm-2.4/include -ID:/XWin/include/glibmm-2.4 -ID:/XWin/lib/glibmm-2.4/include -ID:/XWin/include/giomm-2.4 -ID:/XWin/lib/giomm-2.4/include -ID:/XWin/include/gdkmm-2.4 -ID:/XWin/lib/gdkmm-2.4/include -ID:/XWin/include/pangomm-1.4 -ID:/XWin/include/atkmm-1.6 -ID:/XWin/include/gtk-2.0 -ID:/XWin/include/sigc++-2.0 -ID:/XWin/lib/sigc++-2.0/include -ID:/XWin/include/glib-2.0 -ID:/XWin/lib/glib-2.0/include -ID:/XWin/lib/gtk-2.0/include -ID:/XWin/include/cairomm-1.0 -ID:/XWin/include/pango-1.0 -ID:/XWin/include/cairo -ID:/XWin/include/libpng12 -ID:/XWin/include/atk-1.0
>
>
> LIBS
> ~~~~
> -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
>
> I am not sure if what I am doing is right, but I would really appreciate some help.
Do you still get this error?
D:\XWin\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lfontconfig
If so, I don't see how fontconfig comes into play. It's not listed in
the libraries linked against. I don't know Code::Blocks, but maybe its
hidden behind some option in the IDE, of which you wouldn't expect
adding fontconfig to the libraries?
> Thanks folks
Armin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]