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,
std::1::allocator<std::1::basic_string > >'
std::vector set; // the set of possible strings
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:200:29: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY vector;
^
In file included from src/Parameters.cpp:35:
In file included from src/Parameters.h:34:
src/Traits.h:49:29: error: implicit instantiation of undefined template
'std::1::vector<double, std::1::allocator >'
std::vector probs; // their respective probabilities fo...
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:200:29: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY vector;
^
2 errors generated.
error: command 'clang' failed with exit status 1
It shows that the error occur at Parameters but PythonBindings,Genome,Innovation and NeuralNetwork is successful. Please help me to solve this 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,
std::1::allocator<std::1::basic_string > >'
std::vector set; // the set of possible strings
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:200:29: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY vector;
^
In file included from src/Parameters.cpp:35:
In file included from src/Parameters.h:34:
src/Traits.h:49:29: error: implicit instantiation of undefined template
'std::1::vector<double, std::1::allocator >'
std::vector probs; // their respective probabilities fo...
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:200:29: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY vector;
^
2 errors generated.
error: command 'clang' failed with exit status 1
It shows that the error occur at Parameters but PythonBindings,Genome,Innovation and NeuralNetwork is successful. Please help me to solve this problem