Closed ghost closed 8 years ago
I should mention, this is an entirely new application. I just copied the skeleton and renamed it.
The %MINKO_HOME%
token should have been replaced by the actual path. Can you make sure you have defined the environment variable?
It's well defined, and I can compile Minko normally, so it seems to be working. I've rebooted several times, so the whole system should be seeing the variable, and a quick echo in command prompt shows it is indeed working.
Hum, maybe there's an issue on the master branch. Can you try dev?
Sure, let me pull it and do a recompile.
@warrenseine So, I pulled dev branch and tried to run build_html5.bat, and it didn't work.
However, I also noticed that the dev branch has no tool folder. Which build_html5.bat requires.
So it couldn't work, even in theory.
@warrenseine If I force it to use premake5 by making the folder or pointing it to bin/windows32/, I can get HTML5 to at least compile, but it seems unable to link or find libraries:
With several pages of complaints about unresolved symbols.
Even cut down to just SDL, it fails. Cutting out SDL, it still can't find the minko-framework. Not sure why.
I just tested and it runs fine on the dev branch when running solution_gmake_min.bat
then build_html5_release.bat
. What errors do you get?
I'm getting compiler errors during build_html5_release.bat
:
I've no idea what's going on (first time I see this error). Anyway, Emscripten 1.25 is quite old. We're compiling with Emscripten 1.29 at least. The most recent is 1.34.1 in the SDK. Can you upgrade?
@warrenseine Absolutely! The documentation said 1.25, so I tested on latest and that version, thus the outdated version. Should I upgrade to 1.34.1?
This documentation needs a major cleanup. Yes, you should.
Update: I can confirm that mainline, out of the box, with your instructions, is capable of working with 1.25. Dev channel does not work, going to try upgrading emscripten to newest.
After very carefully upgrading and a lot of retries, I can now use 1.29 to consistently build mainline.
Dev channel fails on SDL_Audio, and I can't seem to get past it:
I'll repeat on higher versions of emscripten.
1.30 had clang/LLVM just straight up crash, 1.34 had SDL_Audio problems. Guess I'm stuck with 1.29 on mainline.
I've just pushed a ton of changed to dev. It may worth it to try again.
@warrenseine Yeah! It compiles now on 1.29. However, skeleton/build_html5.bat
does not, and cannot, work; it points to %MINKO_HOME%/tools, which no longer exists. I tried to point it towards %MINKO_HOME%/script/premake.bat
, but I couldn't get it to work. Perhaps you could point it towards %MINKO_HOME%/bin/windows32/premake.exe
?
@warrenseine Dev channel compiles but won't render anything.
@renindustries open a new issue about that please
I followed the exact instructions found at Compiling SDK for HTML5, but ran afoul the following error: