Suggested Web viewer plugin for raspberry pi 4 except orthanc web viewer

Hello everyone,
Can anyone suggest me a web viewer that works well on raspberry pi 4.

Thanks in advance

Hello,

All the Web viewers are by definition client-side applications that are executed by your Web browser, not by the Raspberry.

As a consequence, it should be possible to run any Web viewer (e.g. “Orthanc Web viewer”, the “Osimis Web viewer” and the “Stone Web viewer”) on your Raspberry.

In particular, if you use the Raspbian distribution, the “orthanc-webviewer” package is available from the standard Debian repositories to install the Orthanc Web viewer.

Sébastien-

Hello
Thanks for your response. I installed orthanc and some of its plugins succesfuly from the terminal(sudo apt install orthanc…).

I want to install stone web viewer, but I can’t. I couldn’t use docker or pre-compiled libraries because of target architecture available for only amd64.

Raspberry pi is ARM.

So, should i compile source code using Cmake to make it work? Or is there any other option .
NOTE: I cannot dowload source code of stone web viewer using hg clone https://hg.orthanc-server.com/orthanc-stone/file/default/Applications/StoneWebViewer
Thanking you
Arun

Note:I get 404 error when i try to clone the repository from mercurial

I cloned it successfully. But when i try to build using cmake following the build instructions, i get two errors.

1. When executing the below command

cmake …/…/orthanc-stone/Applications/StoneWebViewer/Plugin -DUSE -DCMAKE_BUILD_TYPE=Release -DSTATIC_BUILD=ON -DALLOW_DOWNLOADS=ON
I get this error :

CMake Error: Parse error in command line argument: -DUSE
Should be: VAR:type=valur
CMake Error: Problem processing arguments. Aborting.

2. If i execute the above command without -DUSE ,the build is succesful.
But i cannot execute the command make -j 6 as i get these errors:

pi@raspberrypi:~/orthanc-stone/dev/build/stone-viewer-plugin $ make -j 6
make[2]: *** No rule to make target ‘/home/pi/orthanc-stone/wasm-binaries/StoneWebViewer/stone.js’, needed by ‘AUTOGENERATED/EmbeddedResources.h’. Stop.
make[1]: *** [CMakeFiles/Makefile2:94: CMakeFiles/StoneWebViewer.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

I am a newbie, So help would be appreciated

Note about Docker for ARM64, we do not provide images but, if you have access to an ARM64 platform, you can build them by yourself:
excerpt from https://github.com/orthanc-server/orthanc-builder:

  • you can use this repo to build linux/arm64 docker images but we are currently not able to build them on our build slaves because, with QEMU emulation, a build would take more than 12 hours which is the limit of github. Simply use ./local-build.sh platform=linux/arm64 to build these images.

But, that would probably take a few hours too …

HTH

Alain

The Stone Web viewer requires 2 compilations:

1- The JavaScript/WebAssembly binaries, using the Emscripten toolchain, from the following source directory:
https://hg.orthanc-server.com/orthanc-stone/file/StoneWebViewer-2.3/Applications/StoneWebViewer/WebAssembly

The WebAssembly binaries are platform independent. You can download a precompiled version from our servers:

https://lsb.orthanc-server.com/stone-webviewer/2.3/wasm-binaries.zip

2- The Orthanc plugin, using the standard gcc toolchain of Raspbian, from the following source directory:
https://hg.orthanc-server.com/orthanc-stone/file/StoneWebViewer-2.3/Applications/StoneWebViewer/Plugin

For Raspberry, you can thus download the WebAssembly binaries, uncompress the ZIP archive as the “wasm-binaries” folder at the root of the source repository, then compile the Orthanc plugin. This compilation should be pretty fast.

Sébastien-

Can you please walk me through the build steps. I have very less knowlege about linux ,so building,compile is a nightmare for me.
i know good amount of web programming language but suck at compilation and stuff. I have been digging for two days without good result.

can you please provide me a build (step by step instruction). It might also be useful for other raspberry pi users.
Thanking you
Arun

Check out how to compile other Orthanc plugins, as detailed in the Orthanc Book, instructions are always extremely similar:
https://book.orthanc-server.com/plugins.html#index-of-the-official-plugins

Then, you can contribute back by writing your achievement back to the Orthanc community, e.g. in the dedicated “OrthancContributed” GitHub repository:
https://github.com/jodogne/OrthancContributed

I would love to. Can you tell me if i should Rpi 64 bit OS or 32bit is ok(platform independent)

Both architectures should work similarly.