Re:



2013/2/9 Doesnt Stop <DoesntStop mail com>:
> g++.exe `pkg-config gtkmm-2.4 --cflags`     `pkg-config gtkmm-2.4 --libs` -o dist/Debug/MinGW-Windows/welcome_1  build/Debug/MinGW-Windows/welcome.o

This is wrong. The library flags should always come after the object
files. The GCC linker will not resolve back-references, e.g.
references to files that were earlier on the commandline, so you have
to put the library flags after the object file.

Regards, Krzysztof


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