I have a Orthnac instance builded. How can I start Orthanc Server?


I’ve recently installed and builded Orthanc Server following the instructions in the file Orthanc-0.8.5/LinuxCompilation.txt

This is the process that I have been doing

We now make the assumption that Orthanc source code is placed in the
folder “~/Orthanc” and that the binaries will be compiled to
“~/OrthancBuild”. To build binaries with debug information:

cd ~/OrthancBuild



make doc

And I arrive to this output in my console

[ 99%] Building CXX object CMakeFiles/OrthancClient.dir/glog-0.3.2/src/utilities.cc.o
[ 99%] Building CXX object CMakeFiles/OrthancClient.dir/glog-0.3.2/src/vlog_is_on.cc.o
Linking CXX shared library libOrthancClient.so
[ 99%] Built target OrthancClient
Scanning dependencies of target UnitTests
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/gtest-1.7.0/src/gtest-all.cc.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/DicomMapTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/FileStorageTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/FromDcmtkTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/MemoryCacheTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/PngTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/RestApiTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/SQLiteTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/SQLiteChromiumTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/ServerIndexTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/VersionsTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/ZipTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/LuaTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/MultiThreadingTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/UnitTestsMain.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/ImageProcessingTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/JpegLosslessTests.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/PluginsTests.cpp.o
[100%] Building CXX object CMakeFiles/UnitTests.dir/UnitTestsSources/PlustacheTests.cpp.o
Linking CXX executable UnitTests
libLua.a(loslib.c.o): In function os_tmpname': /home/bgarcial/OrthancBuild/lua-5.1.5/src/loslib.c:60: warning: the use of tmpnam’ is dangerous, better use `mkstemp’
[100%] Built target UnitTests

Now, I don’t know how can I start the Orthanc Server to access via web browser …

I’m see this https://code.google.com/p/orthanc/wiki/OrthancConfiguration for Confoguration … but I don’t understand execute the server.

Can someone help me about it please?

Thanks for the support. :slight_smile:

To start the Orthanc server with the default parameters after a fresh Linux build, you just have to type “./Orthanc” at the command prompt. Once Orthanc is running, open the URL “http://localhost:8042/” with Mozilla Firefox or Google Chrome to access the Web interface of Orthanc (aka. “Orthanc Explorer”).

To tune the options, first generate a sample configuration file with “./Orthanc --config=orthanc.json”. Secondly, edit the newly-created file “orthanc.json” to tune the options. Finally, start Orthanc with “./Orthanc orthanc.json”.

You can find more information at the following location:

Specifically, first check the “Orthanc cookbook”. You can also have a look at the following video that shows how to import DICOM files using Orthanc Explorer:


Thanks Sebastien for the information.
At moment I’m working and explore the server.
Best Regards :slight_smile:

I perform some upload of DICOM Files in my Orthanc Server and when I trying preview the instance, I see this message that the unsupported…
The DICOM Files I’ve download from this site http://www.osirix-viewer.com/datasets/ just in case that this detail are useful in some way …

Hello Bernardo,

The sample images from OsiriX are all encoded using JPEG2k, except for the BRAINIX and KNIX datasets. But, JPEG2k is not natively supported by Orthanc, as the DCMTK project (upon which Orthanc is built) does not provide freely this decoder. This is not a huge problem in practice, since the DICOM modalities in hospitals generally do not compress their images.

You have 3 possibilities:

  1. Use other sample datasets. Check for instance the wiki of the GDCM project [1,2].
  2. Buy the JPEG2k decoder for DCMTK from Offis [3].
  3. Create a C++ plugin for Orthanc that replaces the default image decoding from DCMTK by GDCM [4], since GDCM supports JPEG2k out-of-the-box.
    Option (1) is of course the most direct solution, provided you do not need to support JPEG2k in your medical routine.


[1] http://gdcm.sourceforge.net/wiki/index.php/Sample_DataSet
[2] http://www.creatis.insa-lyon.fr/~jpr/PUBLIC/gdcm/
[3] http://dicom.offis.de/dcmjp2k.php.en
[4] http://www.codeproject.com/Articles/797118/Implementing-a-WADO-Server-using-Orthanc

Thanks Sebastien for your support. I was interested in know the reasons :slight_smile: