|
From: Nathan S. <nat...@pk...> - 2009-03-14 09:25:19
|
Hey all, I'm working on a project involving DirectShow and GTK+. I recently setup a fresh MSYS and MinGW environment on a laptop I am using to build the project with. The issue is that whenever I try to compile and link the simplest code (like the gtkmm hello world example) as follows: g++ `pkg-config --libs --cflags gtkmm-2.4` main.cpp all I get are a bunch of linker errors, as though it's not even trying to link. pkg-config outputs the proper goods, and the paths are correct, so I know that's working right. However, when I issue the same command (copying and pasting the goods from pkg-config of course) in a command prompt (CMD.exe), it compiles and links no problem. I cannot figure out why this is. Having to switch back and forth between shells is a pain, and using pkg-config is a real time saver. Does anyone know why this may be happening? -Nathan |