User forums > Help
Help!My codeblocks cannot build any C++ code
(1/1)
Rukuy:
Error as follows:
||=== Build file: "no target" in "no project" (compiler: unknown) ===|
ld.exe||cannot find -lpthread|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|
The code is very simple:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
I am new,I donnot how to solve
Please help me.Thanks
ravenspoint:
Have you looked at, and followed, this help in the wiki?
http://wiki.codeblocks.org/index.php/Creating_a_new_project
Navigation
[0] Message Index
Go to full version