Mercurial > hg > orthanc
comparison INSTALL @ 2497:0611aa383e62
Upgrade to JsonCpp 1.8.4, and USE_LEGACY_JSONCPP option
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Mar 2018 15:27:00 +0100 |
parents | 630606097798 |
children | a4f885670da7 |
comparison
equal
deleted
inserted
replaced
2496:3d65adee289a | 2497:0611aa383e62 |
---|---|
73 | 73 |
74 Native Windows build with Microsoft Visual Studio | 74 Native Windows build with Microsoft Visual Studio |
75 ------------------------------------------------- | 75 ------------------------------------------------- |
76 | 76 |
77 # cd [...]\OrthancBuild | 77 # cd [...]\OrthancBuild |
78 # cmake -DSTANDALONE_BUILD=ON -DSTATIC_BUILD=ON -DALLOW_DOWNLOADS=ON -G "Visual Studio 8 2005" [...]\Orthanc | 78 # cmake -DSTANDALONE_BUILD=ON -DSTATIC_BUILD=ON -DALLOW_DOWNLOADS=ON -DUSE_LEGACY_JSONCPP=ON -G "Visual Studio 8 2008" [...]\Orthanc |
79 | 79 |
80 Then open the "[...]/OrthancBuild/Orthanc.sln" with Visual Studio. | 80 Then open the "[...]/OrthancBuild/Orthanc.sln" with Visual Studio. |
81 | 81 |
82 NOTES: | 82 NOTES: |
83 * More recent versions of Visual Studio than 2005 should also | 83 * More recent versions of Visual Studio than 2008 should also |
84 work. Type "cmake" without arguments to have the list of generators | 84 work. Type "cmake" without arguments to have the list of generators |
85 that are available on your computer. | 85 that are available on your computer. |
86 * You will have to install the Platform SDK (version 6 or above) for | 86 * You will have to install the Platform SDK (version 6 or above) for |
87 Visual Studio 2005: | 87 Visual Studio 2005: |
88 http://en.wikipedia.org/wiki/Microsoft_Windows_SDK. | 88 http://en.wikipedia.org/wiki/Microsoft_Windows_SDK. |
89 Read the CMake FAQ: http://goo.gl/By90B | 89 Read the CMake FAQ: http://goo.gl/By90B |
90 * The "-DUSE_LEGACY_JSONCPP=ON" must be set for versions of | |
91 Visual Studio that do not support C++11 | |
90 | 92 |
91 | 93 |
92 | 94 |
93 Cross-Compilation for Windows under GNU/Linux | 95 Cross-Compilation for Windows under GNU/Linux |
94 --------------------------------------------- | 96 --------------------------------------------- |