I am on windows 7. I downloaded the latest codeblocks-13.12mingw-setup.exe. Now the problem is I cant get my minimalist C++ application to run.
This is what my compiler configuration looks like. The image is attached.However when I attempt to build my c++ application I get the following error
-------------- Build: Debug in GNU64Test (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -Wall -std=c++98 -c C:\Users\Hsheikh\GNU64Test\main.cpp -o obj\Debug\main.o
C:\Users\Hsheikh\AppData\Local\Temp\ccGfntu5.s: Assembler messages:
C:\Users\Hsheikh\AppData\Local\Temp\ccGfntu5.s:2: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
This is my c++ code
#include <iostream>
int main()
{
std::cout << "Hello";
}
Any suggestions on why I might be getting that error ? Do I need to add linker settings or something else ?