Programming with the Dev. Classes tab shows the functions of the program. Debug tab shows watched.
Hi again everyone, Im running into big trouble with my compiler Dev-C++, every time i compile any project, whether it is 1 im working on, or a completely fresh 1 I get the same error every single time, I have been on the bloodshed forums and IRC channel but Im not getting anywhere with it.I am interested in working with Windows Programming in C/C++ at the moment and every project I try to compile gives the same error. C: Dev-Cpp Current_Project Makefile.win [Build Error] [main.o] Error 1 and this is my compile log Compiler: Default compiler Building Makefile: 'C: Dev-Cpp Current_Project Makefile.win' Executing make. Make.exe -f 'C: Dev-Cpp Current_Project Makefile.win' all g++.exe -D__DEBUG__ -c main.cpp -o main.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' -pg -g3 The system cannot find the path specified. Make.exe: *** [main.o] Error 1 Execution terminated I have tried many times re-installing the program aswell as re-configuring it and installing with fresh configurations etc.nothing seems to work, I get the same error over and over again.anyone know why or how to overcome it? Is C: Dev-Cpp bin in your path? C: Test GnuC>path PATH=C: WINNT system32;C: WINNT;C: WINNT System32 Wbem;C; icc bin;C: Dev-Cpp bin;C: BC5 BIN;C: watcom BINNT;C: watcom BINW;c: Perl bin;C: Program Files ActiveState Komodo 3.1;C: Program Files Common Files GTK 2.0 bin;C: Program Files Common Files Autodesk Shared;C: Program Files Autodesk DWG TrueView. Tool;C: Program Files doxygen bin;C: Program Files Subversion bin;C: Program Files Microsoft Visual Studio Common Tools WinNT;C: Program Files Microsoft Visual Studio Common MSDev98 Bin;C: Program Files Microsoft Visual Studio Common Tools;C: Program Files Microsoft Visual Studio VC98 bin;C: Program Files Microsoft Visual Studio Common IDE IDE98;C: Program Files vslick win;C: NECTOOLS BIN.
Tool;C: COSMIC EVAL08;c: nectools32 bin. Yes I have checked all of the paths and they all exist.this even happens when I compile a project from scratch.ie.
C: Dev-Cpp New_Project Makefile.win [Build Error] [main.o] Error 1 Compiler: Default compiler Building Makefile: 'C: Dev-Cpp New_Project Makefile.win' Executing make. Make.exe -f 'C: Dev-Cpp New_Project Makefile.win' all gcc.exe -c main.c -o main.o -I'C:/Dev-Cpp/include' The system cannot find the path specified. Make.exe: *** [main.o] Error 1 Execution terminated Dave what do you mean by is C: Dev-Cpp bin in my path?
And what is all of that within the code box? I thought it may have come from command prompt or something like that so i tried typing.
C: >path PATH=C: WINDOWS system32;C: WINDOWS;C: WINDOWS System32 Wbem C: >I dont have a clue what any of that is for, could you explain it? Edited 5 Years Ago by diafol: fixed formatting. Add c: Dev-Cpp bin to your path. (But it does appear to find the make utility, which I would assume is in the same directory, so I'm reaching for straws.) I use XP Pro too.
You might also check the length of the PATH environment variable. On my computer it's so long that there isn't any room left to add more. So I have a batch file to truncate the PATH to bare necessity so that I can run other command-line programs from command prompt. Look at the end of the PATH as shown in command prompt -- if the last path isn't all there, then you probably have to same problem that I do. I save all the files like the source, resource, header and all the files created by the compiler in the same directory, 'C: Dev-Cpp ' from which I create a another directory depending on what Im creating for example 'C: Dev-Cpp New_Project' is where I have saved all the files of a brand new project.and here is what main.cpp contains.
So you're saying that you are saving main.cpp in the compiler's home directory 'C: Dev-Cpp '? African Bible College Masters Program. First, that a practice I generally avoid. Though I doubt it's the problem here.
It looks to me that the make utility is not finding the source file. Could you post your makefile and.dev file? And state which directory these are in? And am I correct in understanding that you have main.cpp saved in 'C: Dev-Cpp '? Thanks, I have did that, It has been added to path successfully but Dev-C++ still doesnt work. I have rebooted as soon as i added C: Dev-Cpp bin; to path but the error is still the same.any mroe suggestions?