view Samples/WebAssembly/NOTES.txt @ 770:e6850c866469

fix windowing
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 24 May 2019 11:02:20 +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