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
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, so skipping this step can result
in programs compiling but not running.
copy mingw32-make.exe make.exe
This will allow you to type make at the command prompt to build
your projects (relevant later in the term).
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 on installing gdb.