Syntax highlighting with Notepad++
It is fairly straight forward to set
Windows installation using Chocolatey
You can install
choco install nift
You can find compiler options including building with a normal version of
To uninstall
Windows installation from executable
Download the latest
Installing Nift on Windows from source using Command Prompt
Download nsm-master-*.zip, then follow these steps to compile and install:
- Install GnuWin32 (Make for Windows) [or
choco install gnuwin ] and mingw [orchoco install mingw ]; - Open both a Command Prompt window and a Command Prompt (Admin) window (right click command prompt and select
run as administrator ); - Enter
path=%path%;C:\Program Files (x86)\GnuWin32\bin; in to both command prompts to addmake to your path; - In both command prompts change directory to where the nsm source code is;
- From the regular command prompt enter
make ; - Move
nsm.exe andnift.exe to somewhere in your user's path, eg.C:\Windows\system32 ; - Delete both the file
nsm-master-*.zip and the directorynsm-master-* containing the uncompiled/source code.
Note: See here for information about the variables you can pass to the Makefile when compiling
Uninstalling Nift
Should you ever want to remove
Installing Nift on Windows from source using Git Bash
Installing a c++ compiler
If you do not already have a
On Windows I typically just use code::blocks which you can get to download/install with MinGW as the
Installing Git Bash , mingw and make
Install Git [or - Go to here;
-
download
make-version-without-guile-w32-bin.zip (get the version without guile); - Extract the contents of the zip file;
-
Copy contents to
Git/mingw64 .
Installing Nift
Download nsm-master-*.zip, then follow these steps to compile and install:
-
Extract
nsm-master-* fromnsm-master-*.zip ; -
Open a
Git Bash window (right click the desktop for example) and change directory to~/Downloads/nsm-master-* ; -
Compile
nsm by runningmake ; -
Install
nsm by runningmake git-bash-install (note - you may need to open a new terminal window for nsm installation to be recognised); -
Delete both the file
nsm-master-*.zip and the directorynsm-master-* containing the uncompiled code.
For example, if you unzipped
cd ~/Downloads/nsm-master-* make make git-bash-install
You should now have a functioning version of
Uninstalling Nift
Should you ever want to remove