954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Dev c++ makefile.win error1

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?

IcantC
Newbie Poster
15 posts since May 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: