m-byte918 / AgarOSS

An Agar.io open source server implementation written in C++
31 stars 6 forks source link

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

Closed VSS-Vintorez closed 5 years ago

VSS-Vintorez commented 6 years ago

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

VSS-Vintorez commented 6 years ago

tell me what to install

BorysDev commented 6 years ago
  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 commented 6 years ago

thx EDIT: crap image

VSS-Vintorez commented 6 years ago

this was while i was trying to run compile.bat

BorysDev commented 6 years ago

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

VSS-Vintorez commented 6 years ago

i figured out what it was

VSS-Vintorez commented 6 years ago

i had some missing dll files in the bin folder

m-byte918 commented 6 years ago

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.

VSS-Vintorez commented 6 years ago

ok

On Sat, Aug 25, 2018 at 5:37 PM Christian notifications@github.com wrote:

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.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Megabyte918/OgarCpp/issues/8#issuecomment-416005533, or mute the thread https://github.com/notifications/unsubscribe-auth/AXZjRzwaPL3ix0WYXpEJXkSce-8L7fV4ks5uUe3UgaJpZM4WMKdl .