Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=2318047
By: hrglgrmpf
Hello,
I tried to compile a c/gtk2 program with mingw/msys.
The installation worked fine, and I've downloaded the
required libraries from
http://www.gimp.org/~tml/gimp/win32/
But make (after ./configure) failed with many
unresolved symbols - errors.
I found out that the sequence of the gcc arguments
is very important:
gcc -o test `pkg-config gtk+-2.0 --cflags --libs` *.c
fails, but
gcc -o test `pkg-config gtk+-2.0 --cflags` *.c `pkg-config gtk+-2.0 --libs`
works.
How is this possible? Why does the first command not work?
(under linux both commands work)
(sorry for my bad English)
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=286529
|