{"action":"created","issue":{"url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/25","repository_url":"https://api.github.com/repos/peter-ch/MultiNEAT","labels_url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/25/comments","events_url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/25/events","html_url":"https://github.com/peter-ch/MultiNEAT/issues/25","id":232441860,"number":25,"title":"Install problem","user":{"login":"Xthkeer","id":16339382,"avatar_url":"https://avatars1.githubusercontent.com/u/16339382?v=4","gravatar_id":"","url":"https://api.github.com/users/Xthkeer","html_url":"https://github.com/Xthkeer","followers_url":"https://api.github.com/users/Xthkeer/followers","following_url":"https://api.github.com/users/Xthkeer/following{/other_user}","gists_url":"https://api.github.com/users/Xthkeer/gists{/gist_id}","starred_url":"https://api.github.com/users/Xthkeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xthkeer/subscriptions","organizations_url":"https://api.github.com/users/Xthkeer/orgs","repos_url":"https://api.github.com/users/Xthkeer/repos","events_url":"https://api.github.com/users/Xthkeer/events{/privacy}","received_events_url":"https://api.github.com/users/Xthkeer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-31T03:17:02Z","updated_at":"2017-07-27T07:45:51Z","closed_at":null,"body":"**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:**\r\nrunning install\r\nrunning bdist_egg\r\nrunning egg_info\r\nwriting MultiNEAT.egg-info/PKG-INFO\r\nwriting dependency_links to MultiNEAT.egg-info/dependency_links.txt\r\nwriting top-level names to MultiNEAT.egg-info/top_level.txt\r\nreading manifest file 'MultiNEAT.egg-info/SOURCES.txt'\r\nreading manifest template 'MANIFEST.in'\r\nwarning: no files found matching '*.h' under directory 'lib'\r\nwriting manifest file 'MultiNEAT.egg-info/SOURCES.txt'\r\ninstalling library code to build/bdist.macosx-10.12-x86_64/egg\r\nrunning install_lib\r\nrunning build_py\r\nrunning build_ext\r\nbuilding 'MultiNEAT._MultiNEAT' extension\r\nclang -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\r\nclang -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\r\nclang -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\r\nclang -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\r\nclang -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\r\nIn file included from src/Parameters.cpp:35:\r\nIn file included from src/Parameters.h:34:\r\nsrc/Traits.h:48:34: error: implicit instantiation of undefined template\r\n      'std::__1::vector<std::__1::basic_string<char>,\r\n      std::__1::allocator<std::__1::basic_string<char> > >'\r\n        std::vector<std::string> set; // the set of possible strings\r\n                                 ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:200:29: note: \r\n      template is declared here\r\nclass _LIBCPP_TYPE_VIS_ONLY vector;\r\n                            ^\r\nIn file included from src/Parameters.cpp:35:\r\nIn file included from src/Parameters.h:34:\r\nsrc/Traits.h:49:29: error: implicit instantiation of undefined template\r\n      'std::__1::vector<double, std::__1::allocator<double> >'\r\n        std::vector<double> probs; // their respective probabilities fo...\r\n                            ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:200:29: note: \r\n      template is declared here\r\nclass _LIBCPP_TYPE_VIS_ONLY vector;\r\n                            ^\r\n2 errors generated.\r\nerror: command 'clang' failed with exit status 1\r\n**It shows that the error occur at Parameters but PythonBindings,Genome,Innovation and NeuralNetwork is successful.  Please help me to solve this problem**\r\n"},"comment":{"url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/comments/318285765","html_url":"https://github.com/peter-ch/MultiNEAT/issues/25#issuecomment-318285765","issue_url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/25","id":318285765,"user":{"login":"Antobiotics","id":1288111,"avatar_url":"https://avatars2.githubusercontent.com/u/1288111?v=4","gravatar_id":"","url":"https://api.github.com/users/Antobiotics","html_url":"https://github.com/Antobiotics","followers_url":"https://api.github.com/users/Antobiotics/followers","following_url":"https://api.github.com/users/Antobiotics/following{/other_user}","gists_url":"https://api.github.com/users/Antobiotics/gists{/gist_id}","starred_url":"https://api.github.com/users/Antobiotics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antobiotics/subscriptions","organizations_url":"https://api.github.com/users/Antobiotics/orgs","repos_url":"https://api.github.com/users/Antobiotics/repos","events_url":"https://api.github.com/users/Antobiotics/events{/privacy}","received_events_url":"https://api.github.com/users/Antobiotics/received_events","type":"User","site_admin":false},"created_at":"2017-07-27T07:45:51Z","updated_at":"2017-07-27T07:45:51Z","body":"Hi, I'm had the same issue. The solution was to add `#include <vector>` in `src/Traits.h`"}}
{"actor":{"display_login":"Antobiotics"}}