entropy
entropy copied to clipboard
Compiling under Debian 10.11 (Buster)
do not forget -lstdc++fs in the one line compilation directive:
g++ -std=c++2a -o entropy entropy.cpp -lstdc++fs
Also, using std::setprecision requires:
#include
Thanks, man. These are probably required in your case because C++20 is not fully implemented in your g++
version. What is it by the way? Is it earlier than v9? Anyway, I'll check how I can support that in CMake. 😉
Thanks Fernando, my Debian was: Debian GNU/Linux 10.5.0 Buster g++ (Debian 8.3.0-6) 8.3.0
after upgrade to Debian GNU/Linux 11 (bullseye) compilation is without any problems. g++ (Debian 10.2.1-6) 10.2.1 20210110
Thanks!