Advertisement
Guest User

Untitled

a guest
Feb 12th, 2017
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.04 KB | None | 0 0
  1. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp: In static member function 'static ADDON::DriverPrimitive JOYSTICK::ButtonMapTranslator::ToDriverPrimitive(const string&, JOYSTICK_DRIVER_PRIMITIVE_TYPE)':
  2. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp:100:53: error: invalid conversion from 'int' to 'JOYSTICK_DRIVER_PRIMITIVE_TYPE' [-fpermissive]
  3. primitive = ADDON::DriverPrimitive(std::atoi(strPrimitive.substr(1).c_str()), dir);
  4. ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.h:22:0,
  6. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp:21:
  7. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/kodi/kodi_peripheral_utils.hpp:378:5: note: initializing argument 1 of 'ADDON::DriverPrimitive::DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE, unsigned int)'
  8. DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE type, unsigned int driverIndex) :
  9. ^~~~~~~~~~~~~~~
  10. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp:100:90: error: 'ADDON::DriverPrimitive::DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE, unsigned int)' is protected within this context
  11. primitive = ADDON::DriverPrimitive(std::atoi(strPrimitive.substr(1).c_str()), dir);
  12. ^
  13. In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.h:22:0,
  14. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/buttonmapper/ButtonMapTranslator.cpp:21:
  15. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/kodi/kodi_peripheral_utils.hpp:378:5: note: declared protected here
  16. DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE type, unsigned int driverIndex) :
  17. ^~~~~~~~~~~~~~~
  18. make[2]: *** [CMakeFiles/peripheral.joystick.dir/build.make:255: CMakeFiles/peripheral.joystick.dir/src/buttonmapper/ButtonMapTranslator.cpp.o] Error 1
  19. make[2]: *** Waiting for unfinished jobs....
  20. In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/armv8a-libreelec-linux-gnueabi/bits/c++allocator.h:33:0,
  21. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/allocator.h:46,
  22. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/stl_tree.h:64,
  23. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/map:60,
  24. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/PrimitiveConfiguration.h:22,
  25. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.h:22,
  26. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:21:
  27. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ADDON::DriverPrimitive; _Args = {const unsigned int&, JOYSTICK_DRIVER_SEMIAXIS_DIRECTION}; _Tp = ADDON::DriverPrimitive]':
  28. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/alloc_traits.h:455:4: required from 'static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = ADDON::DriverPrimitive; _Args = {const unsigned int&, JOYSTICK_DRIVER_SEMIAXIS_DIRECTION}; _Tp = ADDON::DriverPrimitive; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<ADDON::DriverPrimitive>]'
  29. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/vector.tcc:96:30: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const unsigned int&, JOYSTICK_DRIVER_SEMIAXIS_DIRECTION}; _Tp = ADDON::DriverPrimitive; _Alloc = std::allocator<ADDON::DriverPrimitive>]'
  30. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:99:82: required from here
  31. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/ext/new_allocator.h:120:4: error: 'ADDON::DriverPrimitive::DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE, unsigned int)' is protected within this context
  32. { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  33. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  34. In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/Device.h:24:0,
  35. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:22:
  36. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/kodi/kodi_peripheral_utils.hpp:378:5: note: declared protected here
  37. DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE type, unsigned int driverIndex) :
  38. ^~~~~~~~~~~~~~~
  39. In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/armv8a-libreelec-linux-gnueabi/bits/c++allocator.h:33:0,
  40. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/allocator.h:46,
  41. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/bits/stl_tree.h:64,
  42. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/map:60,
  43. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/PrimitiveConfiguration.h:22,
  44. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.h:22,
  45. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:21:
  46. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/include/c++/6.2.0/ext/new_allocator.h:120:4: error: invalid conversion from 'unsigned int' to 'JOYSTICK_DRIVER_PRIMITIVE_TYPE' [-fpermissive]
  47. { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  48. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  49. In file included from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/Device.h:24:0,
  50. from LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick-eeb6fec/src/storage/DeviceConfiguration.cpp:22:
  51. LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/kodi/kodi_peripheral_utils.hpp:378:5: note: initializing argument 1 of 'ADDON::DriverPrimitive::DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE, unsigned int)'
  52. DriverPrimitive(JOYSTICK_DRIVER_PRIMITIVE_TYPE type, unsigned int driverIndex) :
  53. ^~~~~~~~~~~~~~~
  54. make[2]: *** [CMakeFiles/peripheral.joystick.dir/build.make:711: CMakeFiles/peripheral.joystick.dir/src/storage/DeviceConfiguration.cpp.o] Error 1
  55. make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/peripheral.joystick.dir/all] Error 2
  56. make: *** [Makefile:128: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement