Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG#2024] fixed crypto/Qt version issues for ubuntu 20.04 compile. #2025

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If you use Linux the setup would be much easier, simply run these commands:

```bash
sudo apt-get install -y git cmake make g++
sudo apt-get install -y qt5-default libqt5svg5-dev
sudo apt-get install -y qt5-default libqt5svg5-dev libcrypto++-dev
```

> NOTE: We highly recommend to use **Ubuntu 20.04 (or above)** whenever possible.
Expand Down
4 changes: 2 additions & 2 deletions zenovis/xinxinoptix/OptiXStuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -849,8 +849,8 @@ inline void calc_sky_cdf_map(cuTexture* tex, int nx, int ny, int nc, std::functi
}

static std::string calculateMD5(const std::vector<char>& input) {
CryptoPP::byte digest[CryptoPP::Weak::MD5::DIGESTSIZE];
CryptoPP::Weak::MD5().CalculateDigest(digest, (const CryptoPP::byte*)input.data(), input.size());
unsigned char digest[CryptoPP::Weak::MD5::DIGESTSIZE];
CryptoPP::Weak::MD5().CalculateDigest(digest, (const unsigned char*)input.data(), input.size());
CryptoPP::HexEncoder encoder;
std::string output;
encoder.Attach(new CryptoPP::StringSink(output));
Expand Down
Loading