I installed Visual Studio 2010 Compiler. I can compile for the cpp target without problems. But when I try to compile a small openfl project, it hangs at
forever. I tried to use a newer Visual Studio version (2015), but I can not fix the “cl.exe not found” error. It used to work for years, but not this time.
For example I edited the msvc-setup.bat.
I have this folder: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A with Include, Bin and Lib folders inside.
You have to wait it out sometimes, it gets “stuck” there for 20 minutes on occasion. I don’t know what is happening either but it eventually finishes. This is usually while doing the first compile and having lots of assets aggravates the wait.
I also didn’t usually experience this some versions ago. It just started happening.
Just check the processor usage and you’ll see the compiler churning away during it all.
Usually at a fourth of the total processing power.
I wonder if it’s __boot__.cpp that Visual Studio is actually having trouble with, but that compiling on multiple threads shows that __resources__.cpp is also compiling at the same time
__boot__.cpp seems like a more likely culprit for throwing a compiler for a loop
Could very well be, also seen that one halting but just a couple of times. Lacking further reference out of memory and don’t usually compile to CPP a lot though. You’re probably on to something as always.