On Fri, 3 Jul 2009 17:38:29 +0000 (UTC), joshua.rh@comcast.net wrote:
Hey,
just a hint: using a few line breaks and paragraphs would make your mails way more readable :).
input files. I've learned that cmd dosen't like backquotes ( ` ) so I can no longer put `pkg-config --cflags --libs gtk+-2.0` in the includes and arguments dialog and expect it to work. I've got MSYS, but would rather just use a command prompt. I took the output of "pkg-config --cflags gtk+-2.0" and "pkg-config --libs gtk+-2.0" and put them in two new system environment variables, named GTK_CFLAGS and GTK_LIBS, respectively. if I go into the command prompt myself and type "gcc -Wall -g sourcefile.c -o exename.exe %GTK_CFLAGS% %GTK_LIBS %" it works like a charm. However, if I put this: "gcc "%f" -o "%e" % GTK_CLFAGS% %GTK_LIBS%" in for the build part of "Set includes and arguments" it says: gcc.exe: %GTK_CLFAGS%: No such file or directory and gcc.exe: %GTK_LIBS%: No such file or directory. Does anyone know what I could do to fix this problem? Thanks for reading,
This is probably because of some quoting issues or because the %GTK_LIBS% variables are not substituted. I wouldn't even expect them to be subsituted, so I wouldn't even call this a bug. Anyway, I'll have a look whether we can do something about this, but it may take some time.
Alternatively, you could use Makefiles which should work. Just an idea but of course it is less convenient for single files but quickly gets really useful when you have more than one source file to compile.
Regards, Enrico