Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Need Help with compilers and make commands.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 018thedude   Members   -  Reputation: 127

Like
0Likes
Like

Posted 27 January 2013 - 12:54 AM

When i installed the C++ IDE netbeans, it says i needed to make a PATH variable to a compiler, and a make command. I am totally not sure how to do this. Can someone help me?

 



Sponsor:

#2 SuperVGA   Members   -  Reputation: 1118

Like
3Likes
Like

Posted 27 January 2013 - 01:29 AM

You're running on Windows Vista, 7 or 8, right?
- Open up the classic "Computer Properties" dialog by right clicking Computer and selecting properties, or launch "System" from Control Panel.
- From here you select "Advanced System Settings" -> (Pick the "Advanced" tab if it isn't already selected)
- Click the "Environment Variables..." -button.
- Find the Path variable under "System Variables" (Or user variables if no other user would need it)
- Edit it and inserrt "c:\mingw\bin;" at the beginning of the line, without the quotes. (Assuming c:\mingw\bin contains the compilers you'll be using...)

Edited by SuperVGA, 27 January 2013 - 01:29 AM.


#3 parthibbiswas93   Members   -  Reputation: 163

Like
1Likes
Like

Posted 27 January 2013 - 05:53 AM

firstly, download MinGW from this site:

http://sourceforge.net/projects/mingw/files/MinGW/

Install it to C:\MinGW

Then after installing, do these if you are using Windows 7 or Vista or 8 ( i guess same thing can be done for XP too ) :

 

1. Press Start and R buttons. It will open up the Run window box.

 

2. Then copy paste this - systempropertiesadvanced.exe and press Enter.

 

3. Click on Environment Variables which is in the bottom right corner.

 

4. Over here, you'll find 2 boxes. Go to the box which says System variables and under the Variables column, search for Path or PATH (for me it was Path. Both are the

    same thing).

5. Double click on PATH. It will open up another box. Over here, in the variable value box if there is already written something on it, then copy paste - ;C:\MinGW\bin.
    NOTE: It is mandatory to put the semicolon as it separates itself from other stuff written in the box...

6. Press OK, OK and then i guess it must work.

Let us know whether it worked or not... smile.png


Edited by parthibbiswas93, 27 January 2013 - 05:55 AM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS