MultiNEAT icon indicating copy to clipboard operation
MultiNEAT copied to clipboard

Missing #include vector in Parameters.cpp

Open dsblank opened this issue 8 years ago • 0 comments

On a Ubuntu 17.04 64 bit system I had to:

$ git diff
diff --git a/src/Parameters.cpp b/src/Parameters.cpp
index 9bb3f5a..aedd9b6 100644
--- a/src/Parameters.cpp
+++ b/src/Parameters.cpp
@@ -32,6 +32,7 @@
 #include <iostream>
 #include <fstream>
 #include <string>
+# include <vector>
 #include "Parameters.h"

Here is a full set of instructions:

git clone https://github.com/peter-ch/MultiNEAT.git
cd MultiNEAT/
export MN_BUILD=cython
sudo pip3 install cython
sudo apt install libboost-dev
sudo apt install libboost-all-dev
sudo apt install python3-dev
emacs ./src/Parameters.cpp # made change above
python3 setup.py build_ext
sudo python3 setup.py install

dsblank avatar Jun 16 '17 00:06 dsblank