Code::Blocks Forums
User forums => Help => Topic started by: trilce on February 27, 2009, 07:28:33 pm
-
Hello everyone.
I have some time using Code::Blocks in Linux, and I really like it a lot. But when I went to windows to compile a GTK+ program, It ran with a command prompt under it. I went to project options and selected GUI application but I am still having the same problem. If someone could help it would be appreciated.
Eduardo Sorribas
-
There has to be a way.
-
Which compiler do you use?
If it's gcc, there should be a -mwindows in linker command.
It's added automatically by C::B for gui-applications, unless you change the compiler commands in the advanced compiler settings.
-
Yes it is gcc, and i tried adding the -mwindows option on the build options but it did not work. Any other ideas??
-
Yes it is gcc, and i tried adding the -mwindows option on the build options but it did not work. Any other ideas??
Change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline" and post the content of the build log.