@EmuELEC
Hey,
I’m trying to compile the latest Emulation Station with EmuELEC 32-bit but it’s throwing a ton of errors like:
error: use of 'auto' in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
In ES CMakeLists.txt it has the following:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wno-attributes -O3") #support C++14 for std::, optimize
So why is it throwing the above errors? Does anyone know? Or what I can do to fix it?
EmuELEC
January 30, 2022, 12:10am
2
Its been a while since I compiled it for 32bit, so take this with a grain of salt:
First how are you trying to compile? and what version of Ubuntu are you using?
I copied pasted the emuelec-emulationstation from the latest EmuELEC and pasted it into the 32-bit version then tried to make the project with:
PROJECT=Amlogic ARCH=arm DISTRO=EmuELEC make image
Maybe it’s better I make an image with the latest EmuELEC as using a 32-bit version is likely to break.
EmuELEC
January 30, 2022, 12:25am
4
I don’t think that is going to work, 3.x is old, and does not use the same compiler, you would need to patch the code for the old compiler (GCC 8.x -probably even 7.x- vs GCC 10)
ok no worries, I thought I may run into trouble doing it. haha
I’ll try using aarch64.