Bug 114 - Boost 1.68 don't support sha1 anymore
Summary: Boost 1.68 don't support sha1 anymore
Status: RESOLVED FIXED
Alias: None
Product: Orthanc
Classification: Unclassified
Component: Orthanc Core (show other bugs)
Version: unspecified
Hardware: All All
: --- normal
Assignee: Sébastien Jodogne
URL:
Depends on:
Blocks:
 
Reported: 2020-06-29 15:14 CEST by Sébastien Jodogne
Modified: 2020-06-29 15:22 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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