I was getting an irritating console window when using the neko target on Windows 7 so I thought I’d have a go at targeting cpp instead. I installed TDM-GCC-64 and set the MINGW_ROOT environment variable to point at it, then output my HelloWorld project using the command:
[quote=“ibilon, post:2, topic:1257, full:true”]
The command is openfl build windows.
[/quote]Oops
[quote=“ibilon, post:2, topic:1257, full:true”]
Not sure what “build cpp” do.
[/quote]Exactly the same as it turns out, I guess the cpp target must be the default at the end of a switch statement?
Having looked at stackoverflow I think I need to pass a -mwindows flag to the mingw linker in order to get rid of the console window.
How do I do that?