Hi friends!
I’ve got question about Mingw support for current version of OpenFL/LIME.
Demos built with MSVC2010 works.
Mingw targets passes compilation, but crashes after execution (without debug info there are messages about badly allocated ALcontext and shader problems; when debugging in gdb with debug info, gdb crashes). Legacy compilation works with Mingw, though. Is Mingw compatibility broken with non-legacy lime, and if yes - will it stays that way, or is it just temporary problem?
edit1:
legacy compilation works just with static linkage of libgcc and libstdc++, with dynamic linkage excutables crashes.
edit2:
with MinGW from mingw.org, v 4.8.2, openfl-samples after compiling shows in console:
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
and then plenty of:
Shader.hx:244: Could not compile the shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:1: error(#132) Syntax error: "°<" parse error
ERROR: error(#273) 1 compilation errors. No code generated
I’ve compiled with and without “-DUNICODE -D_UNICODE”.
When compiling with legacy mode, Heroku Shaders shows just 1st shader, then black screen (app is running, I put trace into code and it is still printing with black screen).
I tested openfl/lime 3.5.3/2.8.2, 3.4.0/2.7.0, 3.3.0/2.5.3 and got the same results.
Best Regards, Ret