[Geany] GTK+ Development on windows with geany and MinGW

Enrico Tröger enrico.troeger at xxxxx
Sat Jul 4 09:55:00 UTC 2009


On Fri, 3 Jul 2009 17:38:29 +0000 (UTC), joshua.rh at 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

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20090704/06944c5d/attachment.pgp>


More information about the Users mailing list