This version is forked from https://github.com/msneddon/nfsim, and it compiles using the GNU G++ compiler, v4.8.5 on an Ubuntu 64-bit machine. You can check your version of G++ by:
g++ -vIf it is not 4.8.5, you can install this version on Ubuntu by:
sudo apt install g++-4.8Make sure that the above version is prioritized by default (adjust your original g++ version below):
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 10To install NFsim, clone this repository to your ~/git repo:
git clone https://github.com/rasilab/nfsim.gitThen compile by:
cd ~/git/nfsim
makeOnce it is compiled, add the binary NFsim in the bin directory to your PATH.
For example, I add the following to my ~/.bashrc script:
export PATH=$PATH":/home/rasi/git/nfsim/bin"