|
From: /KY <cru...@in...> - 2002-11-13 18:06:31
|
I've got Dev-C++ 4.9.6.8 (4.9.6.0 with included gcc 2.95.3-6 + devcppexe=20
2.1042) and I'm trying to use the GTK+ DevPak.
However, when I pass to compiler options:
`pkg-config --cflags --libs gtk+-2.0`
i get
gcc.exe -c GTK-test.c -o GTK-test.o -I"C:/PRG/DEV-CPP/include" `pkg-config=
=20
--cflags --libs gtk+-2.0` -pg -s
GCC.EXE: cannot specify -o with -c or -S and multiple compilations
while if I run gcc from the shell (from my project folder), i get
>gcc gtk-test.c -o gtk-test.exe 'pkg-config --cflags --libs gtk+-2.0'
GCC.EXE: 'pkg-config: No such file or directory
GCC.EXE: gtk+-2.0': No such file or directory
gtk-test.c:1: gtk.h: No such file or directory
however, If I run pkg-config (from any dir) I obtain what's expected:
>pkg-config --cflags --libs gtk+-2.0
-IC:/PRG/DEV-CPP/include/gtk-2.0 -IC:/PRG/DEV-CPP/lib/gtk-2.0/include=20
-IC:/PRG/
DEV-CPP/include/atk-1.0 -IC:/PRG/DEV-CPP/include/pango-1.0=20
-IC:/PRG/DEV-CPP/incl
ude/glib-2.0 -IC:/PRG/DEV-CPP/lib/glib-2.0/include -LC:/PRG/DEV-CPP/lib=20
-lgtk-
win32-2.0 -lgdk-win32-2.0 -limm32 -lshell32 -lole32 -luuid -latk-1.0=20
-lgdk_pixbu
f-2.0 -lm -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0=
=20
-lgli
b-2.0 -lintl -liconv
And in fact, in PATH I have c:\prg\dev-cpp\bin.
Where's the problem?
Guido Imperiale
cru...@in...
-------------------------------
CRV=A7ADER/KY
KnowledgE is PoweR
|