What am I doing wrong?

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

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:

-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  

-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.

Thanks folks
Happiness has many doors, and when one of them closes another opens, yet we spent so much time looking at the one that is shut that we don't see the one that just opened..

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