c++ – std::this_thread::sleep_for doesnt exist – Windows 10 g++
c++ – std::this_thread::sleep_for doesnt exist – Windows 10 g++
I went back to replit.com to see what they were doing to compile the program. Apparently they used the -pthreads
switch:
g++ -pthread -std=c++17 -o main main.cpp
Which now works for me.
c++ – std::this_thread::sleep_for doesnt exist – Windows 10 g++
Related Posts
- pip not working in Python Installation in Windows 10
- pip – windows Pycharm project interpreter nothing to show
- Pip.exe from Python on Windows 10
- pip – Solving install issues with Python 3.4 on Windows
- How do you run a Python script as a service in Windows?
- windows – Python official installer missing python27.dll
- How to stop Python closing immediately when executed in Microsoft Windows