Yes thanks
If I think it’s possible,
I have compiled the sources of Orthanc 1.3.2 then built the Configration.json
Then download the Osimis Web Viewer sources and follow the Compilation procedure mentioned in this thread by Sebastien in response to Alberto.
I do not know if I should configure something in the frontend
Sebastien, Alain
Thanks for the support.
I solved it.
Luege of tests and analysis I discovered the cause.
When I paste the code from bitbucket to the osimis-webviewer-plugin, this was inserted:
// Preload high quality images on the frontend before the user actually
// needs them
“HighQualityImagePreloadingEnabled”: true
}
} <<<<<<< I think that caused the json parsing to stop there and not reach the authentication part that was lower in the Configuration.json code
I generated a new json and reviewed the code. Then I started the service and … WORK
I had compiled the 0.7.0 version of osimis-webviewer-plugin for raspberry pi and has been using the same for quite sometime. Then I decided to upgrade my installation of Orthanc and came to know the later build of the plugin available. I tried compiling it on RaspberryPi but found that the memory on RPi is insufficient for the job. So I set up Ubuntu on VirtualBox for cross compiling for Rpi as in " https://stackoverflow.com/questions/19162072/how-to-install-the-raspberry-pi-cross-compiler-on-my-linux-host-machine#19269715 ". I confirmed that it is working. My compilation stopped at 99% with the following -
[ 95%] Built target UnitTests
[ 95%] Checking if re-generation is required
[ 96%] Built target EmbeddedResourcesGenerator
[ 97%] Building CXX object CMakeFiles/OsimisWebViewer.dir/AUTOGENERATED/EmbeddedResources.cpp.o
[ 98%] Building CXX object CMakeFiles/OsimisWebViewer.dir/WebViewerPlugin/WebViewer.cpp.o
In file included from /media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerPlugin/WebViewer.h:6:0,
from /media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerPlugin/WebViewer.cpp:1:
/media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerLibrary/AbstractWebViewer.h:46:63: warning: ‘auto_ptr’ is deprecated (declared at /media/harkant/raspberrypi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include/c++/4.8.3/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
virtual std::auto_ptr _createConfig();
^
In file included from /media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerPlugin/WebViewer.cpp:9:0:
/media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerPlugin/Version.h:45:57: note: #pragma message: version = 1.1.0.1.1.0-1.1.0 #pragma message("version = " PRODUCT_VERSION_FULL_STRING)
^
/media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerPlugin/Version.h:46:142: note: #pragma message: build date = 2018/09/06 #pragma message("build date = " PRODUCT_VERSION_BUILD_YEAR_STRING “/” PRODUCT_VERSION_BUILD_MONTH_STRING “/” PRODUCT_VERSION_BUILD_DAY_STRING)
^
[ 99%] Building CXX object CMakeFiles/OsimisWebViewer.dir/WebViewerPlugin/Plugin.cpp.o
In file included from /media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerPlugin/WebViewer.h:6:0,
from /media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerPlugin/Plugin.cpp:22:
/media/harkant/raspberrypi/osimis-osimis-webviewer/backend/WebViewerLibrary/AbstractWebViewer.h:46:63: warning: ‘auto_ptr’ is deprecated (declared at /media/harkant/raspberrypi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/include/c++/4.8.3/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
virtual std::auto_ptr _createConfig();
^
[ 99%] Linking CXX shared library libOsimisWebViewer.so
/media/harkant/raspberrypi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/…/lib/gcc/arm-linux-gnueabihf/4.8.3/…/…/…/…/arm-linux-gnueabihf/bin/ld: /media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-gen_uuid.o)(.text+0x648): R_ARM_TLS_LE32 relocation not permitted in shared object
/media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-gen_uuid.o): In function __uuid_generate_time': (.text+0x648): dangerous relocation: unsupported relocation /media/harkant/raspberrypi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: /media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-gen_uuid.o)(.text+0x64c): R_ARM_TLS_LE32 relocation not permitted in shared object /media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-gen_uuid.o): In function __uuid_generate_time’:
(.text+0x64c): dangerous relocation: unsupported relocation
/media/harkant/raspberrypi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/…/lib/gcc/arm-linux-gnueabihf/4.8.3/…/…/…/…/arm-linux-gnueabihf/bin/ld: /media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-gen_uuid.o)(.text+0x9bc): R_ARM_TLS_LE32 relocation not permitted in shared object
/media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-gen_uuid.o): In function uuid_generate_time_generic': (.text+0x9bc): dangerous relocation: unsupported relocation /media/harkant/raspberrypi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: /media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-randutils.o)(.text+0x14c): R_ARM_TLS_LE32 relocation not permitted in shared object /media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-randutils.o): In function random_get_fd’:
(.text+0x14c): dangerous relocation: unsupported relocation
/media/harkant/raspberrypi/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/…/lib/gcc/arm-linux-gnueabihf/4.8.3/…/…/…/…/arm-linux-gnueabihf/bin/ld: /media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-randutils.o)(.text+0x2b8): R_ARM_TLS_LE32 relocation not permitted in shared object
/media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libuuid.a(libuuid_la-randutils.o): In function random_get_bytes': (.text+0x2b8): dangerous relocation: unsupported relocation /media/harkant/raspberrypi/raspberrypi/rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dladdr.o): In function dladdr’:
(.text+0x0): undefined reference to `__dladdr’
collect2: error: ld returned 1 exit status
CMakeFiles/OsimisWebViewer.dir/build.make:157: recipe for target ‘libOsimisWebViewer.so.1.1.0’ failed
make[2]: *** [libOsimisWebViewer.so.1.1.0] Error 1
CMakeFiles/Makefile2:218: recipe for target ‘CMakeFiles/OsimisWebViewer.dir/all’ failed
make[1]: *** [CMakeFiles/OsimisWebViewer.dir/all] Error 2
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2
I know this is a RPi problem, Hope you can help me out with this.
Managed to compile Osimis Webviewee Plugin for Raspbian using the Raspberry Cross compiler setup in a Ubuntu virtual machine on a Mac and running the cross compiler as in 'https://www.get-edi.io/Cross-Compiling-for-Raspbian/'.
Had to import the uuid-dev libraries from my Raspbian to the lxd container running the cross compiler.
Hello,
please can you help me with an actual command for compile, because I try this and I get errors… I think 1.2.0 is the actual version for Osimis web viewer (I changed also version 1.1.0 to 1.2.0)
CMake Error at Resources/CMake/DownloadOrthancFramework.cmake:54 (message):
The variable ORTHANC_FRAMEWORK_VERSION must be set
Call Stack (most recent call first):
WebViewerLibrary/WebViewerLibrary.cmake:45 (include)
CMakeLists.txt:39 (include)
I think 1.2.0 is the actual version for Osimis web viewer (I changed also version 1.1.0 to 1.2.0), but I try in both cases.
luni, 14 mai 2018, 10:26:37 UTC+3, Sébastien Jodogne a scris:
Also, if you are comiling For Centos and not familiar with compiling or don’t want/need to, you can try the already compiled LSB version, works well: http://lsb.orthanc-server.com
Hello
In fact I want to install orthanc server+ plugins on a Synology NAS (DS1618+ with INTEL Atom C3538 inside) and I used compiled version from http://lsb.orthanc-server.com, but I didn’t find a compiled version for Osimis Web Viewer.
I installed a package “Orthanc” from Synology official repository (but the only version is 1.3.0005) After that I stop running this package and I replace the original files with the new downloaded files from http://lsb.orthanc-server.com. It seems to work fine. Probably that I have a intel x64 processor inside.
I’m not able to make a new package for synology…
marți, 22 ianuarie 2019, 02:34:31 UTC+2, Bryan Dearlove a scris:
These responses are so frustrating to read as a radiologist without much tech background.
Why not make a precompiled plugin available to download? Instead of having to google the right way to compile every time. It is not a logical solution if you have to copy the right way to do it.
So frustrating =(
So you complain that a precompiled binary is not available by replying to my message that gives the link to the precompiled binary … so frustrating for us …
I did download it before, then put it into the “Plugins” folder, and then I put the plugin path in the Configuration.json file. It didn’t work.
There was only the Orthanc Web Viewer button available to click.
Then I disabled the "libOrthancWebViewer.co plugin, because maybe both web viewers didn’t work together… Then the yellow web viewer button disappeared.
What step did I miss? I noticed all plugins (that were already in the Plugin folder) had symbolic links in that same… Don’t know why. Maybe I should create a symbolic link for that new plugin? Why? How? =(
I am running the 1.4.2 Orthanc version, which I cannot update because it is installed from a qpkg file on my NAS (1.4.2 is the last version).
Then I though that maybe the issue was the 1.4.2. version. I then proceeded to install the last version of Orthanc in a windows PC in my local network, which is supposed to be the easiest way because the installation file already has all the plugins. If that worked, I might be able to run Orthanc in a Windows VM on my NAS, although it is not the most efficient way to/ run a PACS server. But for some reason, even though Remote Access is “true” and I can make the PCs ping each other in the LAN network, I can’t access Orthanc from other computers using the 192.168.0.39:8042 address. Just from the same PC using localhost:8042. No response at all from other computers. =(
I’d like to try and help you as well. Would you mind:
Sending your configuration file?
Perform a “realpath” on the plugin file? To do that, go to your favorite terminal, type realpath followed by the name of the actual plugin file. For example, assuming your file is saved in Downloads folder at your $HOME directory, then:
$ realpath Downloads/plugin.so
Should output something like:
/home/youruser/Downloads/plugin.so
I’m interested in that output.
Also, I’m gonna need logs. To do that, start Orthanc like so:
$ Orthanc --logfile=$HOME/Orthanc.log
This will create an Orthanc.log file in your $HOME directory. Be careful not to overwrite any pre-existing files you might have a need for. With that, I’ll be able to help you out.
All in all, I would refrain from running similar plugins, like two webviewers, to avoid path clashing from both trying to register, say, the “/web/studies” path. As far as I know, the results are unpredictable. Actually I never tried it.
But am getting error downloading Orthanc Source repository
cmake … -DCMAKE_BUILD_TYPE=Release -DSTANDALONE_BUILD=ON -DVIEWER_VERSION_FULL=1.3.1 -DORTHANC_FRAMEWORK_VERSION=1.9.1 -DJS_CLIENT_PATH=pwd/frontend-build
– The C compiler identification is GNU 10.2.0
– The CXX compiler identification is GNU 10.2.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
Forking the Orthanc source repository using Mercurial
abort: HTTP Error 404: Not Found
CMake Error at Resources/CMake/DownloadOrthancFramework.cmake:189 (message):
Cannot fork the Orthanc repository
Call Stack (most recent call first):
WebViewerLibrary/WebViewerLibrary.cmake:45 (include)
CMakeLists.txt:39 (include)
– Configuring incomplete, errors occurred!
See also “/home/…/osimis-webviewer-plugin/backend/build/CMakeFiles/CMakeOutput.log”.