+ 1
pthread missing in code::blocks
So, I downloaded code:blocks (nosetup one) and followed the instructions to the point where I wanted to "build and run" Hello World, but it says Fatal error, -Ipthread is missing.... any suggestions?
1 Antwort
+ 1
You need set the option compilation like this.
g++ -o myprogram -pthread source.cpp