I've added MinGW to the path in Windows 10 as C:\MinGW\bin
To check the install, I used the terminal:
C:\Users\mike>g++ --version
g++ (MinGW.org GCC-8.2.0-5) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
In Atom, after adding the gpp-compiler package and trying to 'compile and run', I get the error:
'g++' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.
Weird thing is, if I go to the project folder and enter the following, the file compiles properly and produces an executable.
**C:\Users\mike\Documents\atom\CPP>g++ main.cpp
C:\Users\mike\Documents\atom\CPP>a.exe
Hello world
C:\Users\mike\Documents\atom\CPP>**
Any fixes?
Thanks,
Mike
I've added MinGW to the path in Windows 10 as C:\MinGW\bin
To check the install, I used the terminal:
C:\Users\mike>g++ --version
g++ (MinGW.org GCC-8.2.0-5) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
In Atom, after adding the gpp-compiler package and trying to 'compile and run', I get the error:
'g++' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.
Weird thing is, if I go to the project folder and enter the following, the file compiles properly and produces an executable.
**C:\Users\mike\Documents\atom\CPP>g++ main.cpp
C:\Users\mike\Documents\atom\CPP>a.exe
Hello world
C:\Users\mike\Documents\atom\CPP>**
Any fixes?
Thanks,
Mike