Compiler Paths...

This is a discussion on Compiler Paths... within the C++ Programming forums, part of the General Programming Boards category; Hello all. I'm new to C++ but not programming. I taught myself HTML and JavaScript and am taking a Computer ...

  1. #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!

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >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.

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,436
    You may have downloaded the version without the compiler. Go to dev-c++ website again and check for it.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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.

  4. #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.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    > 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.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 02-04-2008, 01:34 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  4. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 05:42 AM
  5. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 10:28 AM

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