MultiNEAT
MultiNEAT copied to clipboard
Install problem
I used brew to install the boost package in my Mac.And when I run the command "python setup.py install" it show something like this:
running install
running bdist_egg
running egg_info
writing MultiNEAT.egg-info/PKG-INFO
writing dependency_links to MultiNEAT.egg-info/dependency_links.txt
writing top-level names to MultiNEAT.egg-info/top_level.txt
reading manifest file 'MultiNEAT.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.h' under directory 'lib'
writing manifest file 'MultiNEAT.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.12-x86_64/egg
running install_lib
running build_py
running build_ext
building 'MultiNEAT._MultiNEAT' extension
clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/liuqian/.pyenv/versions/3.4.6/include/python3.4m -c src/PythonBindings.cpp -o build/temp.macosx-10.12-x86_64-3.4/src/PythonBindings.o -march=native -std=gnu++11 -g -Wall -w -DUSE_BOOST_PYTHON -DUSE_BOOST_RANDOM
clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/liuqian/.pyenv/versions/3.4.6/include/python3.4m -c src/Genome.cpp -o build/temp.macosx-10.12-x86_64-3.4/src/Genome.o -march=native -std=gnu++11 -g -Wall -w -DUSE_BOOST_PYTHON -DUSE_BOOST_RANDOM
clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/liuqian/.pyenv/versions/3.4.6/include/python3.4m -c src/Innovation.cpp -o build/temp.macosx-10.12-x86_64-3.4/src/Innovation.o -march=native -std=gnu++11 -g -Wall -w -DUSE_BOOST_PYTHON -DUSE_BOOST_RANDOM
clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/liuqian/.pyenv/versions/3.4.6/include/python3.4m -c src/NeuralNetwork.cpp -o build/temp.macosx-10.12-x86_64-3.4/src/NeuralNetwork.o -march=native -std=gnu++11 -g -Wall -w -DUSE_BOOST_PYTHON -DUSE_BOOST_RANDOM
clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/liuqian/.pyenv/versions/3.4.6/include/python3.4m -c src/Parameters.cpp -o build/temp.macosx-10.12-x86_64-3.4/src/Parameters.o -march=native -std=gnu++11 -g -Wall -w -DUSE_BOOST_PYTHON -DUSE_BOOST_RANDOM
In file included from src/Parameters.cpp:35:
In file included from src/Parameters.h:34:
src/Traits.h:48:34: error: implicit instantiation of undefined template
'std::__1::vector<std::__1::basic_string
I don't have access to a Mac to reproduce the problem. What Boost version do you use?
Hi, I'm had the same issue. The solution was to add #include <vector> in src/Traits.h