Hi there,
I am trying to compile devcpp project that contains one source file helloworld.cpp
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
system("PAUSE");
return 0;
}
I get this error: C:\Dev-Cpp\Makefile.win [Build Error] [helloworld.o] Error 1
Compile log is as follows:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -D__DEBUG__ -c helloworld.cpp -o helloworld.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -lglut32 -lglu32 -lopengl32 -lwinmm -lgdi32 -g3
g++.exe: helloworld.cpp: No such file or directory
make.exe: *** [helloworld.o] Error 1
Execution terminated
Does anyone know what is the problem and how do I fix it?