Menu

Problem opening Dev

2005-03-21
2012-09-26
1 2 > >> (Page 1 of 2)
  • Nobody/Anonymous

    Whenever I try to open Dev-C++, I recieve this error in a message box:

    There doesn't seem to be a GNU Make file in PATH or in Dev-C++'s Bin path. Please make sure that you have GNU Make and adjust Bin setting or system PATH environment variable and that make setting in Compiler Option contains correct filename, otherwise you will not be able to comple anything.

    Now this seems like a pretty obvious problem to fix, just change PATH in the environment variables, however, PATH is infact correct and does point to the folder containing make.exe (C:\Dev-C++\bin), but that doesn't work.

    The other problem comes when trying to edit the Compiler Option variable. On pressing 'Ok' on the message box containing that error, Dev closes itself, so I don't get a chance to reach the Compiler Options.

    I thought this problem could be fixed by a simple reinstall. However, after three reinstalls, following instructions given in the FAQ, to the letter, making sure that the files devcpp.ini and devcpp.cfg. Aswell as running the uninstall program (following step by step though), I still cannot start dev-c++ and recieve the same error message.

    I would be very grateful of any help that anyone can provide and will be forever in your debt.

    Chris W

     
    • Nobody/Anonymous

      Oh sorry, it is dev-cpp, I was just thinking along the lines when I was writing that message, of it being called dev-c++ and so wrote that in the message. Sorry, my mistake.

      I'm going to sound stupid here, but what is FULL?

      Thanks for the quick response by the way.

      Chris W

       
    • Wayne Keen

      Wayne Keen - 2005-03-21

      "following instructions given in the FAQ, to the letter"

      NO YOU DID NOT! ACK!!! HIT YOURSELF OVER THE HEAD TEN TIMES WITH A BASEBALL BAT! HARD. IT SHOULD HURT. REALLY BADLY. HOSPITALIZATION IS NOT TOO HARD.

      The direction you claim to have followed "to the letter" state quite strongly that, if one still has problems, one should report, step by step what they did. Including logs and all pertinent information. This is vitally importantm and you completely ignored it. Take an F- for attention to detail.

      Try again, and please, follow directions this time.

      Wayne

       
    • Nobody/Anonymous

      My head is nicely bandaged up now Wayne, thankyou for the advice to repeatedly hit myself, I think it might have done some good.

      Unfortunately, I cannot get logs, because I can't even get into Dev-C++, it closes down straight away after the message box is shown.

      I did follow directions, but appologies for not saying everything.

      Here goes:

      1. Ran uninstall from c:\Dev-Cpp. It ran fine no problems as far as I could tell.

      2. Deleted the directory and all files under it.

      3. Ran the windows search tool for devcpp.ini and for devcpp.cfg. Found both. Deleted both.

      4. Restarted the computer. Windows loaded up fine and with no problems.

      5. Redownloaded dev-c++ 4.9.9.2, the full version.

      6. Ran the install program (twice in fact, but I repeated all of the above steps to uninstall inbetween). Letting it install to where it wanted, c:\Dev-Cpp.

      7. Tried to open up dev again, recieved the same error:

      'There doesn't seem to be a GNU Make file in PATH or in Dev-C++'s Bin path. Please make sure that you have GNU Make and adjust Bin setting or system PATH environment variable and that make setting in Compiler Option contains correct filename, otherwise you will not be able to comple anything. '

      The only button available to press was Ok and on pressing it, dev closed itself down. I did this three or four times, recieving the same error each time and each time, dev closed itself.

      I restarted Windows and tried again, but still it didn't work.

      1. Because the error message says that the environment variable PATH is incorrect, I went and checked that.

      The variable PATH was 'c:\Dev-Cpp\bin', which is as far as I can tell, the correct path. Just for good measure, I tested it as 'c:\Dev-Cpp\bin\', just in case I required the extra '\' at the end, but it still didn't work and I still recieved the same error, so I changed it back.

      1. I came here...

      Chris W

       
    • Wayne Keen

      Wayne Keen - 2005-03-21

      "Ran the windows search tool for devcpp.ini and for devcpp.cfg. Found both. Deleted both. "

      Now, I won't suggest any blunt objects, but let me ask this. Did you do a more general search than just for these files?

      The reason? Sometimes partial installs can linger in strange directories, like c:\program, and you want to make sure, as part of the process, that you ruthlessly eliminate all vestiages of Dev before installing anew.

      You would be suprised how many times I have heard someone tell me "I sure didn't think there was Dev on here before I installed"...

      Wayne

       
    • Wayne Keen

      Wayne Keen - 2005-03-21

      By the way, there is an option in the 4.9.9.2 installer where it offers to do away with all of the configuration files for your. Did you see this?

      Two more:

      Do you have a Borland product in your path?

      What anti-virus are you running?

      Wayne

       
    • Nobody/Anonymous

      On the search, I looked for anything with 'dev' in its name.

      As my computer has recently just been cleared, I assumed that anything with that in there, would be related to dev-c++.

      However, you were right, there were a couple of lingering files.

      Somehow they had found their way onto a non-existant drive, and though the files themselves were just about 2k, they were taking up 600mb. Kind of expensive on a 1.5gig laptop, running XP.

      Anyway, thats allowed me to open up the dev IDE, so that should be useful.

      Unfortunaely, this leaves me yet more perplexed, as the programs in the compiler window all seem correct. Yet I still recieve the same error on startup.

      Fortunately however, this gives me the ability to attempt to compile something. So heres a compile log for:

      include <iostream>

      int main()
      {
      std::cout << "Testing...\n\n";
      return 0;
      }

      Compiler: Default compiler
      Executing g++.exe...
      g++.exe "C:\Dev-Cpp\Untitled1.cpp" -o "C:\Dev-Cpp\Untitled1.exe" -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" -L"C:\Dev-Cpp\lib"
      Execution terminated
      Compilation successful

      Now I don't know anything about what thats telling me, but it looks like its searching for something and can't find it. I've checked the paths again and they all seem to point to the right directories.

      As to the questions in your last post Wayne:

      Yes, I selected the option to delete all previous configuration files.

      Nope, theres no Borland files in path.

      I'm not purposefully running any anti-virus program, except whatever automatically runs with XP and Mozilla I presume.

      Chris W

       
    • Wayne Keen

      Wayne Keen - 2005-03-21

      Your log is indicative of a good compile Chris. Have you tried to run your code?

      Wayne

       
    • Wayne Keen

      Wayne Keen - 2005-03-21

      g++.exe "C:\Dev-Cpp\Untitled1.cpp" -o "C:\Dev-Cpp\Untitled1.exe" -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" -L"C:\Dev-Cpp\lib"

      This all looks normal. It tells me that the C++ compiler was invoked, and what the search path for include files is (the paths after the captial i's), and the search path for the libraries is (the stuff after the big L's).

      The version of the compier is 3.4.2, which is normal for the 4.9.9.2 release.

      Looks cool to me.

      You do know though that if you run that code through the IDE, the display window will not stay open after the run? That is dealt with in the FAQ thread.

      Wayne

       
    • Nobody/Anonymous

      On trying to run the code, I get a message box saying 'Source file not compiled'.

      The same happens when I try to compile it as a project, except the compile log is different:

      Compiler: Default compiler
      Building Makefile: "C:\Dev-Cpp\test\Makefile.win"
      Executing make...
      make.exe -f "C:\Dev-Cpp\test\Makefile.win" all
      Execution terminated
      Compilation successful

      instead of:

      Executing g++.exe...
      g++.exe "C:\Dev-Cpp\Untitled1.cpp" -o "C:\Dev-Cpp\Untitled1.exe" -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" -L"C:\Dev-Cpp\lib"
      Execution terminated
      Compilation successful

      Oh and the message changes to 'Project is not compiled'. And it also comes up straight after compiling.

      Thanks for your help here by the way Wayne.

      Chris W

       
      • Wayne Keen

        Wayne Keen - 2005-03-22

        OK Chris, now I am going to ask what may seem, superficially (and maybe even deeper too) to be a trully sub-moronic/idiotic question.

        Do you actually have a program called

        Untitled1.exe

        somewhere on your hard drive?

        Wayne

         
    • Nobody/Anonymous

      No. I wish I did, but unfortunately no.

      I'm still recieving the same problems, even with the successful compile log.

       
      • Wayne Keen

        Wayne Keen - 2005-03-23

        How did you look for the exe file?

        Wayne

         
    • Nobody/Anonymous

      Start -> Search -> Selected all file types and entered 'untitled' as the search keyword. -> ran the search.

      I recieved only the source files.

      I did the same for the one I comiled as a project, the keyword being 'test', again only recieving source files.

      As a last resort a went through and did a manual search, looking in every folder on my computer. Again, with no luck.

      Can I just verify something. In the programs tab in the compiler options window, should 'make' point at a file named 'make.exe' or 'Makefile.win', as the compile log says the second, where as my program option says the first.

       
    • Nobody/Anonymous

      I just tried installing MSVC++ on the same computer, that compiled properly, but refused to give any output.

      There were no error messages for that. For all I could tell, before running it, it had compiled perfectly.

      I used the same code as I had used for testing Dev.

      So I'm guessing this is an issue with my computer.

      Any ideas?

      Chris W

       
    • Nobody/Anonymous

      It seems that you have a problem with make.exe setting.
      I get the same error if I delete both files (make.exe and mingw32-make.exe) from bin folder or if I change the programs setting of default compiler for make. Check Tools->Compiler Options->Programs->Make. It should be make.exe (or mingw32-make.exe)
      Make sure both files are located inside bin folder. Try to run them from command line.

       
    • Nobody/Anonymous

      They're definately there.

      I tried setting Make to both make.exe ang mingw32-make.exe, but no luck either way, the errors were still the same as far as I could tell.

      I ran the make files through the command prompt, but had no idea what to pass into them So they both did nothing, however the fact that they did nothing, rather than cause an error, proves that they are infact where they should be.. I also tried g++ through the command line, but again, I didn't know what to pass in.

       
    • Nobody/Anonymous

      try this:

      //C:\Dev-Cpp\Untitled1.cpp

      include <iostream>

      int main()
      {
      std::cout << "Testing...\n\n";
      return 0;
      }

      start cmd and paste:

      C:\Dev-Cpp\bin\g++ -c C:\Dev-Cpp\Untitled1.cpp -o C:\Dev-Cpp\Untitled1.o -I"C:/Dev-Cpp/include"
      C:\Dev-Cpp\bin\g++ C:\Dev-Cpp\Untitled1.o -o C:\Dev-Cpp\Untitled1.exe -L"C:/Dev-Cpp/lib"
      C:\Dev-Cpp\Untitled1.exe

       
    • Nobody/Anonymous

      Heres the result of that copied straight into the command prompt:

      C:\>C:\Dev-Cpp\bin\g++ -c C:\Dev-Cpp\Untitled1.cpp -o C:\Dev-Cpp\Untitled1.o -I"
      C:/Dev-Cpp/include"

      C:\>C:\Dev-Cpp\bin\g++ C:\Dev-Cpp\Untitled1.o -o C:\Dev-Cpp\Untitled1.exe -L"C:/
      Dev-Cpp/lib"

      C:\>C:\Dev-Cpp\Untitled1.exe
      'C:\Dev-Cpp\Untitled1.exe' is not recognized as an internal or external command,

      operable program or batch file.

      C:\>

      Copied as one command:

      C:\>C:\Dev-Cpp\bin\g++ -c C:\Dev-Cpp\Untitled1.cpp -o C:\Dev-Cpp\Untitled1.o -I"
      C:/Dev-Cpp/include" C:\Dev-Cpp\bin\g++ C:\Dev-Cpp\Untitled1.o -o C:\Dev-Cpp\Unti
      tled1.exe -L"C:/Dev-Cpp/lib" C:\Dev-Cpp\Untitled1.exe
      g++: C:\Dev-Cpp\bin\g++: No such file or directory
      g++: C:\Dev-Cpp\Untitled1.exe: No such file or directory
      g++: C:\Dev-Cpp\Untitled1.o: linker input file unused because linking not done
      C:\Dev-Cpp\Untitled1.cpp:7: sorry, unimplemented: inter-module optimisations not
      implemented yet
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\1' in program
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\7' in program
      C:\Dev-Cpp\Untitled1.o:1:4: warning: null character(s) ignored
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\204' in program
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\3' in program
      C:\Dev-Cpp\Untitled1.o:1:11: warning: null character(s) ignored
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\4' in program
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\1' in program
      C:\Dev-Cpp\Untitled1.o:1: error: expected constructor, destructor, or type conve
      rsion before '.' token
      C:\Dev-Cpp\Untitled1.o:1: error: expected ,' or;' before '.' token
      C:\Dev-Cpp\Untitled1.o:1:26: warning: null character(s) ignored
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\192' in program
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\1' in program
      C:\Dev-Cpp\Untitled1.o:1:39: warning: null character(s) ignored
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\1' in program
      C:\Dev-Cpp\Untitled1.o:1:43: warning: null character(s) ignored
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\3' in program
      C:\Dev-Cpp\Untitled1.o:1:47: warning: null character(s) ignored
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\14' in program
      C:\Dev-Cpp\Untitled1.o:1:54: warning: null character(s) ignored
      C:\Dev-Cpp\Untitled1.o:1: error: stray '' in program C:\Dev-Cpp\Untitled1.o:1:66: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1:98: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '@' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\192' in program C:\Dev-Cpp\Untitled1.o:1:105: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\16' in program C:\Dev-Cpp\Untitled1.o:1:118: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\128' in program C:\Dev-Cpp\Untitled1.o:1:138: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\192' in program C:\Dev-Cpp\Untitled1.o:1:147: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\16' in program C:\Dev-Cpp\Untitled1.o:1:158: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\236' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\2' in program C:\Dev-Cpp\Untitled1.o:1:163: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1:178: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '@' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '@' in program C:\Dev-Cpp\Untitled1.o:1:183: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1:198: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\252' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\2' in program C:\Dev-Cpp\Untitled1.o:1:203: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\16' in program C:\Dev-Cpp\Untitled1.o:1:219: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\224' in program C:\Dev-Cpp\Untitled1.o:1:227: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\4' in program C:\Dev-Cpp\Untitled1.o:1:238: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\3' in program C:\Dev-Cpp\Untitled1.o:1:243: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\184' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\3' in program C:\Dev-Cpp\Untitled1.o:1:247: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\1' in program C:\Dev-Cpp\Untitled1.o:1:254: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1:258: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '@' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\192' in program C:\Dev-Cpp\Untitled1.o:1:267: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\4' in program C:\Dev-Cpp\Untitled1.o:1:278: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\3' in program C:\Dev-Cpp\Untitled1.o:1:283: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\194' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\3' in program C:\Dev-Cpp\Untitled1.o:1:287: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\1' in program C:\Dev-Cpp\Untitled1.o:1:294: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1:298: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '@' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\192' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\137' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\229' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\131' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\236' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\139' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\16' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\137' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\4' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\232' in program C:\Dev-Cpp\Untitled1.o:1:314: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\137' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\252' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\139' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\137' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\244' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\141' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\244' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\137' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\4' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\141' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\252' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\137' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\4' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\232' in program C:\Dev-Cpp\Untitled1.o:1:343: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\139' in program C:\Dev-Cpp\Untitled1.o:1:348: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\137' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\248' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\139' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\252' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\137' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\240' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\198' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\239' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\1' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\199' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\232' in program C:\Dev-Cpp\Untitled1.o:1:365: warning: null character(s) ignored C:\Dev-Cpp\Untitled1.o:1: error: stray '\139' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\232' in program C:\Dev-Cpp\Untitled1.o:1: error: stray '\248' in program C:\Dev-Cpp\Untitled1.o:1: error:E' does not name a type
      C:\Dev-Cpp\Untitled1.o:1: error: stray '\128' in program
      C:\Dev-Cpp\Untitled1.o:1: error: expected declaration before '}' token

      C:\>

      I did double check and all the files which should be in the C:/Dev-Cpp/bin/ directory are there.

      Chris

       
    • Nobody/Anonymous

      Anyone?

      Please?

      Chris

       
    • Wayne Keen

      Wayne Keen - 2005-03-26

      The fact that MCFT and Dev both have issues kind of sounds like your machine is messed up in some kind of strange way.

      This may be one that you are probably just going to have to solve on your own. There are limits to what people can do with you remotely.

      The only advice I would offer at this point would be to uninstall everything (include Vis C++), and try running a diagnostic to clean out your registry. (Regcleaner or Norton or the like), and see what happens.

      Wayne

       
    • Nobody/Anonymous

      Will do.

      Thanks.

      Chris

       
    • Nobody/Anonymous

      Chris, I am having a similar problem. Do you have an e-Machine?

       
    • Nobody/Anonymous

      I am having the same problem chris.

       
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.