{"action":"created","issue":{"url":"https://api.github.com/repos/robotology/icub-main/issues/232","labels_url":"https://api.github.com/repos/robotology/icub-main/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/robotology/icub-main/issues/232/comments","events_url":"https://api.github.com/repos/robotology/icub-main/issues/232/events","html_url":"https://github.com/robotology/icub-main/issues/232","id":114248818,"number":232,"title":"problem in installing icub-main ","user":{"login":"azadm","id":7501599,"avatar_url":"https://avatars.githubusercontent.com/u/7501599?v=3","gravatar_id":"","url":"https://api.github.com/users/azadm","html_url":"https://github.com/azadm","followers_url":"https://api.github.com/users/azadm/followers","following_url":"https://api.github.com/users/azadm/following{/other_user}","gists_url":"https://api.github.com/users/azadm/gists{/gist_id}","starred_url":"https://api.github.com/users/azadm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azadm/subscriptions","organizations_url":"https://api.github.com/users/azadm/orgs","repos_url":"https://api.github.com/users/azadm/repos","events_url":"https://api.github.com/users/azadm/events{/privacy}","received_events_url":"https://api.github.com/users/azadm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-30T11:03:48Z","updated_at":"2015-10-30T12:20:42Z","closed_at":null,"body":"\r\nThis is my brew config:\r\n````\r\nHOMEBREW_VERSION: 0.9.5\r\nORIGIN: https://github.com/Homebrew/homebrew.git\r\nHEAD: 67f14d41dc3c47f622e70f0e9a76751671b86a20\r\nLast commit: 25 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: 8-core 64-bit haswell\r\nOS X: 10.9.5-x86_64\r\nXcode: 6.2\r\nCLT: N/A\r\nClang: 6.0 build 600\r\nX11: 2.7.7 => /opt/X11\r\nSystem Ruby: 2.0.0-p481\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python\r\nRuby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby\r\nJava: 1.6.0_65-b14-462\r\n````\r\n\r\nand this the error that I get:\r\n\r\n````\r\n[ 48%] Built target iCubSkinGui-gtk\r\nScanning dependencies of target frameGrabberGui2-gtk\r\n[ 48%] Building CXX object src/tools/frameGrabberGui2-gtk/CMakeFiles/frameGrabberGui2-gtk.dir/src/fggui2_main.cpp.o\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:49:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/error.h:23:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/exception.h:25:\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:267:13: error: expected ';' at end of declaration list\r\n  ~ustring() noexcept;\r\n            ^\r\n            ;\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:881:48: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  FormatStream(const ustring::FormatStream&) = delete;\r\n                                               ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:882:59: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  FormatStream& operator=(const ustring::FormatStream&) = delete;\r\n                                                          ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:894:18: error: expected ';' at end of declaration list\r\n  ~FormatStream() noexcept;\r\n                 ^\r\n                 ;\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1273:45: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify(const ustring::Stringify<T>&) = delete;\r\n                                            ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1274:59: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify<T>& operator=(const ustring::Stringify<T>&) = delete;\r\n                                                          ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1290:51: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify(const ustring::Stringify<ustring>&) = delete;\r\n                                                  ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1291:71: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify<ustring>& operator=(const ustring::Stringify<ustring>&) = delete;\r\n                                                                      ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1309:55: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify(const ustring::Stringify<const char*>&) = delete;\r\n                                                      ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1310:75: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify<ustring>& operator=(const ustring::Stringify<const char*>&) = delete;\r\n                                                                          ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1328:51: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify(const ustring::Stringify<char[N]>&) = delete;\r\n                                                  ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1329:71: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify<ustring>& operator=(const ustring::Stringify<char[N]>&) = delete;\r\n                                                                      ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1348:57: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify(const ustring::Stringify<const char[N]>&) = delete;\r\n                                                        ^\r\n/usr/local/include/glibmm-2.4/glibmm/ustring.h:1349:77: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  Stringify<ustring>& operator=(const ustring::Stringify<const char[N]>&) = delete;\r\n                                                                            ^\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:49:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/error.h:23:\r\n/usr/local/include/glibmm-2.4/glibmm/exception.h:34:23: error: expected ';' at end of declaration list\r\n  virtual ~Exception() noexcept = 0;\r\n                      ^\r\n                      ;\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:49:\r\n/usr/local/include/glibmm-2.4/glibmm/error.h:41:19: error: expected ';' at end of declaration list\r\n  virtual ~Error() noexcept;\r\n                  ^\r\n                  ;\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:51:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:86:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:25:\r\n/usr/local/include/sigc++-2.0/sigc++/type_traits.h:63:27: warning: alias declarations are a C++11 extension [-Wc++11-extensions]\r\nusing type_trait_pass_t = typename type_trait<T>::pass;\r\n                          ^\r\n/usr/local/include/sigc++-2.0/sigc++/type_traits.h:66:27: warning: alias declarations are a C++11 extension [-Wc++11-extensions]\r\nusing type_trait_take_t = typename type_trait<T>::take;\r\n                          ^\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:51:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:86:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:26:\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:71:65: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  trackable_callback_list(const trackable_callback_list& src) = delete;\r\n                                                                ^\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:72:76: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  trackable_callback_list& operator=(const trackable_callback_list& src) = delete;\r\n                                                                           ^\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:73:50: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  trackable_callback_list(trackable_callback_list&& src) = delete;\r\n                                                 ^\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:73:60: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  trackable_callback_list(trackable_callback_list&& src) = delete;\r\n                                                           ^\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:74:61: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  trackable_callback_list& operator=(trackable_callback_list&& src) = delete;\r\n                                                            ^\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:74:71: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n  trackable_callback_list& operator=(trackable_callback_list&& src) = delete;\r\n                                                                      ^\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:115:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  trackable(trackable&& src) noexcept;\r\n                     ^\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:115:29: error: expected ';' at end of declaration list\r\n  trackable(trackable&& src) noexcept;\r\n                            ^\r\n                            ;\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:119:33: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  trackable& operator=(trackable&& src) noexcept;\r\n                                ^\r\n/usr/local/include/sigc++-2.0/sigc++/trackable.h:119:40: error: expected ';' at end of declaration list\r\n  trackable& operator=(trackable&& src) noexcept;\r\n                                       ^\r\n                                       ;\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:51:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:86:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:10:\r\n/usr/local/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h:48:32: warning: variadic templates are a C++11 extension\r\n      [-Wc++11-extensions]\r\ntemplate<class T_functor, class... T_args>\r\n                               ^\r\n/usr/local/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h:53:29: warning: default template arguments for a function template are a\r\n      C++11 extension [-Wc++11-extensions]\r\n  template<class U_functor, typename = typename std::is_base_of<adaptor_base, T_functor>::type>\r\n                            ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/usr/local/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h:64:16: warning: alias declarations are a C++11 extension\r\n      [-Wc++11-extensions]\r\n  using type = decltype (test<T_functor> ());\r\n               ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:504:21: note: expanded from\r\n      macro 'decltype'\r\n#define decltype(x) __typeof__(x)\r\n                    ^\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:51:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:86:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:10:\r\n/usr/local/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h:67:38: warning: variadic templates are a C++11 extension\r\n      [-Wc++11-extensions]\r\ntemplate<typename T_functor, typename... T_args>\r\n                                     ^\r\n/usr/local/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h:68:25: warning: alias declarations are a C++11 extension\r\n      [-Wc++11-extensions]\r\nusing deduce_result_t = typename deduce_result_type<T_functor, T_args...>::type;\r\n                        ^\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:51:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:86:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:8:\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot_base.h:253:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  slot_base(slot_base&& src) noexcept;\r\n                     ^\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot_base.h:253:29: error: expected ';' at end of declaration list\r\n  slot_base(slot_base&& src) noexcept;\r\n                            ^\r\n                            ;\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot_base.h:330:33: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  slot_base& operator=(slot_base&& src) noexcept;\r\n                                ^\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot_base.h:330:40: error: expected ';' at end of declaration list\r\n  slot_base& operator=(slot_base&& src) noexcept;\r\n                                       ^\r\n                                       ;\r\nIn file included from /Users/azadm/Applications/icub-main/src/tools/frameGrabberGui2-gtk/src/fggui2_main.cpp:42:\r\nIn file included from /usr/local/include/gtkmm-2.4/gtkmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm.h:87:\r\nIn file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:51:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:86:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8:\r\nIn file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:27:\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:136:97: error: a space is required between consecutive right angle brackets (use '> >')\r\n      return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES<type_trait_take_t<T_arg1>>\r\n                                                                                                ^~\r\n                                                                                                > >\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:172:124: error: a space is required between consecutive right angle brackets (use '> >')\r\n      return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES<type_trait_take_t<T_arg1>, type_trait_take_t<T_arg2>>\r\n                                                                                                                           ^~\r\n                                                                                                                           > >\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:210:151: error: a space is required between consecutive right angle brackets (use '> >')\r\n  ...type_trait_take_t<T_arg2>, type_trait_take_t<T_arg3>>\r\n                                                        ^~\r\n                                                        > >\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:250:178: error: a space is required between consecutive right angle brackets (use '> >')\r\n  ...type_trait_take_t<T_arg2>, type_trait_take_t<T_arg3>, type_trait_take_t<T_arg4>>\r\n                                                                                   ^~\r\n                                                                                   > >\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:292:205: error: a space is required between consecutive right angle brackets (use '> >')\r\n  ...type_trait_take_t<T_arg2>, type_trait_take_t<T_arg3>, type_trait_take_t<T_arg4>, type_trait_take_t<T_arg5>>\r\n                                                                                                              ^~\r\n                                                                                                              > >\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:336:232: error: a space is required between consecutive right angle brackets (use '> >')\r\n  ...type_trait_take_t<T_arg3>, type_trait_take_t<T_arg4>, type_trait_take_t<T_arg5>, type_trait_take_t<T_arg6>>\r\n                                                                                                              ^~\r\n                                                                                                              > >\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:382:259: error: a space is required between consecutive right angle brackets (use '> >')\r\n  ...type_trait_take_t<T_arg4>, type_trait_take_t<T_arg5>, type_trait_take_t<T_arg6>, type_trait_take_t<T_arg7>>\r\n                                                                                                              ^~\r\n                                                                                                              > >\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:461:14: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  slot0(slot0&& src) noexcept\r\n             ^\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:461:21: error: expected ';' at end of declaration list\r\n  slot0(slot0&& src) noexcept\r\n                    ^\r\n                    ;\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:550:14: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  slot1(slot1&& src) noexcept\r\n             ^\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:550:21: error: expected ';' at end of declaration list\r\n  slot1(slot1&& src) noexcept\r\n                    ^\r\n                    ;\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:642:14: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  slot2(slot2&& src) noexcept\r\n             ^\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:642:21: error: expected ';' at end of declaration list\r\n  slot2(slot2&& src) noexcept\r\n                    ^\r\n                    ;\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:737:14: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  slot3(slot3&& src) noexcept\r\n             ^\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:737:21: error: expected ';' at end of declaration list\r\n  slot3(slot3&& src) noexcept\r\n                    ^\r\n                    ;\r\n/usr/local/include/sigc++-2.0/sigc++/functors/slot.h:835:14: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n  slot4(slot4&& src) noexcept\r\n             ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n34 warnings and 20 errors generated.\r\nmake[2]: *** [src/tools/frameGrabberGui2-gtk/CMakeFiles/frameGrabberGui2-gtk.dir/src/fggui2_main.cpp.o] Error 1\r\nmake[1]: *** [src/tools/frameGrabberGui2-gtk/CMakeFiles/frameGrabberGui2-gtk.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n````"},"comment":{"url":"https://api.github.com/repos/robotology/icub-main/issues/comments/152509317","html_url":"https://github.com/robotology/icub-main/issues/232#issuecomment-152509317","issue_url":"https://api.github.com/repos/robotology/icub-main/issues/232","id":152509317,"user":{"login":"azadm","id":7501599,"avatar_url":"https://avatars.githubusercontent.com/u/7501599?v=3","gravatar_id":"","url":"https://api.github.com/users/azadm","html_url":"https://github.com/azadm","followers_url":"https://api.github.com/users/azadm/followers","following_url":"https://api.github.com/users/azadm/following{/other_user}","gists_url":"https://api.github.com/users/azadm/gists{/gist_id}","starred_url":"https://api.github.com/users/azadm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azadm/subscriptions","organizations_url":"https://api.github.com/users/azadm/orgs","repos_url":"https://api.github.com/users/azadm/repos","events_url":"https://api.github.com/users/azadm/events{/privacy}","received_events_url":"https://api.github.com/users/azadm/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T12:20:42Z","updated_at":"2015-10-30T12:20:42Z","body":"Thanks @Tobias-Fischer \r\n\r\nI added `-std=c++11` to `CMAKE_CXX_FLAGS` but now I get this error:\r\n\r\n````\r\n[ 93%] Built target camCalib\r\nScanning dependencies of target camCalibWithPose\r\n[ 93%] Building CXX object src/modules/camCalibWithPose/CMakeFiles/camCalibWithPose.dir/src/main.cpp.o\r\nIn file included from /Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/src/main.cpp:131:\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CalibToolFactory.h:78:13: warning: delete called on\r\n      'CalibToolFactory' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]\r\n            delete group[i];\r\n            ^\r\nIn file included from /Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/src/main.cpp:134:\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:49:10: error: no template named 'map' in\r\n      namespace 'std'; did you mean 'max'?\r\n    std::map<double, yarp::os::Bottle> h_encs_map;\r\n    ~~~~~^~~\r\n         max\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2600:1: note: 'max'\r\n      declared here\r\nmax(const _Tp& __a, const _Tp& __b, _Compare __comp)\r\n^\r\nIn file included from /Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/src/main.cpp:134:\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:49:10: error: non-friend class member 'max'\r\n      cannot have a qualified name\r\n    std::map<double, yarp::os::Bottle> h_encs_map;\r\n    ~~~~~^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:49:10: error: C++ requires a type specifier for\r\n      all declarations\r\n    std::map<double, yarp::os::Bottle> h_encs_map;\r\n    ~~~  ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:49:13: error: expected ';' at end of\r\n      declaration list\r\n    std::map<double, yarp::os::Bottle> h_encs_map;\r\n            ^\r\n            ;\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:50:10: error: no template named 'map' in\r\n      namespace 'std'; did you mean 'max'?\r\n    std::map<double, yarp::os::Bottle> t_encs_map;\r\n    ~~~~~^~~\r\n         max\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2600:1: note: 'max'\r\n      declared here\r\nmax(const _Tp& __a, const _Tp& __b, _Compare __comp)\r\n^\r\nIn file included from /Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/src/main.cpp:134:\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:50:10: error: non-friend class member 'max'\r\n      cannot have a qualified name\r\n    std::map<double, yarp::os::Bottle> t_encs_map;\r\n    ~~~~~^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:50:10: error: C++ requires a type specifier for\r\n      all declarations\r\n    std::map<double, yarp::os::Bottle> t_encs_map;\r\n    ~~~  ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:50:13: error: expected ';' at end of\r\n      declaration list\r\n    std::map<double, yarp::os::Bottle> t_encs_map;\r\n            ^\r\n            ;\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:51:10: error: no template named 'map' in\r\n      namespace 'std'; did you mean 'max'?\r\n    std::map<double, yarp::os::Bottle> imu_map;\r\n    ~~~~~^~~\r\n         max\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2600:1: note: 'max'\r\n      declared here\r\nmax(const _Tp& __a, const _Tp& __b, _Compare __comp)\r\n^\r\nIn file included from /Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/src/main.cpp:134:\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:51:10: error: non-friend class member 'max'\r\n      cannot have a qualified name\r\n    std::map<double, yarp::os::Bottle> imu_map;\r\n    ~~~~~^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:51:10: error: C++ requires a type specifier for\r\n      all declarations\r\n    std::map<double, yarp::os::Bottle> imu_map;\r\n    ~~~  ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:51:13: error: expected ';' at end of\r\n      declaration list\r\n    std::map<double, yarp::os::Bottle> imu_map;\r\n            ^\r\n            ;\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:58:35: error: no template named 'map' in\r\n      namespace 'std'; did you mean 'max'?\r\n                             std::map<double, yarp::os::Bottle> *datamap,\r\n                             ~~~~~^~~\r\n                                  max\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2600:1: note: 'max'\r\n      declared here\r\nmax(const _Tp& __a, const _Tp& __b, _Compare __comp)\r\n^\r\nIn file included from /Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/src/main.cpp:134:\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:58:30: error: expected parameter declarator\r\n                             std::map<double, yarp::os::Bottle> *datamap,\r\n                             ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:58:65: error: expected ')'\r\n                             std::map<double, yarp::os::Bottle> *datamap,\r\n                                                                ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:57:29: note: to match this '('\r\n    bool selectBottleFromMap(double time,\r\n                            ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:82:84: error: use of undeclared identifier\r\n      't_encs_map'\r\n    void setTorsoEncoders(double time, const yarp::os::Bottle &t_encs) { m.lock(); t_encs_map[time] = t_encs; m.unlock(); }\r\n                                                                                   ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:83:83: error: use of undeclared identifier\r\n      'h_encs_map'\r\n    void setHeadEncoders(double time, const yarp::os::Bottle &h_encs) { m.lock(); h_encs_map[time] = h_encs; m.unlock(); }\r\n                                                                                  ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/include/iCub/CamCalibModule.h:84:75: error: use of undeclared identifier\r\n      'imu_map'\r\n    void setImuData(double time, const yarp::os::Bottle &imu) { m.lock(); imu_map[time] = imu; m.unlock(); }\r\n                                                                          ^\r\n/Users/azadm/Applications/icub-main/src/modules/camCalibWithPose/src/main.cpp:157:19: error: no matching member function for call to\r\n      'runModule'\r\n    return module.runModule(rf);\r\n           ~~~~~~~^~~~~~~~~\r\n/Users/azadm/Applications/yarp/src/libYARP_OS/include/yarp/os/RFModule.h:89:17: note: candidate function not viable: no known conversion from\r\n      'CamCalibModule' to 'yarp::os::RFModule' for object argument\r\n    virtual int runModule(yarp::os::ResourceFinder &rf);\r\n                ^\r\n/Users/azadm/Applications/yarp/src/libYARP_OS/include/yarp/os/RFModule.h:80:17: note: candidate function not viable: requires 0 arguments, but\r\n      1 was provided\r\n    virtual int runModule();\r\n                ^\r\n1 warning and 19 errors generated.\r\nmake[2]: *** [src/modules/camCalibWithPose/CMakeFiles/camCalibWithPose.dir/src/main.cpp.o] Error 1\r\nmake[1]: *** [src/modules/camCalibWithPose/CMakeFiles/camCalibWithPose.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n````"}}