BioinformaticsToolsmith / Identity

Other
33 stars 3 forks source link

Compilation error #1

Closed kloetzl closed 3 years ago

kloetzl commented 3 years ago
error: ‘sleep_for’ is not a member of ‘std::this_thread’
  368 |                                 std::this_thread::sleep_for(std::chrono::seconds(1));
      |

This can be fixed by including and/or .

hani-girgis commented 3 years ago

Hi there.

Can you please provide information on the compiler and the operating system you are using?

Best regards.

kloetzl commented 3 years ago
$ uname -a
Linux AlAnfa 5.12.9-arch1-1 #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000 x86_64 GNU/Linux

$ g++ --version
g++ (GCC) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Hang on, I just realized that github deleted some crucial parts of my comment. The <thread> include is missing.

hani-girgis commented 3 years ago

Hello, again.

Yes, some includes were missing — and have been added. Please download and compile identity again and let me know if you still have any issues.

Best regards.

kloetzl commented 3 years ago

Yep, compiles. :+1: