{"action":"created","issue":{"url":"https://api.github.com/repos/dartsim/dart/issues/751","repository_url":"https://api.github.com/repos/dartsim/dart","labels_url":"https://api.github.com/repos/dartsim/dart/issues/751/labels{/name}","comments_url":"https://api.github.com/repos/dartsim/dart/issues/751/comments","events_url":"https://api.github.com/repos/dartsim/dart/issues/751/events","html_url":"https://github.com/dartsim/dart/issues/751","id":166951337,"number":751,"title":"dominoes tutorial doesn't work on mac","user":{"login":"AidanRocke","id":5305646,"avatar_url":"https://avatars.githubusercontent.com/u/5305646?v=3","gravatar_id":"","url":"https://api.github.com/users/AidanRocke","html_url":"https://github.com/AidanRocke","followers_url":"https://api.github.com/users/AidanRocke/followers","following_url":"https://api.github.com/users/AidanRocke/following{/other_user}","gists_url":"https://api.github.com/users/AidanRocke/gists{/gist_id}","starred_url":"https://api.github.com/users/AidanRocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AidanRocke/subscriptions","organizations_url":"https://api.github.com/users/AidanRocke/orgs","repos_url":"https://api.github.com/users/AidanRocke/repos","events_url":"https://api.github.com/users/AidanRocke/events{/privacy}","received_events_url":"https://api.github.com/users/AidanRocke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-22T01:16:14Z","updated_at":"2016-07-22T02:03:08Z","closed_at":null,"body":"I get 20 errors:\r\n`/usr/local/include/dart/common/detail/Cloneable.hpp:128:55: error: a space is\r\n\r\n      required between consecutive right angle brackets (use '> >')\r\n\r\n  return common::make_unique<MakeCloneable<Base, Mixin>>(*this);\r\n\r\n                                                      ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:212:1: error: 'auto' not\r\n\r\n      allowed in function return type\r\n\r\nauto ProxyCloneable<Base, OwnerT, DataT, setData, getData>::operator =(\r\n\r\n^~~~\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:213:22: error: expected ';'\r\n\r\n      at end of declaration\r\n\r\n    const Data& data) -> ProxyCloneable&\r\n\r\n                     ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:213:23: error: cannot use\r\n\r\n      arrow operator on a type\r\n\r\n    const Data& data) -> ProxyCloneable&\r\n\r\n                      ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:223:1: error: 'auto' not\r\n\r\n      allowed in function return type\r\n\r\nauto ProxyCloneable<Base, OwnerT, DataT, setData, getData>::operator =(\r\n\r\n^~~~\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:224:17: error: expected ';'\r\n\r\n      at end of declaration\r\n\r\n    Data&& data) -> ProxyCloneable&\r\n\r\n                ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:224:18: error: cannot use\r\n\r\n      arrow operator on a type\r\n\r\n    Data&& data) -> ProxyCloneable&\r\n\r\n                 ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:234:1: error: 'auto' not\r\n\r\n      allowed in function return type\r\n\r\nauto ProxyCloneable<Base, OwnerT, DataT, setData, getData>::operator =(\r\n\r\n^~~~\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:235:33: error: expected ';'\r\n\r\n      at end of declaration\r\n\r\n    const ProxyCloneable& other) -> ProxyCloneable&\r\n\r\n                                ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:235:34: error: cannot use\r\n\r\n      arrow operator on a type\r\n\r\n    const ProxyCloneable& other) -> ProxyCloneable&\r\n\r\n                                 ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:245:1: error: 'auto' not\r\n\r\n      allowed in function return type\r\n\r\nauto ProxyCloneable<Base, OwnerT, DataT, setData, getData>::operator =(\r\n\r\n^~~~\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:246:28: error: expected ';'\r\n\r\n      at end of declaration\r\n\r\n    ProxyCloneable&& other) -> ProxyCloneable&\r\n\r\n                           ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:246:29: error: cannot use\r\n\r\n      arrow operator on a type\r\n\r\n    ProxyCloneable&& other) -> ProxyCloneable&\r\n\r\n                            ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:308:1: error: 'auto' not\r\n\r\n      allowed in function return type\r\n\r\nauto ProxyCloneable<Base, OwnerT, DataT, setData, getData>::get() const -> Data\r\n\r\n^~~~\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:308:72: error: expected ';'\r\n\r\n      at end of declaration\r\n\r\nauto ProxyCloneable<Base, OwnerT, DataT, setData, getData>::get() const -> Data\r\n\r\n                                                                       ^\r\n\r\n/usr/local/include/dart/common/detail/Cloneable.hpp:308:73: error: cannot use\r\n\r\n      arrow operator on a type\r\n\r\nauto ProxyCloneable<Base, OwnerT, DataT, setData, getData>::get() const -> Data\r\n\r\n                                                                        ^\r\n\r\nIn file included from tutorialDominoes.cpp:32:\r\n\r\nIn file included from /usr/local/include/dart/dart.hpp:33:\r\n\r\nIn file included from /usr/local/include/dart/common/common.hpp:4:\r\n\r\nIn file included from /usr/local/include/dart/common/AspectWithVersion.hpp:35:\r\n\r\n/usr/local/include/dart/common/detail/AspectWithVersion.hpp:57:3: error: \r\n\r\n      unknown type name 'constexpr'\r\n\r\n  constexpr static void (*UpdateState)(Derived*) = updateState;\r\n\r\n  ^\r\n\r\n/usr/local/include/dart/common/detail/AspectWithVersion.hpp:57:13: error: \r\n\r\n      expected member name or ';' after declaration specifiers\r\n\r\n  constexpr static void (*UpdateState)(Derived*) = updateState;\r\n\r\n  ~~~~~~~~~ ^\r\n\r\n/usr/local/include/dart/common/detail/AspectWithVersion.hpp:113:3: error: \r\n\r\n      unknown type name 'constexpr'\r\n\r\n  constexpr static void (*UpdateProperties)(Derived*) = updateProperties;\r\n\r\n  ^\r\n\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n\r\n20 errors generated.`\r\n"},"comment":{"url":"https://api.github.com/repos/dartsim/dart/issues/comments/234435760","html_url":"https://github.com/dartsim/dart/issues/751#issuecomment-234435760","issue_url":"https://api.github.com/repos/dartsim/dart/issues/751","id":234435760,"user":{"login":"psigen","id":2805291,"avatar_url":"https://avatars.githubusercontent.com/u/2805291?v=3","gravatar_id":"","url":"https://api.github.com/users/psigen","html_url":"https://github.com/psigen","followers_url":"https://api.github.com/users/psigen/followers","following_url":"https://api.github.com/users/psigen/following{/other_user}","gists_url":"https://api.github.com/users/psigen/gists{/gist_id}","starred_url":"https://api.github.com/users/psigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psigen/subscriptions","organizations_url":"https://api.github.com/users/psigen/orgs","repos_url":"https://api.github.com/users/psigen/repos","events_url":"https://api.github.com/users/psigen/events{/privacy}","received_events_url":"https://api.github.com/users/psigen/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T02:03:08Z","updated_at":"2016-07-22T02:03:08Z","body":"`Eigen` is a [matrix library for c++](http://eigen.tuxfamily.org/index.php?title=Main_Page) and one of the [dependencies of DART](https://github.com/dartsim/dart/wiki/DART%206.0%20Installation%20for%20Mac#install-required-dependencies)\r\n\r\nI think some of your confusion is coming from the tutorials omitting details on how they should be built.  Like most C++ libraries, DART is very tricky to manually build from a command-line compiler.  Usually, you would use a build system like CMake to manage the many flags for things like including libraries and setting up directory paths.\r\n\r\nIf you have the DART source code checked out, you should be able to build tutorials using the included `CMakeLists.txt` build files.\r\n\r\nhttps://github.com/dartsim/dart/wiki/DART%206.0%20Installation%20for%20Mac#build-and-install-dart"}}
{"actor":{"display_login":"psigen"}}