Forum Replies Created
-
AuthorPosts
-
I think I’ve got it…
I always rebuild with MX2_USE_MSVC=1
And when you do that, Ted2Go etc. doesn’t seem to get moved to their ‘correct’ folder after ‘rebuildall’
So of course the compiler was old! Cause it didn’t get properly moved to the ‘bin’ folder when using MSVC!And here I am blaming the new version! Hehe
Okay sorry for the spam here, but I copied ‘mx2cc_windows.exe’ from the Itch.io version into my Github dev branch downloaded Monkey 2 version, the version that displays that error… well with the Itch.io version of ‘mx2cc_windows.exe’ it doesn’t give me that error any more.
So yeah… Newer dev version has some sort of issue.
Also, doing the EXACT same thing with the Dev version of M2 as I did with the itch.io version, I still get:
“***** Fatal mx2cc error *****
Invalid value for ‘apptype’ option: ‘wasm’ – must be ‘gui’ or ‘console'”So I’m pretty sure something’s up with the dev version and not my emscripten install…
And I’ve figured out that you need to run ’emsdk install git-1.9.4′ in order for it to fetch the 1.37.9 version.
I still get the same error though.If anyone’s feeling brave, I’d love to see a monkey2 devtools package that ‘just worked’.
That’s exactly what I’m trying to do heh, I keep Monkey 2 on a USB stick since I’m always jumping between computers.
MSVC is already working.
Emscripten isn’t working at all T_T
I can’t find Emscripten path in env_*.txt though?It’s still downloading 1.37.1, even on a computer that’s never even had emscripten nor Monkey 2 on it :S
Yeah that’s where I got mine.
And I’ve done all the steps from the instructions there.
But as you can see here, the installer grab emscripten-1.37.1MS DOS1234567891011121314151617181920G:\tools\Monkey2-itchio\devtools\emscripten>emsdk updateG:\tools\Monkey2-itchio\devtools\emscripten>emsdk install latestUpdate complete, however skipped fetching the Emscripten tags, since git was not found.If you want to compile one of the tagged releases from source, please install git by typing 'emsdk install git-1.9.4', or alternatively by installing it manually from http://git-scm.com/downloads . If you install git manually, remember to add it to PATH.If you are not looking to build Emscripten from source, you can safely ignore this message.Installing SDK 'sdk-1.37.1-64bit'..Installing tool 'clang-e1.37.1-64bit'..The contents of file 'llvm/tag/win_64bit/emscripten-llvm-e1.37.1.zip' already exist in destination 'G:/tools/Monkey2-itchio/devtools/emscripten/clang/e1.37.1_64bit', skipping.Done installing tool 'clang-e1.37.1-64bit'.Installing tool 'node-4.1.1-64bit'..The contents of file 'node_4.1.1_64bit.zip' already exist in destination 'G:/tools/Monkey2-itchio/devtools/emscripten/node/4.1.1_64bit', skipping.Done installing tool 'node-4.1.1-64bit'.Installing tool 'python-2.7.5.3-64bit'..The contents of file 'python_2.7.5.3_64bit.zip' already exist in destination 'G:/tools/Monkey2-itchio/devtools/emscripten/python/2.7.5.3_64bit', skipping.Done installing tool 'python-2.7.5.3-64bit'.Installing tool 'emscripten-1.37.1'..The contents of file 'https://github.com/kripken/emscripten/archive/1.37.1.zip' already exist in destination 'G:/tools/Monkey2-itchio/devtools/emscripten/emscripten/1.37.1', skipping.Done installing tool 'emscripten-1.37.1'.Done installing SDK 'sdk-1.37.1-64bit'.Yeah the itch.io release seems to work.
What’s different with the development branch from github then?
Cause I was using the latest Monkey 2 version and Ted2Go.However, running the app I get this error in the browser when compiled to wasm:
“Assertion failed: on the web, we need the wasm binary to be preloaded and set on Module[‘wasmBinary’]. emcc.py will do that for you when generating HTML (but not JS)”Using asmjs I get nothing.. it says ‘downloading’ then it shows nothing.
The ‘comment block’ feature is really nice.
But I think a better way to do it would be to check if text is selected, and if the user types ‘ then comment that block, instead of CTRL + ‘Basically:
If user presses ‘ AND text is highlighted/select then comment blockAlso, a minor issue:

I think it needs to remove tabs when checking if something is commented.
Here’s another bug I’m getting with the newer version:

And dragging the tabs works a bit weird:

Where are you guys getting 1.37.9?
When I follow the tutorial/install instructions for emscripten, I end up with 1.37.1I’m giving it a go now Mark
Will report back soonHmm..
“emsdk update” then “emsdk install latest” gets me emscripten-1.37.1Hmm okay yeah, that might be something…
It’s true, I don’t have Java installed, should I really need that?Also, are you running the newest Monkey 2 from dev branch, along with Ted2Go from dev branch?
I think the newer M2 versions did something with emscripted.That step was part of the Emsdk “setup” so I’ve already tried that CopperCircle :/
(Tried again, rebuild modules – worked, tried building app – same error)Yeah I’ve managed to get the Emscripten modules compiled.
But selecting Emscripten as my target and trying to build an app, I get the error I mentioned above.Alright, I’ve managed to get it going.
But now I’m getting:“***** Fatal mx2cc error *****
Invalid value for ‘apptype’ option: ‘wasm’ – must be ‘gui’ or ‘console'”I’ve selected Emscripten Release in Ted2Go.
No matter what I set ‘Application Type’ to, Wasm, wasm+asmjs, asmjs, I always get a similar error. -
AuthorPosts