Re:
- From: Krzysztof KosiÅski <tweenk pl gmail com>
- To: Doesnt Stop <DoesntStop mail com>
- Cc: Gtkmm List <gtkmm-list gnome org>
- Subject: Re:
- Date: Sat, 9 Feb 2013 21:06:06 +0100
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]