Compilation errors on Windows 8.1 (x64) platform

84 views
Skip to first unread message

marr...@gmail.com

unread,
Nov 30, 2014, 3:44:41 PM11/30/14
to orthan...@googlegroups.com
Hi,
I'm trying to build Orthanc by myself but I'm not able to do it.
The steps I followed are:
1) created a directory c:\myproject
2) downloaded source code c:\myproject\Orthanc
3) created the directory c:\myproject\OrthancBuild
4) installed CMake (cmake version 3.1.0-rc2)
5) installed Visual Studio Community Edition 2013 (version 12)
6) executed following commands:
6.a) cd c:\myproject\OrthancBuild
6.b) cmake -DSTANDALONE_BUILD=ON -DSTATIC_BUILD=ON -DALLOW_DOWNLOADS=ON -G "Visual Studio 12 2013" ..\Orthanc

This is the trace:

-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is MSVC 18.0.31101.0
-- Check for working C compiler using: Visual Studio 12 2013
-- Check for working C compiler using: Visual Studio 12 2013 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 12 2013
-- Check for working CXX compiler using: Visual Studio 12 2013 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file rpc.h
-- Looking for include file rpc.h - found
Using local copy of http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyD
ownloads/glog-0.3.2.tar.gz
Uncompressing glog-0.3.2.tar.gz
Using local copy of http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyD
ownloads/boost_1_55_0_bcpdigest-0.7.4.tar.gz
Uncompressing boost_1_55_0_bcpdigest-0.7.4.tar.gz
CMake Error at Resources/CMake/DownloadPackage.cmake:79 (message):
Error while running the uncompression tool
Call Stack (most recent call first):
Resources/CMake/BoostConfiguration.cmake:49 (DownloadPackage)
CMakeLists.txt:220 (include)


-- Configuring incomplete, errors occurred!
See also "C:/Users/user/Documents/Workspaces/orthanc/OrthancBuild/CMakeFiles/CMa
keOutput.log".

Where I'm wrong?
Thank you.
Michele

Sébastien Jodogne

unread,
Nov 30, 2014, 3:50:42 PM11/30/14
to orthan...@googlegroups.com, marr...@gmail.com
Hello,

The error "Error while running the uncompression tool" seems to indicate that you have not installed 7-zip.

Please check the dependencies in the INSTALL file:

Regards,
Sébastien-
Message has been deleted

marr...@gmail.com

unread,
Dec 2, 2014, 8:58:26 AM12/2/14
to orthan...@googlegroups.com, marr...@gmail.com
I checked the file "boost_1_55_0_bcpdigest-0.7.4.tar.gz" and its checksum was wrong. The file "boost_1_55_0_bcpdigest-0.7.4.tar.gz" must have a size of 5884518 bytes and a MD5 sum equal to "409f7a0e4fb1f5659d07114f3133b67b".
I manually removed the "ThirdPartyDownloads" and "OrthancBuild" folders and I started a fresh build, so everything was right.
Regards,
Michele

Sébastien Jodogne

unread,
Dec 3, 2014, 3:09:59 AM12/3/14
to orthan...@googlegroups.com, marr...@gmail.com
Fine!

Thanks for the feedback,
Sébastien-
Reply all
Reply to author
Forward
0 new messages