compiling on cygwin



Hi ,

I am trying to compile a demo on cygwin/X.

I`m using the next line to compile

gcc `pkg-config --libs gtk+-2.0` -Wall -g hello.c -o hello
`pkg-config--cflags gtk+-2.0`


I get undefined reference errors.

But all the libs and .h are linked like they should I think.
What is wrong?
Google gives me the impression its something with X.

Is there a good site whit more info about gtkon cygwin?

Greetz Pieter



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]