EmulationStation
EmulationStation copied to clipboard
installing emulationstation on crouton fails
removed a chroot with emulationstation in for a clean install. Package/Setup script/Make all fail on the same errors.
~/EmulationStation$ make [ 1%] Built target nanosvg [ 2%] Built target pugixml [ 3%] Building CXX object es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o /home/$user/EmulationStation/es-core/src/AudioManager.cpp: In member function ‘void AudioManager::unregisterSound(std::shared_ptr<Sound>&)’: /home/$user/EmulationStation/es-core/src/AudioManager.cpp:128:48: error: no matching function for call to ‘std::vector<std::shared_ptr<Sound> >::erase(__gnu_cxx::__normal_iterator<const std::shared_ptr<Sound>, std::vector<std::shared_ptr<Sound> > >)’ sSoundVector.erase(sSoundVector.cbegin() + i); ^ /home/$user/EmulationStation/es-core/src/AudioManager.cpp:128:48: note: candidates are: In file included from /usr/include/c++/4.8/vector:69:0, from /home/$user/EmulationStation/es-core/src/AudioManager.h:7, from /home/$user/EmulationStation/es-core/src/AudioManager.cpp:1: /usr/include/c++/4.8/bits/vector.tcc:134:5: note: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::iterator) [with _Tp = std::shared_ptr<Sound>; _Alloc = std::allocator<std::shared_ptr<Sound> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<std::shared_ptr<Sound>, std::vector<std::shared_ptr<Sound> > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::shared_ptr<Sound>] vector<_Tp, _Alloc>:: ^ /usr/include/c++/4.8/bits/vector.tcc:134:5: note: no known conversion for argument 1 from ‘__gnu_cxx::__normal_iterator<const std::shared_ptr<Sound>, std::vector<std::shared_ptr<Sound> > >’ to ‘std::vector<std::shared_ptr<Sound> >::iterator {aka __gnu_cxx::__normal_iterator<std::shared_ptr<Sound>, std::vector<std::shared_ptr<Sound> > >}’ /usr/include/c++/4.8/bits/vector.tcc:146:5: note: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::iterator) [with _Tp = std::shared_ptr<Sound>; _Alloc = std::allocator<std::shared_ptr<Sound> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<std::shared_ptr<Sound>, std::vector<std::shared_ptr<Sound> > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::shared_ptr<Sound>*] vector<_Tp, _Alloc>:: ^ /usr/include/c++/4.8/bits/vector.tcc:146:5: note: candidate expects 2 arguments, 1 provided make[2]: *** [es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o] Error 1 make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2 make: *** [all] Error 2