I tried to change some stuff in the codebase of gdevelop 
(github.com/4ian/GDevelop). It is a JavaScript project that uses a C++ 
core. I added a mothod to a C++ Class and Tried to get it to the rest in 
JavaScript, with the default build system that uses EMscripten. But the 
emscripten generated code is very weird. This is the official precompiled 
gdevelop c++ file: 
https://s3.amazonaws.com/gdevelop-gdevelop.js/master/latest/libGD.js  But 
my version ( I pasted only the first few lines ) looks like this: 
https://pastebin.com/M8kACk5n . Mine doesn't look like javascript and also 
doesn't work. Any idea how I can fix this problem? I use the latest version 
of emscripten, I am on windows, the compiling process uses cmake from an 
Anaconda env and make from MinGW and nodeJS, and of course emscripten.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/210320d0-f93b-4634-879a-0e9c0ff5379d%40googlegroups.com.

Reply via email to