I am trying to build orthanc-dicomweb on a vagrant ubuntu/trusty64 box which uses ubuntu 14.04.2. I tried following the instructions for Ubuntu 13.10 and while Orthanc built successfully, the orthanc-web plugin failed (I tried both the Generic Linux and Dynamic Linking instructions). Before I spend time trying to get this work, I figured I would ask what OS is recommended for building the othanc-dicomweb plugin. If I know this, I can probably find a vagrant box that matches and that should make the build go more smothly. If anyone wants to try and help me get the vagrant VM going, you can find it here:
I am currently on vacation for 1 week, but just a notice that might help in the meantime: I mainly develop Orthanc and its official plugins on a Ubuntu 12.10 box.
I have also been unsuccessful with both dynamic and static linking, for both the webviewer and dicomweb plugins.
If I understand correctly, to build plugins, GDCM (Grassroots DICOM) and VTK are needed?
There is no apt GDCM package for Ubuntu 14.04 as such, but the individual libraries can be installed, but the build can’t find some of them. Should GDCM be compiled from source?
Some of the errors I get are for GDCM bindings to php, vtk … are these necessary for Orthanc plugins?
Perhaps Sébastien can share some tips on his build process/dependencies when he gets back.
OK I give up trying to get this to build on Linux. Would love to get your help when your back from vacation getting this vagrant build going - I think it will help many others if we can do it!
This very strange, as the official plugins build on a large range of OS, including Windows and FreeBSD... Maybe I have forgotten to commit some file. Could you send the build commands and logs? I will give a look asap.
CMake is failing because it can’t find the orthanc plugin headers:
==> default: – Looking for C++ include orthanc/OrthancCPlugin.h
==> default: – Looking for C++ include orthanc/OrthancCPlugin.h - not found
==> default: CMake Error at CMakeLists.txt:71 (message):
==> default: Please install the headers of the Orthanc plugins SDK
I am using a dynamic build which looks for them in a folder named “orthanc” but this doesn’t exist. I am building orthanc from source right before this and those files are in the Plugins/Include directory - should I copy them somewhere else?
I got this to work by copying the orthanc plugin files to a folder and specifying that folder as a command line argument to CMAKE. I don’t know if this is the right way to do it, but it works. You can try it out here:
Could you kindly provide the compiled lib/dll of orthanc-webviewer? It is really a lot of trouble to set up the environment and build it, especially in windows environment. It would be a easy start for users who want to try it out!
Sorry for the mistake, actually I mean the compiled dll of dicom-web, the Orthanc plugin (https://bitbucket.org/sjodogne/orthanc-dicomweb/src). I am trying to build it in windows environment but bumped into a lot of problems.
This link is only valid until June 12nd, 2015. Indeed, it is currently impossible to upload files to SourceForge. As recommended by the GIMP team, I am now seriously considering leaving SourceForge, because of their bad service.
Please also note that this a development snapshot, and that I have not tested it.