[gtkmm] Re: Building libsigc++ under Win32 for use with Intel C++ Compiler 6.0



Leslie Polzer wrote:

On Wed, 06 Nov 2002 18:39:59 +0100
Dirk Gerrits  wrote:


>$ `pkg-config gtkmm-2.0 --cflags --libs`
>bash: -IC:/cygwin/include/gtkmm-2.0: No such file or directory
>
>Ehh, not good. Why?


pkg-config output is alright; What you do is using the backtick-operator the wrong way.
Bash expands your

$ `pkg-config gtkmm-2.0 --cflags --libs`

to

$ -IC:/cygwin/include/gtkmm-2.0 [...additional -I and -L go here...]

and aborts since it cannot find an executable named "-IC:/cygwin/include/gtkmm-2.0".

Sorry that I couldn't help you with your main problem, but you should know that it is not pkg-config's fault.

Leslie

Ahhh. Thanks. Like I said in another post, my Linux skills are rudimentary. I didn't know what `` means to Bash.

Anyway, now I did:

$ pkg-config gtkmm-2.0 --cflags --libs
-IC:/cygwin/include/gtkmm-2.0 -IC:/cygwin/lib/gtkmm-2.0/include -IC:/cygwin/include/gtk-2.0 -IC:/cygwin/lib/sigc++-1.2/include -IC:/cygwin/include/sigc++-1.2 -IC:/cygwin/include/glib-2.0 -IC:/cygwin/lib/glib-2.0/include -IC:/cygwin/lib/gtk- 2.0/include -IC:/cygwin/include/pango-1.0 -IC:/cygwin/include/atk-1.0 -Wl,--export-dynamic -LC:/cygwin/lib -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0-lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv

I don't really see any mention of /MinGW. So I guess this is not correct?

Dirk






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