view Samples/WebAssembly/NOTES.txt @ 816:1f85e9c7d020

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 May 2019 22:18:41 +0200
parents 6030db24eaea
children 270c31978df1
line wrap: on
line source

$ source ~/Downloads/emsdk/emsdk_env.sh
$ cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=${EMSCRIPTEN}/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Release -DALLOW_DOWNLOADS=ON .. -DCMAKE_INSTALL_PREFIX=/tmp/stone
$ ninja install
$ sudo docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/stone:/root/stone:ro jodogne/orthanc-plugins:1.5.6 /root/stone/Configuration.json --verbose

notes BGO :
source ~/apps/emsdk/emsdk_env.sh
cd /mnt/c/osi/dev/orthanc-stone/Samples/WebAssembly
mkdir build
cd build
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=${EMSCRIPTEN}/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Release -DALLOW_DOWNLOADS=ON .. -DCMAKE_INSTALL_PREFIX=/mnt/c/osi/dev/orthanc-stone/Samples/WebAssembly/installDir
ninja install

docker run -p 4242:4242 -p 8042:8042 --rm -v "C:/osi/dev/orthanc-stone/Samples/WebAssembly/installDir:/root/stone:ro" jodogne/orthanc-plugins:1.5.6 /root/stone/Configuration.json --verbose