peter-ch / MultiNEAT

Portable NeuroEvolution Library
http://MultiNEAT.com
GNU Lesser General Public License v3.0
328 stars 104 forks source link

Missing #include vector in Parameters.cpp #27

Open dsblank opened 7 years ago

dsblank commented 7 years ago

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