Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"g++" is not recognized as an internal or external command #8

Closed
VSS-Vintorez opened this issue Aug 25, 2018 · 9 comments
Closed

"g++" is not recognized as an internal or external command #8

VSS-Vintorez opened this issue Aug 25, 2018 · 9 comments
Labels

Comments

@VSS-Vintorez
Copy link

VSS-Vintorez commented Aug 25, 2018

"g++" is not recognized as an internal or external command is the error i get when i run compile.bat

@VSS-Vintorez
Copy link
Author

tell me what to install

@BorysDev
Copy link
Collaborator

BorysDev commented Aug 25, 2018

  1. Download and install the MinGW setup.

  2. A window like this should pop up:

  3. Make sure you select mingw32-base, mingw32-gcc=g++ and msys-base.

  4. Close out of the program once installation has completed.

  5. Go into Control Panel > System and Security > System.
    a

  6. Click on Advanced System Settings on the left.

  7. Click the Environment Variables button in the bottom right of the panel.

  8. Find Path under the System Variables section and click on it once so that it is selected.

  9. Click the Edit button.

  10. Click the New button in the top right.
    v

  11. Copy C:\MinGW\bin .

  12. Close out of all remaining Windows by pressing Ok.

  13. Finally try re-running compile.bat.

@VSS-Vintorez
Copy link
Author

VSS-Vintorez commented Aug 25, 2018

thx EDIT: crap
image

@VSS-Vintorez
Copy link
Author

this was while i was trying to run compile.bat

@BorysDev
Copy link
Collaborator

Hmm, try adding C:\MinGW\bin to the user variables and restart your system. Tell me if the error re-occurs.

@VSS-Vintorez
Copy link
Author

i figured out what it was

@VSS-Vintorez
Copy link
Author

VSS-Vintorez commented Aug 26, 2018

i had some missing dll files in the bin folder

@m-byte918
Copy link
Owner

This issue can be used as a guide for people running compile.bat for the first time without a compiler, so I will keep it open.

@m-byte918 m-byte918 reopened this Aug 26, 2018
@VSS-Vintorez
Copy link
Author

VSS-Vintorez commented Aug 26, 2018 via email

@BorysDev BorysDev pinned this issue May 10, 2019
@BorysDev BorysDev unpinned this issue May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants