> 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
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
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/#
> 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:
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
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
6 matches
Mail list logo