Console window appears on app start?
BlitzMax Forums/BlitzMax Programming/Console window appears on app start?
| ||
This has got to be a FAQ but I didn't find it anywhere. When running a blitzmax application that isn't hosted in the IDE, a terminal window appears alongside the Blitzmax application window. How do I prevent this from happening? I can't believe I never ran into this before but I use Blitzmax primarily for tool development and I usually run things hosted in the IDE. And then of course I found the answer 2 minutes after I asked the question, after looking for half an hour... you have to have "Build GUI App" checked in the build options. |
| ||
Menu: Program -> "Build Options" -> "Build GUI App" But: sometimes you need this console eg if you print things for development (not "source code development" but eg. people adjusting configurations, Lua files...). For them I usually build "console apps" - you could then even myapp > log.txt without needing to write logger code in your game/app. bye Ron |
| ||
But: sometimes you need this console eg if you print things for development (not "source code development If you run your program from the IDE, print statements will be shown in the Output window instead, if you run in GUI mode. |
| ||
I know ... but maybe there are people in the team who do not code nor have BlitzMax ... bye Ron |
| ||
I doubt there are many here using BlitzMax who have a "team" :-p |
| ||
But it sometimes really helpful to outsource configuration to config-files - your testers can adjust them on their own - and "dev/debugfeedback" is given on the console - so you do not cludder your game screen with debug texts. Of course this is mostly used in more complex/advanced projects and not in the very first breakout clone you write :D bye Ron |