Saturday, May 9, 2009

A C++ comping error or something, could someone please help?

When I try to compile my simple C++ script(i'm a newbie), it gives me the following error: (There doesn't seem to be GNU make file in PATH or in Dev-C++'s Bin Path). Then it tells me something about adjusting bin settings or system environment variable. Can anyone help me with this? Seriously.

A C++ comping error or something, could someone please help?
Yes, but it hard to figure from your limited description what it is not finding. A couple of possibilities: (1) it is not finding the makefile; (2) it is not finding the program "make".





If you are not find the program then add the make program's path to your PATH variable.





If you actually have a makefile, and you are compiling from the current directory but it isn't finding it then either 1) prefix the path on the commandline (i.e. make -f ./makefile) or (2) add the shortcut to your current directory (".") to your path statement (e.g. PATH=$PATH:.)
Reply:Can you paste the code that you are using or the line that its referring to?


No comments:

Post a Comment