Re: Can't seem to get rid of the console window (Windows port)
- From: Justin Clift <justin postgresql org>
- To: Tor Lillqvist <tml iki fi>
- Cc: GTK App Dev Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: Can't seem to get rid of the console window (Windows port)
- Date: Mon, 12 Jun 2006 13:10:16 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tor Lillqvist wrote:
Justin Clift writes:
> Seen lots of posts recommending using the "-mwindows" flag,
Yes, that definitely is what you should do...
> Invoking: GCC C Linker
> gcc -Lc:/MinGW/lib -Lc:/MinGW/libxml2-2.6.23.win32/lib
> - -Lc:/devel/target/stable/lib -Lc:/opt/gnuwin32/lib -oflame-edit.exe
> /flame-edit.o -lgtk-win32-2.0 -lpng14 -lungif4 -lming -lzdll -lpopt
> - -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lgdk-win32-2.0
> - -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0
> - -lfontconfig -lfreetype -lpango-1.0 -lm -lcairo -lgobject-2.0
> - -lgmodule-2.0 -lglib-2.0 -lintl -liconv
> Finished building target: flame-edit.exe
... but you don't use it in the linking phase, which is when it is
needed.
Whooo Hooo, that worked! Thanks Tor (yet again I think). :)
I was nearly tearing my hair out. :(
For future reference of anyone else that uses the Eclipse IDE with CDT
extensions, you need to add "-mwindows" to the linker flags:
Project -> Properties -> C/C++ Build -> Tool Settings -> GCC C Linker
- -> Miscellaneous -> Linker flags
(Not as hard to find as that sounds)
Excellent, now I can continue...
Regards and best wishes,
Justin Clift
--tml
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEjNsYFAuZn5lS2IMRAiG1AJ4ibEIAgkdAimHA7fU7GOKqefv6bgCgm2S4
PYvuS1sl7pKfUtiZPS2II3o=
=51gA
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]