Bug 114

Summary: Boost 1.68 don't support sha1 anymore
Product: Orthanc Reporter: Sébastien Jodogne <s.jodogne>
Component: Orthanc CoreAssignee: Sébastien Jodogne <s.jodogne>
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   

Description Sébastien Jodogne 2020-06-29 15:14:43 CEST
[BitBucket user: Marek Kwasecki]
[BitBucket date: 2018-11-13.14:46:16]

If you try to compile Orthanc with system boost 1.68 you get compilation error as it doesn't support sha1 anymore.

```
fatal error: 'boost/uuid/sha1.hpp' file not found
#include <boost/uuid/sha1.hpp>
```
Comment 1 Sébastien Jodogne 2020-06-29 15:22:37 CEST
[BitBucket user: Marek Kwasecki]
[BitBucket date: 2018-11-13.16:13:46]

It seems that changing Core/Toolbox.cpp:44
```
#include <boost/uuid/detail/sha1.hpp>
```
fixes the compilation issue

OS: MacOS
Comment 2 Sébastien Jodogne 2020-06-29 15:22:38 CEST
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2018-11-13.16:50:12]

Fix issue #114

→ https://hg.orthanc-server.com/orthanc/changeset/89f2c302fc37
Comment 3 Sébastien Jodogne 2020-06-29 15:22:39 CEST
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2018-11-13.17:00:34]

Thanks for reporting the issue: It is now solved in the mainline, with backward compatibility for older releases of Boost