Re: GTK+ externals are unresolved

2008-12-22 Thread M . O . D .
> gcc -o murg murg.c `pkg-config --cflags --libs gtk+-2.0` This worked, and it sounded so similar to what Greg Chicares recommended earlier that I went back to his message and rearranged the command again as he described, and that also worked this time. I don't know how I dorked that up the fir

Re: GTK+ externals are unresolved

2008-12-21 Thread M . O . D .
Thanks for your comments, Yaakov. As you suspected, the order of the link libraries made no difference. I downloaded all of Cygwin at one time, in about an hour. I have not done anything I know of that would mix versions. If there is some kind of library mismatch, I have no idea what to do abou

Re: GTK+ externals are unresolved

2008-12-16 Thread M . O . D .
John Emmas tiscali.co.uk> writes: > Perhaps you're missing the file 'libgtk-x11-2.0.la' I included a directory listing in my message, showing that this file is there. Perhaps you and John Emmas should read the messages before you reply to them. -- Unsubscribe info: http://cygwin.com/ml/#

Re: GTK+ externals are unresolved

2008-12-15 Thread M . O . D .
> Does it work if you move the libraries after the source files? No, that doesn't make any difference. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

GTK+ externals are unresolved

2008-12-15 Thread M . O . D .
When I compile a GTK+ application in Cygwin, all the GTK externals are unresolved. Output from pkg-config and the /usr/lib directory look fine, and are included below along with the linkage errors and the source program. I downloaded and installed Cygwin last week. I have compiled and run this

Bash command file gets stuck

2008-12-13 Thread M . O . D .
I made a command file named gcc.bat: --- #! /bin/sh cc `pkg-config --cflags --libs gtk+-2.0` ${1}.cpp -o ${1} --- I set the execution flag: -rwx--x--x+ 1 pd None 71 Dec 13 17:25 gcc.bat I typed the cc command in by hand and