# HG changeset patch # User Sebastien Jodogne # Date 1366357574 -7200 # Node ID dfbd3989a3f9017d7371600ea67c5c2f882ae8aa # Parent 37f3e20b5add4f33aca705eadba805ba35ee7e3f install update diff -r 37f3e20b5add -r dfbd3989a3f9 INSTALL --- a/INSTALL Wed Apr 17 14:01:10 2013 +0200 +++ b/INSTALL Fri Apr 19 09:46:14 2013 +0200 @@ -69,6 +69,23 @@ +Native Windows build with Microsoft Visual Studio 2005 +------------------------------------------------------ + +# cd [...]\OrthancBuild +# cmake -DSTANDALONE_BUILD=ON -G "Visual Studio 8 2005" [...]\Orthanc + +Then open the "[...]/OrthancBuild/Orthanc.sln" with Visual Studio. + +NOTES: +* More recent versions of Visual Studio should also work. +* You will have to install the Platform SDK (version 6 or above) for + Visual Studio 2005: + http://en.wikipedia.org/wiki/Microsoft_Windows_SDK. + Read the CMake FAQ: http://goo.gl/By90B + + + Cross-Compilation for Windows under Linux ----------------------------------------- @@ -90,36 +107,6 @@ -Native Windows build with Microsoft Visual Studio 2005 ------------------------------------------------------- - -# cd [...]\OrthancBuild -# cmake -DSTANDALONE_BUILD=ON -G "Visual Studio 8 2005" [...]\Orthanc - -Then open the "[...]/OrthancBuild/Orthanc.sln" with Visual Studio. - -NOTES: -* More recent versions of Visual Studio should also work. -* You will have to install the Platform SDK (version 6 or above) for - Visual Studio 2005: - http://en.wikipedia.org/wiki/Microsoft_Windows_SDK. - Read the CMake FAQ: http://goo.gl/By90B - - - -Debian/Ubuntu specific ----------------------- - -When dynamically linking against the system libraries, you have to -manually add the "wrap" and "oflog" libraries at the configuration -time (because of a packaging error in "libdcmtk"): - -# cd ~/OrthancBuild -# cmake "-DDCMTK_LIBRARIES=wrap;oflog" -DSTATIC_BUILD=OFF -DCMAKE_BUILD_TYPE=Debug ~/Orthanc -# make - - - Using ccache ------------ @@ -130,3 +117,10 @@ # CC="ccache gcc" CXX="ccache g++" cmake "-DDCMTK_LIBRARIES=wrap;oflog" \ -DSTATIC_BUILD=OFF -DCMAKE_BUILD_TYPE=Debug ~/Orthanc + + +Troubleshooting +--------------- + +The build instructions for specific Linux distributions are available at the following place: +https://code.google.com/p/orthanc/wiki/FAQ#I_use_the_Linux_distribution_XXX,_how_can_I_build_Orthanc?