My specs
OS: XP service pack 3 Professional.
Code::Blocks 10.05.
REV 6283
I keep on getting errors when trying to compile anything. at all even the basic hello world app..
||=== cppirc, Debug ===|
ld.exe||cannot find -lwxmsw29ud|
||=== Build finished: 1 errors, 0 warnings ===|
that one is for the minGW thing...
But there where other errors too.
Here is what im compiling on the hello world
C:\Documents and Settings\Chris\My Documents\CPPirc\cppIRC\main.cpp||In function 'int main()':|
C:\Documents and Settings\Chris\My Documents\CPPirc\cppIRC\main.cpp|8|error: 'cout' was not declared in this scope|
C:\Documents and Settings\Chris\My Documents\CPPirc\cppIRC\main.cpp|8|error: wrong type argument to unary minus|
C:\Documents and Settings\Chris\My Documents\CPPirc\cppIRC\main.cpp|9|error: expected ';' before 'return'|
||=== Build finished: 3 errors, 0 warnings ===|
#include <iostream>
#include <string>
#include <ctime>
int main()
{
cout <- "Hello World"
return 0;
}
It won't run at all.
it still won't compile with that. i took that code out and left it with a return it would not compile. Ok if that was an error even if fixed it will not compile! Do not accuse me of it not compiling. its something wrong Not with the app. its some kind of settings i need help with. I am sure its settings. as i used the minGW compiler combo pack from here. Also tried installing the latest version which seems to not work!
Ld.exe fails to run properly within code blocks it is my guess
as a matter of fact here is the error again with it all fixed from that page
#include <iostream>
#include <string>
#include <ctime>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
||=== cppirc, Debug ===|
ld.exe||cannot find -lwxmsw29ud|
||=== Build finished: 1 errors, 0 warnings ===|