Update to version 65 and higher cause html5 errors

Monkey Forums/Monkey Bug Reports/Update to version 65 and higher cause html5 errors

Tazzy(Posted 2013) [#1]
Hi Mark,

I just noticed there were updates and so I updated to version 66b. Now nothing runs anymore in HTML5. The first error I see is that CFG_OPENGL_GLES20_ENABLED is undefined.
When I fix the main.js to include

var CFG_OPENGL_GLES20_ENABLED=1;

It runs a little further, but stops at
MOJO_AUTO_SUSPEND_ENABLED is undefined

Both variables can be found in the CONFIG file, so it seems to me those varaibles aren't included into the main.js correctly

1. The OPENGL name in main.js differs from the Config file and isn't included in the main.js
2. MOJO_AUTO_SUSPENDED_ENABLED isn't included either.

Am I the only one with this problem or am I missing something, since the html5 target had become useless in those versions...


MikeHart(Posted 2013) [#2]
Did you delete your build folder? When stuff is changed big time in Monkey, you need to delete the build folder or you will run into such problems.


Tazzy(Posted 2013) [#3]
Yes, that did the trick :)

Thank you


therevills(Posted 2013) [#4]
First rule of Monkey is: Delete your build folder
Second rule of Monkey is: Delete your build folder
Third rule of Monkey is...