C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 09-25-2006, 06:39 PM   #1
Registered User
 
Join Date: Sep 2006
Posts: 2
Compiler Paths...

Hello all. I'm new to C++ but not programming. I taught myself HTML and JavaScript and am taking a Computer Science class in which I'm learning Java. I wanted to start to learn C++ on my own. I just downloaded Bloodshed Dev C++ and have some questions about compile paths and such.
I remember when starting to learn Java, I needed to configure some folder/file paths for the compiler to work. I'm have to do the same with the C++ compiler but I don't know how...

When I start the C++ I get an error:
"There doesn't seem to be GNU Make file in PATH or in Dev-C++'s Bin path. Please make sure that you have GNU Make and adjust Bin settings or system PATH environment variable and that make setting in Compiler Option contains correct filename, otherwise you will not be able to compile anything."

When I open the Compiler Options I get the same alert popup twice...

I'm sure there is a simple answer to my question that I'm overlooking.

Thanks in advance for the help!
Cobra is offline   Reply With Quote
Old 09-25-2006, 06:59 PM   #2
Code Goddess
 
Prelude's Avatar
 
Join Date: Sep 2001
Posts: 9,661
>I'm sure there is a simple answer to my question that I'm overlooking.
Hmm, if I recall correctly, the Dev-C++ installer does all of this for you. It should work out of the box. Try removing what you have and reinstalling the latest version. If that doesn't work, let us know.
__________________
My best code is written with the delete key.
Prelude is offline   Reply With Quote
Old 09-25-2006, 07:21 PM   #3
(?<!re)tired
 
Mario F.'s Avatar
 
Join Date: May 2006
Location: Portugal
Posts: 5,220
You may have downloaded the version without the compiler. Go to dev-c++ website again and check for it.
__________________
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.


Mario F. is offline   Reply With Quote
Old 09-25-2006, 08:14 PM   #4
Registered User
 
Join Date: Sep 2006
Posts: 2
Quote:
Originally Posted by Mario F.
You may have downloaded the version without the compiler. Go to dev-c++ website again and check for it.
I uninstalled what I had and reinstalled it and got it to work. Thanks a lot!
I copied and pasted the 'hello world' into a source file but ran into some trouble. The file compiles fine but when I try to run it, a DOS window pops up for a split second and disappears...any ideas?
Edit:
I ran a slightly more complicated program that had you read in data...the DOS window stayed open until I hit enter to submit the data. After that, it just closed on me.

Last edited by Cobra; 09-25-2006 at 08:28 PM.
Cobra is offline   Reply With Quote
Old 09-26-2006, 12:00 AM   #5
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
> a DOS window pops up for a split second and disappears...any ideas?
Yes, read the FAQ
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Old 09-26-2006, 04:04 AM   #6
Its hard... But im here
 
swgh's Avatar
 
Join Date: Apr 2005
Location: England
Posts: 1,466
Yes, as Salem suggested read the FAQ but please to not use

Code:
system("pause");
Look at the more standard methods to freeze the console window
swgh is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference B/W Turbo C++ Compiler , Boroland 5 compiler and MS Visual C++ Compiler? RahulDhanpat C Programming 2 02-04-2008 02:34 AM
added start menu crashes game avgprogamerjoe Game Programming 6 08-29-2007 01:30 PM
C Compiler and stuff pal1ndr0me C Programming 10 07-21-2006 11:07 AM
I can't get this new compiler to work. Loduwijk C++ Programming 7 03-29-2006 06:42 AM
how to call a compiler? castlelight C Programming 3 11-22-2005 11:28 AM


All times are GMT -6. The time now is 09:51 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22