{"action":"created","issue":{"url":"https://api.github.com/repos/mapillary/OpenSfM/issues/212","repository_url":"https://api.github.com/repos/mapillary/OpenSfM","labels_url":"https://api.github.com/repos/mapillary/OpenSfM/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/mapillary/OpenSfM/issues/212/comments","events_url":"https://api.github.com/repos/mapillary/OpenSfM/issues/212/events","html_url":"https://github.com/mapillary/OpenSfM/issues/212","id":255091047,"number":212,"title":"fail install opengv","user":{"login":"De-Lac","id":8303793,"avatar_url":"https://avatars0.githubusercontent.com/u/8303793?v=4","gravatar_id":"","url":"https://api.github.com/users/De-Lac","html_url":"https://github.com/De-Lac","followers_url":"https://api.github.com/users/De-Lac/followers","following_url":"https://api.github.com/users/De-Lac/following{/other_user}","gists_url":"https://api.github.com/users/De-Lac/gists{/gist_id}","starred_url":"https://api.github.com/users/De-Lac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/De-Lac/subscriptions","organizations_url":"https://api.github.com/users/De-Lac/orgs","repos_url":"https://api.github.com/users/De-Lac/repos","events_url":"https://api.github.com/users/De-Lac/events{/privacy}","received_events_url":"https://api.github.com/users/De-Lac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-04T17:10:36Z","updated_at":"2017-09-05T07:59:25Z","closed_at":null,"author_association":"NONE","body":"According to the Readme, when I do\r\n\r\n```\r\ncmake .. -DBUILD_TESTS=OFF -DBUILD_PYTHON=ON\r\nmake install\r\n```\r\n\r\nI got this error\r\n\r\n```\r\nScanning dependencies of target pyopengv\r\n[ 98%] Building CXX object python/CMakeFiles/pyopengv.dir/pyopengv.o\r\nIn file included from ~/OpenSfM/opengv/python/pyopengv.cpp:14:\r\n~/OpenSfM/opengv/python/types.hpp:14:17: error: no namespace named 'numeric' in\r\n      namespace 'boost::python'; did you mean 'boost::numeric'?\r\nnamespace bpn = boost::python::numeric;\r\n                ^~~~~~~~~~~~~~~~~~~~~~\r\n                boost::numeric\r\n```\r\n\r\n\r\nI am on MacOSX Sierra 10.12.6, Python 2.7.10"},"comment":{"url":"https://api.github.com/repos/mapillary/OpenSfM/issues/comments/327100998","html_url":"https://github.com/mapillary/OpenSfM/issues/212#issuecomment-327100998","issue_url":"https://api.github.com/repos/mapillary/OpenSfM/issues/212","id":327100998,"user":{"login":"De-Lac","id":8303793,"avatar_url":"https://avatars0.githubusercontent.com/u/8303793?v=4","gravatar_id":"","url":"https://api.github.com/users/De-Lac","html_url":"https://github.com/De-Lac","followers_url":"https://api.github.com/users/De-Lac/followers","following_url":"https://api.github.com/users/De-Lac/following{/other_user}","gists_url":"https://api.github.com/users/De-Lac/gists{/gist_id}","starred_url":"https://api.github.com/users/De-Lac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/De-Lac/subscriptions","organizations_url":"https://api.github.com/users/De-Lac/orgs","repos_url":"https://api.github.com/users/De-Lac/repos","events_url":"https://api.github.com/users/De-Lac/events{/privacy}","received_events_url":"https://api.github.com/users/De-Lac/received_events","type":"User","site_admin":false},"created_at":"2017-09-05T07:59:25Z","updated_at":"2017-09-05T07:59:25Z","author_association":"NONE","body":"this is the complete error list\r\n\r\n```\r\n[ 98%] Building CXX object python/CMakeFiles/pyopengv.dir/pyopengv.cpp.o\r\nIn file included from /Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:9:\r\nIn file included from /Users/danielefani/OpenSfM/opengv/include/opengv/sac_problems/absolute_pose/AbsolutePoseSacProblem.hpp:42:\r\nIn file included from /Users/danielefani/OpenSfM/opengv/include/opengv/sac/SampleConsensusProblem.hpp:237:\r\n/Users/danielefani/OpenSfM/opengv/include/opengv/sac/implementation/SampleConsensusProblem.hpp:45:48: error: \r\n      no member named 'bind' in namespace 'std'; did you mean 'find'?\r\n  rng_gen_.reset(new std::function<int()>(std::bind(*rng_dist_, rng_alg_)));\r\n                                          ~~~~~^~~~\r\n                                               find\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:862:1: note: \r\n      'find' declared here\r\nfind(_InputIterator __first, _InputIterator __last, const _Tp& __value_)\r\n^\r\nIn file included from /Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:14:\r\n/Users/danielefani/OpenSfM/opengv/python/types.hpp:14:17: error: no namespace named 'numeric' in\r\n      namespace 'boost::python'; did you mean 'boost::numeric'?\r\nnamespace bpn = boost::python::numeric;\r\n                ^~~~~~~~~~~~~~~~~~~~~~\r\n                boost::numeric\r\n/usr/local/include/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp:9:29: note: \r\n      namespace 'boost::numeric' defined here\r\nnamespace boost { namespace numeric {\r\n                            ^\r\nIn file included from /Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:14:\r\n/Users/danielefani/OpenSfM/opengv/python/types.hpp:47:15: error: no member named 'array' in\r\n      namespace 'boost::numeric'\r\n  return bpn::array(handle).copy(); // copy the object. numpy owns the copy now.\r\n         ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/types.hpp:60:30: error: no type named 'array' in namespace\r\n      'boost::numeric'\r\n  PyArrayContiguousView(bpn::array &array) {\r\n                        ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:35:17: error: no namespace named 'numeric' in\r\n      namespace 'boost::python'; did you mean 'boost::numeric'?\r\nnamespace bpn = boost::python::numeric;\r\n                ^~~~~~~~~~~~~~~~~~~~~~\r\n                boost::numeric\r\n/usr/local/include/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp:9:29: note: \r\n      namespace 'boost::numeric' defined here\r\nnamespace boost { namespace numeric {\r\n                            ^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:149:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & bearingVectors,\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:150:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & points )\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:156:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & bearingVectors,\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:157:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & points,\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:158:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & R )\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:171:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & bearingVectors,\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:172:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & points,\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:173:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & t,\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:174:12: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\n      bpn::array & R )\r\n      ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:225:22: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\nbp::object p2p( bpn::array &v, bpn::array &p, bpn::array &R )\r\n                ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:225:37: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\nbp::object p2p( bpn::array &v, bpn::array &p, bpn::array &R )\r\n                               ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:225:52: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\nbp::object p2p( bpn::array &v, bpn::array &p, bpn::array &R )\r\n                                              ~~~~~^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:229:5: error: no matching function for call to\r\n      'p2p'\r\n    opengv::absolute_pose::p2p(adapter, 0, 1));\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Users/danielefani/OpenSfM/opengv/include/opengv/absolute_pose/methods.hpp:86:15: note: candidate\r\n      function not viable: no known conversion from\r\n      'pyopengv::absolute_pose::CentralAbsoluteAdapter' to 'const\r\n      opengv::absolute_pose::AbsoluteAdapterBase' for 1st argument\r\ntranslation_t p2p(\r\n              ^\r\n/Users/danielefani/OpenSfM/opengv/include/opengv/absolute_pose/methods.hpp:68:15: note: candidate\r\n      function not viable: requires 2 arguments, but 3 were provided\r\ntranslation_t p2p(\r\n              ^\r\n/Users/danielefani/OpenSfM/opengv/python/pyopengv.cpp:232:28: error: no type named 'array' in\r\n      namespace 'boost::numeric'\r\nbp::object p3p_kneip( bpn::array &v, bpn::array &p )\r\n                      ~~~~~^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\n```"}}
{"actor":{"display_login":"De-Lac"}}