<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:Arial;}</style></head><body>Hello,<br>     I recently installed windows again and am trying to get geany going.  It works, but I can't get the gtk+ libraries to link.  I can compile a project if I paste the output of `pkg-config --cflags gtk+-2.0` (taken from msys).  If I paste the output of `pkg-config --cflags --libs gtk+-2.0` (because it gives me errors if I omit --cflags there) in Build (in Set Includes and Arguments) it gives me this:<br><br>"gcc" -Wall -o "hello" "hello.c" -mms-bitfields -IC:/gtk/include/gtk-2.0 -IC:/gtk/lib/gtk-2.0/include -IC:/gtk/include/atk-1.0 -IC:/gtk/include/cairo -IC:/gtk/include/pango-1.0 -IC:/gtk/include/glib-2.0 -IC:/gtk/lib/glib-2.0/include -IC:/gtk/include/libpng12  -LC:/gtk/lib -lgtk-win32-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 (in directory: C:\Users\user\Desktop)<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x50): undefined reference to `gtk_init_abi_check'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x5c): undefined reference to `gtk_window_new'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x82): undefined reference to `g_object_set'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0xa5): undefined reference to `g_object_set'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0xb8): undefined reference to `g_type_check_instance_cast'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0xe8): undefined reference to `g_signal_connect_data'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0xf4): undefined reference to `gtk_label_new'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0xfc): undefined reference to `gtk_container_get_type'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x10b): undefined reference to `g_type_check_instance_cast'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x11c): undefined reference to `gtk_container_add'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x127): undefined reference to `gtk_widget_show_all'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x12c): undefined reference to `gtk_main'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x144): undefined reference to `gtk_widget_destroy'<br>C:\Users\user\AppData\Local\Temp/ccsaGSpV.o:hello.c:(.text+0x149): undefined reference to `gtk_main_quit'<br>collect2: ld returned 1 exit status<br>,<br>Compilation failed.<br><br><br>Does anyone know how I can get this to work in geany? I can command line compile with cmd.exe if I make an environment variable and do "gcc filename.c -o exename.exe %GTK_FLAGS%" but I can't use the variable (or it's content) to get apps to build in geany.  Any help is appreciated, Thanks,<br><br>Josh</body></html>