I'm currently developing an multithreaded application for Linux in VS 2017.
As Remote Linux machine I use built-in Ubuntu bash in Windows, which was the part of anniversary update.
Compilation goes fine, the build is succesful. But right after running the program following error occurs.
terminate called after throwing an instance of 'std::system_error'
what(): Enable multithreading to use std::thread: Operation not permitted
I tried to fiddle with linking and compilation settings. But I just blew the entire project.
Did anybody encountered and solved this kind of problem? Thanks.
Edit: this thread was flagged as duplicate. Let me explain why I think this is different. I'm developing on Windows host with VS2017, and Im trying to achieve working debugging in VS2017. I cannot edit directly the compilation routine commands as in suggested duplicate thread.