Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: apgmr on September 25, 2010, 07:57:29 pm
-
I can't compile an executable without the debug/console window popping up behind the program's window, even when I select “Release” as the build target. The resulting executable is definitely smaller than the normal debug-enabled executable, but that debug window always comes up. I tried creating a new project, but it didn't help. Is there a switch or mode setting other than selecting “Release” that I need to set?
Any help is appreciated
------------
Found the problem: The "Release" and "Debug" build targets were both set to "Console application" in the Project Properties (build-targets tab), though I have no idea how this happened; I never changed these settings.
-
Read the manual, there should be written, if not post again :)
p.s. project -> properties -> build -> type
-
Found the problem: The "Release" and "Debug" build targets were both set to "Console application" in the Project Properties (build-targets tab), though I have no idea how this happened; I never changed these settings. :D