bert.cpp icon indicating copy to clipboard operation
bert.cpp copied to clipboard

Examples CMakeLists.txt with -lrt required for some versions of ld

Open Thireus opened this issue 2 years ago • 0 comments

Some versions of ld are causing the following issue: undefined reference to `clock_gettime'

https://stackoverflow.com/questions/2418157/c-error-undefined-reference-to-clock-gettime-and-clock-settime

Can be replicated with "conda install -c conda-forge gxx_linux-64", which uses "GNU ld (GNU Binutils) 2.39".

Thireus avatar May 18 '23 17:05 Thireus