donalffons / opencascade.js

Port of the OpenCascade CAD library to JavaScript and WebAssembly via Emscripten.
https://ocjs.org/
GNU Lesser General Public License v2.1
582 stars 85 forks source link

how to build my own opencascade.js docker image and get opencascade.wasm? #278

Open hjxy2012 opened 2 weeks ago

hjxy2012 commented 2 weeks ago

Hello, I attempted to build my own version of opencascade.js using the Dockerfile. Here's the command I used:

docker build -t myname/opencascade.js .

The dockerfile as follows: https://github.com/donalffons/opencascade.js/blob/master/Dockerfile

How can I obtain my own versions of opencascade.js and opencascade.wasm? I was unable to find these files in the Docker container created by my build.

Additionally, I encountered some errors during the image building process, though the image was successfully created in the end. The errors were as follows:

/emsdk/upstream/emscripten/system/lib/libcxx/include/locale:752:26: error: call to 'strtoll_l' is ambiguous
/emsdk/upstream/emscripten/system/lib/libcxx/include/locale:792:35: error: call to 'strtoull_l' is ambiguous