{"action":"created","issue":{"url":"https://api.github.com/repos/lenmus/lenmus/issues/55","repository_url":"https://api.github.com/repos/lenmus/lenmus","labels_url":"https://api.github.com/repos/lenmus/lenmus/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/lenmus/lenmus/issues/55/comments","events_url":"https://api.github.com/repos/lenmus/lenmus/issues/55/events","html_url":"https://github.com/lenmus/lenmus/issues/55","id":167694355,"number":55,"title":"Compilation problems under fedora 24","user":{"login":"ycollet","id":1255536,"avatar_url":"https://avatars.githubusercontent.com/u/1255536?v=3","gravatar_id":"","url":"https://api.github.com/users/ycollet","html_url":"https://github.com/ycollet","followers_url":"https://api.github.com/users/ycollet/followers","following_url":"https://api.github.com/users/ycollet/following{/other_user}","gists_url":"https://api.github.com/users/ycollet/gists{/gist_id}","starred_url":"https://api.github.com/users/ycollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ycollet/subscriptions","organizations_url":"https://api.github.com/users/ycollet/orgs","repos_url":"https://api.github.com/users/ycollet/repos","events_url":"https://api.github.com/users/ycollet/events{/privacy}","received_events_url":"https://api.github.com/users/ycollet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-26T19:44:51Z","updated_at":"2016-07-27T19:36:08Z","closed_at":null,"body":"I try to compile lenmus on fedora 24 (gcc version 6.1.1).\r\nDuring compilation, I meet the following error:\r\n\r\n```\r\n[  3%] Building CXX object CMakeFiles/lenmus.dir/src/app/lenmus_canvas.cpp.o\r\n[  3%] Building CXX object CMakeFiles/lenmus.dir/src/app/lenmus_command_event_handler.cpp.o\r\n/home/collette/repositories/lenmus/src/app/lenmus_command_event_handler.cpp: Dans la fonction membre ‘void lenmus::CommandEventHandler::process_command_event(lomse::SpEventCommand)’:\r\n/home/collette/repositories/lenmus/src/app/lenmus_command_event_handler.cpp:401:77: erreur : no matching function for call to ‘static_pointer_cast(lomse::SpEventCommand&)’\r\n                     boost::static_pointer_cast<EventControlPointMoved>(event) );\r\n                                                                             ^\r\nIn file included from /usr/include/boost/shared_ptr.hpp:17:0,\r\n                 from /home/collette/repositories/lenmus/lomse/trunk/include/lomse_ldp_elements.h:40,\r\n                 from /home/collette/repositories/lenmus/lomse/trunk/include/lomse_ldp_factory.h:38,\r\n                 from /home/collette/repositories/lenmus/lomse/trunk/include/lomse_injectors.h:33,\r\n                 from /home/collette/repositories/lenmus/lomse/trunk/include/lomse_interactor.h:34,\r\n                 from /home/collette/repositories/lenmus/include/lenmus_tool_group.h:25,\r\n                 from /home/collette/repositories/lenmus/include/lenmus_tool_box.h:26,\r\n                 from /home/collette/repositories/lenmus/include/lenmus_command_event_handler.h:26,\r\n                 from /home/collette/repositories/lenmus/src/app/lenmus_command_event_handler.cpp:22:\r\n/usr/include/boost/smart_ptr/shared_ptr.hpp:828:42: note : candidate: template<class T, class U> boost::shared_ptr<X> boost::static_pointer_cast(const boost::shared_ptr<U>&)\r\n template<class T, class U> shared_ptr<T> static_pointer_cast( shared_ptr<U> const & r ) BOOST_NOEXCEPT\r\n                                          ^~~~~~~~~~~~~~~~~~~\r\n/usr/include/boost/smart_ptr/shared_ptr.hpp:828:42: note :   template argument deduction/substitution failed:\r\n/home/collette/repositories/lenmus/src/app/lenmus_command_event_handler.cpp:401:77: note :   ‘lomse::SpEventCommand {aka std::shared_ptr<lomse::EventCommand>}’ is not derived from ‘const boost::shared_ptr<U>’\r\n                     boost::static_pointer_cast<EventControlPointMoved>(event) );\r\n                                                                             ^\r\nCMakeFiles/lenmus.dir/build.make:182 : la recette pour la cible « CMakeFiles/lenmus.dir/src/app/lenmus_command_event_handler.cpp.o » a échouée\r\nmake[2]: *** [CMakeFiles/lenmus.dir/src/app/lenmus_command_event_handler.cpp.o] Erreur 1\r\nCMakeFiles/Makefile2:99 : la recette pour la cible « CMakeFiles/lenmus.dir/all » a échouée\r\n```"},"comment":{"url":"https://api.github.com/repos/lenmus/lenmus/issues/comments/235695589","html_url":"https://github.com/lenmus/lenmus/issues/55#issuecomment-235695589","issue_url":"https://api.github.com/repos/lenmus/lenmus/issues/55","id":235695589,"user":{"login":"ycollet","id":1255536,"avatar_url":"https://avatars.githubusercontent.com/u/1255536?v=3","gravatar_id":"","url":"https://api.github.com/users/ycollet","html_url":"https://github.com/ycollet","followers_url":"https://api.github.com/users/ycollet/followers","following_url":"https://api.github.com/users/ycollet/following{/other_user}","gists_url":"https://api.github.com/users/ycollet/gists{/gist_id}","starred_url":"https://api.github.com/users/ycollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ycollet/subscriptions","organizations_url":"https://api.github.com/users/ycollet/orgs","repos_url":"https://api.github.com/users/ycollet/repos","events_url":"https://api.github.com/users/ycollet/events{/privacy}","received_events_url":"https://api.github.com/users/ycollet/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T19:36:08Z","updated_at":"2016-07-27T19:36:08Z","body":"Not yet. I still have the issue:\r\n\r\n[  3%] Building CXX object CMakeFiles/lenmus.dir/src/app/lenmus_command_event_handler.cpp.o\r\n/home/collette/repositories/lenmus/src/app/lenmus_command_event_handler.cpp: Dans la fonction membre ‘void lenmus::CommandEventHandler::process_command_event(lomse::SpEventCommand)’:\r\n/home/collette/repositories/lenmus/src/app/lenmus_command_event_handler.cpp:401:77: erreur : no matching function for call to ‘static_pointer_cast(lomse::SpEventCommand&)’\r\n                     boost::static_pointer_cast<EventControlPointMoved>(event) );\r\n                                                                             ^\r\nIn file included from /usr/include/boost/shared_ptr.hpp:17:0,\r\n                 from /home/collette/repositories/lenmus/lomse/trunk/include/lomse_ldp_elements.h:40,\r\n                 from /home/collette/repositories/lenmus/lomse/trunk/include/lomse_ldp_factory.h:38,\r\n                 from /home/collette/repositories/lenmus/lomse/trunk/include/lomse_injectors.h:33,\r\n                 from /home/collette/repositories/lenmus/lomse/trunk/include/lomse_interactor.h:34,\r\n                 from /home/collette/repositories/lenmus/include/lenmus_tool_group.h:25,\r\n                 from /home/collette/repositories/lenmus/include/lenmus_tool_box.h:26,\r\n                 from /home/collette/repositories/lenmus/include/lenmus_command_event_handler.h:26,\r\n                 from /home/collette/repositories/lenmus/src/app/lenmus_command_event_handler.cpp:22:\r\n/usr/include/boost/smart_ptr/shared_ptr.hpp:828:42: note : candidate: template<class T, class U> boost::shared_ptr<X> boost::static_pointer_cast(const boost::shared_ptr<U>&)\r\n template<class T, class U> shared_ptr<T> static_pointer_cast( shared_ptr<U> const & r ) BOOST_NOEXCEPT\r\n                                          ^~~~~~~~~~~~~~~~~~~\r\n/usr/include/boost/smart_ptr/shared_ptr.hpp:828:42: note :   template argument deduction/substitution failed:\r\n/home/collette/repositories/lenmus/src/app/lenmus_command_event_handler.cpp:401:77: note :   ‘lomse::SpEventCommand {aka std::shared_ptr<lomse::EventCommand>}’ is not derived from ‘const boost::shared_ptr<U>’\r\n                     boost::static_pointer_cast<EventControlPointMoved>(event) );\r\n                                                                             ^\r\nCMakeFiles/lenmus.dir/build.make:182 : la recette pour la cible « CMakeFiles/lenmus.dir/src/app/lenmus_command_event_handler.cpp.o » a échouée\r\nmake[2]: *** [CMakeFiles/lenmus.dir/src/app/lenmus_command_event_handler.cpp.o] Erreur 1\r\n"}}
{"actor":{"display_login":"ycollet"}}