Connecting Tech Pros Worldwide Forums | Help | Site Map

Dev-C++ bloodshed Installation error

Newbie
 
Join Date: Sep 2007
Posts: 2
#1: Sep 5 '07
Hi when in stalling Dev-C++ on my computer (Windows Xp) i get an error on installation which does not allow me to compile i need some help to fix this problem so i can use the program.
Ok the program can acctually be used but it can not compile this is because of an error happening in the installation procces this is what the error says:
There doesn't seem to be a GNU make file path or in Dev-C++'s Bin path please make sure that you have GNU make
and adjust bin setting system PATH enviroment variable and that make setting compiler option contains correct
filename, otherwise you will not be able to compile anything.
Please help me what am i supposed to do!
Thanks much ^^

sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#2: Sep 6 '07

re: Dev-C++ bloodshed Installation error


Did you install just the GUI? (ie, have you installed the Mingw suite as well?)

If you have, try going to Tools > Compiler Options > Directories > Binaries --> Here set your directory like this : "C:\Prog\DevCPP\bin" (from osdir.com/ml/gnu.dev-cpp.user/2006-12/msg00002.html).
Newbie
 
Join Date: Sep 2007
Posts: 2
#3: Sep 6 '07

re: Dev-C++ bloodshed Installation error


Ok i tried that but when i change the binary and then try to compile it still doesn't work, then after a few tries at compiling it tells me the directory does not exist and gives me an option to change it to deafult directory leaving me with the same problem :(
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#4: Sep 6 '07

re: Dev-C++ bloodshed Installation error


Quote:

Originally Posted by The End

Ok i tried that but when i change the binary and then try to compile it still doesn't work, then after a few tries at compiling it tells me the directory does not exist and gives me an option to change it to deafult directory leaving me with the same problem :(

Can you see the 'bin' directory where your makefile is?
Needs Regular Fix
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 427
#5: Sep 6 '07

re: Dev-C++ bloodshed Installation error


If you installed it with mingw32 as sicare said, then it sounds to me like to need to add paths to the PATH system variable:

Control Panel -> System -> Advanced tab, press "Environment variables".

In the system variables list, select Path, press Edit and at the end of Variable Value, append (don't forget the first semicolon):

;"c:\Program Files\Dev-cpp\bin";"c:\Program Files\Dev-cpp\libexec\gcc\mingw32\3.4.2"

Then OK to everything. Of course, if you installed Dev-cpp somewhere else then change the paths accordingly.
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#6: Sep 6 '07

re: Dev-C++ bloodshed Installation error


Quote:

Originally Posted by arnaudk

If you installed it with mingw32 as sicare said, then it sounds to me like to need to add paths to the PATH system variable:

Control Panel -> System -> Advanced tab, press "Environment variables".

In the system variables list, select Path, press Edit and at the end of Variable Value, append (don't forget the first semicolon):

;"c:\Program Files\Dev-cpp\bin";"c:\Program Files\Dev-cpp\libexec\gcc\mingw32\3.4.2"

Then OK to everything. Of course, if you installed Dev-cpp somewhere else then change the paths accordingly.

Ah, also a good call, thanks arnaudk.
Newbie
 
Join Date: Oct 2007
Posts: 1
#7: Oct 7 '07

re: Dev-C++ bloodshed Installation error


I have the same problem but it's whenever I run the program, I don't know if I have the GUI(Mingw). I'm running XP, and the Dev-Cpp install directory is C:\Dev-Cpp\

And I tried everything suggested here nothing seemed to work.
Newbie
 
Join Date: Oct 2007
Posts: 1
#8: Oct 16 '07

re: Dev-C++ bloodshed Installation error


Quote:

Originally Posted by Pwned9080

I have the same problem but it's whenever I run the program, I don't know if I have the GUI(Mingw). I'm running XP, and the Dev-Cpp install directory is C:\Dev-Cpp\

And I tried everything suggested here nothing seemed to work.

Friend, maybe it is a good idea to check your bin directory for the mingw files.
It can happen to anyone to forget to install the correct version of Dev-C++ (with Mingw).

There are two types of binaries, maybe you are installing the worng one.
Newbie
 
Join Date: Jul 2009
Posts: 1
#9: Jul 3 '09

re: Dev-C++ bloodshed Installation error


I have installed the same version on my other computer it worked fine. But on the computer i'm using now, I have the same trouble as "The End".
Newbie
 
Join Date: Jul 2009
Location: Belgium
Posts: 5
#10: Jul 13 '09

re: Dev-C++ bloodshed Installation error


What error do you get?

Can you manually compile the following program from command line?
Expand|Select|Wrap|Line Numbers
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5.     std::cout << "Hello World!" << std::endl;
  6. }
  7.  
(save this file as hello.cpp)
Open a command line window (Start -> Run: cmd), switch to the directory where you saved this file and enter the following command:
g++ -o hello.exe hello.cpp

Is this working correctly?
Reply