Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Compile to Javascript by Emscripten

Compile to Javascript by Emscripten

Hello,

I tried to follow the instructions of Tom Short (https://github.com/tshort/openmodelica-javascript) how to compile an OpenModelica model to javascript. But I was not able get it work. I faild by th 4th instruction:

Copy all of the object files (*.so) and pre.js into the build directory of OpenModelica at this location (you may need to create the directory): build/lib/omc/emcc/

So I contacted Mr. Short and he mentions that changes to OpenModelica may have broken this feature. Does anyone knows if it is still possible to compile to Javascript?

Thanks...

There are 0 guests and 0 other users also viewing this topic
You are here: