supranational / supra_seal

Apache License 2.0
32 stars 21 forks source link

Build errors on Ubuntu 20.04 and GCC 9 #6

Closed ramin-raeisi closed 1 year ago

ramin-raeisi commented 1 year ago

Hi,

I had build errors, so I installed gcc-11, yet still two modifications were still needed as follow:

  1. Adding -lpthread to https://github.com/supranational/supra_seal/blob/main/build.sh#L192 line due to undefined reference to pthread_create
  2. Adding -std=c++17 to https://github.com/supranational/supra_seal/blob/main/build.sh#L196 due to C++ compilation errors

Finally it successfully got built.

dot-asm commented 1 year ago

Thanks!