Compile Error emscripten

Community Forums/Monkey2 Talk/Compile Error emscripten

k.o.g.(Posted 2016) [#1]
Hi mark
i tested today the new mx2 version under my windows 10 installation, but i got this error:


in the XMASDEMO.txt you have this link to install emscripten, but it's broken
http://www.monkey-x/com/mak/mx2/Emscripten.exe

any idea, what is the problem?

EMCC_DEBUG = 1:
http://kognetwork.ch/emcc_debug.txt



Danilo(Posted 2016) [#2]
IIRC, I read somewhere you have to use the latest original installer from http://emscripten.org/


Danilo(Posted 2016) [#3]
in the XMASDEMO.txt you have this link to install emscripten, but it's broken
http://www.monkey-x/com/mak/mx2/Emscripten.exe

any idea, what is the problem?

The URL is wrong. It's http://www.monkey-x.com/mak/mx2/Emscripten.exe (.com instead /com)


k.o.g.(Posted 2016) [#4]
@Danilo
omg thanks Danilo, i didn't see that :D

*edit*
i got now this problem in Google Chrome
i can compile and run it, but after i see the html and the all downloads are complete, the tab close it self, on firefox and ie it works fine


bbMain() : sizeof(bbBool)=1 sizeof(bbByte)=1 sizeof(bbShort)=2 sizeof(bbInt)=4, sizeof(bbLong)=8, sizeof(bbChar)=2 sizeof(void*)=4, sizeof(size_t)=4
Mojo2 error:Can't find //@vertex chunk


After a little debug, i found out, that chrome can't find the *.data file

*edit 2*
strange, stargate demo got now problems in chrome...