java -version
and confirm you have version 1.7 or later installed.
choco
If you get a command not found error, ask for help.
choco install mingw
Note that you can also install MinGW from
www.mingw.org, but that installation is more complex than Chocolatey.
in the administrative command prompt.
"MinGW"
is "Minimalistic GNU for
Windows".
gcc --version
If you get an error about the command not being found, open the System
dialog (it can generally be found by right clicking on the windows start
icon), selecting Advanced, Environment Variables, and editing the PATH
variable to add the folder containing gcc.exe. In many cases this
folder will be
c:\tools\mingw64\bin. Close the dialog, open a new command prompt
(so the new setting for PATH becomes effective), and confirm gcc (and g++)
are installed.
where gcc
and Windows will display the folder name. Browse to that folder and make a
copy of gcc.exe as
mingw32-gcc.exe. The location of this file is used
by Eclipse to find the MinGW libraries.
choco install -y notepadplusplus # Notepad++
choco install -y vim # edit using vi
choco install -y git # works, but does not provide
# the explorer context menus
choco install -y gow # many unix utilities
choco install -y sqlite sqlite.shell # SQLite support
-std=c++14
between -dD and "${INPUTS}".
Follow the above steps with the following differences:
brew install gdb
See here
for further details.