Issue
So, I was trying to compile dlib but it spitted out many errors. Appearently, my cpp files are broken.
Even as simple as compiling a cout << "Hello World";
with g++ resolves in issues.
Here's the log:
Is there any way to "restore" broken cpp files? I haven't really messed around with the libraries.
Yes, I WANT TO reinstall (remove/install) CPP 11 libs. I just don't know, how. I tried apt install --reinstall and dpkg-reconfigure and everything.
Thank you in advice
Solution
So, I got it.
For everyone wondering, I went to my windows pc, which had wsl on it.
I scp'd the entire /usr/include/c++/11 directory to myself and replaced. Now everything works. Like a dirty wooden-hammer solution, but it's a solution
Answered By - Ven Answer Checked By - Timothy Miller (WPSolving Admin)