Closed Lichtenshtein closed 4 years ago
Mesa3D and sdlmixer development headers are probably missing.
I followed the instruction and installed all required packages. But I still get an error.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENGLES_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-core
used as include directory in directory /root/batocera-emulationstation/es-app
used as include directory in directory /root/batocera-emulationstation/es-app
used as include directory in directory /root/batocera-emulationstation/es-app
used as include directory in directory /root/batocera-emulationstation/es-app
used as include directory in directory /root/batocera-emulationstation/es-app
used as include directory in directory /root/batocera-emulationstation/es-app
used as include directory in directory /root/batocera-emulationstation/es-app
used as include directory in directory /root/batocera-emulationstation/es-app
used as include directory in directory /root/batocera-emulationstation/es-app
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
\\UPD.
It looks like you're missing the openGL dev package. Maybe something called like "mesa" or "glx-mesa" dev, depending on your distribution (not familiar with RetrOrange Pi).
It looks like you're missing the openGL dev package. Maybe something called like "mesa" or "glx-mesa" dev, depending on your distribution (not familiar with RetrOrange Pi).
No, installed all the packages that are associated with "mesa", nothing helps, still something's missing. Or "cmake" is looking for something in the wrong place and i don’t know what and how to fix it.
apt list --installed | grep mesa
libd3dadapter9-mesa/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libd3dadapter9-mesa-dev/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libegl-mesa0/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libegl1-mesa/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libegl1-mesa-dev/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libgl1-mesa-dev/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libgl1-mesa-dri/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libgl1-mesa-glx/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libglapi-mesa/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libgles2-mesa/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libgles2-mesa-dev/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libglu1-mesa/bionic,now 9.0.0-2.1build1 armhf [installed]
libglu1-mesa-dev/bionic,now 9.0.0-2.1build1 armhf [installed]
libglw1-mesa/bionic,now 8.0.0-1.1 armhf [installed]
libglw1-mesa-dev/bionic,now 8.0.0-1.1 armhf [installed]
libglx-mesa0/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libosmesa6/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libosmesa6-dev/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
libwayland-egl1-mesa/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
mesa-common-dev/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
mesa-opencl-icd/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
mesa-utils/bionic,now 8.4.0-1 armhf [installed]
mesa-utils-extra/bionic,now 8.4.0-1 armhf [installed]
mesa-va-drivers/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
mesa-vdpau-drivers/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
mesa-vulkan-drivers/bionic-updates,now 19.2.8-0ubuntu0~18.04.3 armhf [installed]
mir-client-platform-mesa-dev/bionic,now 0.31.1-0ubuntu1 armhf [installed]
mir-client-platform-mesa5/bionic,now 0.31.1-0ubuntu1 armhf [installed]
mir-platform-graphics-mesa-kms13/bionic,now 0.31.1-0ubuntu1 armhf [installed]
mir-platform-graphics-mesa-x13/bionic,now 0.31.1-0ubuntu1 armhf [installed]
Well, i think i did it myself. I duplicated the folder /usr/include/GL to /usr/include/GLES and made some changes to /root/batocera-emulationstation/build/CMakeCache.txt
But i can't run batocera-emulationstation c'se of total mess up with system paths since in RetrOrangePi they are different /userdata/system/configs/emulationstation is in /etc/emulationstation/, etc. i guess i have to find and change all of them and compile again to make it run
P.S. Never ran batocera before. I just liked the ability to change the localization, the variability of the settings, the great functionality of the skins. Looks amazing, especially with the Ckau-Book skin. Wanted to have it all instead of standart RetroPie emulationstation, but it turned out that everything is not so simple (as always in linux systems for me).
//UPD. So, i think i managed to change all the paths i found to simillar in RetroOrangePi ones - there's no error message "can't create /userdata/blabla directory" at start now. But i totally ruined my installation with installing/uninstalling Mesa packages thing so only option is to install fresh firmware and try batocera-emulationstation again on fresh system. If it doesn’t work out, i have to start all over again and ruin the system again :\ Wish me luck :D
//UPD2. It works, finally!
Well, i think i did it myself. I duplicated the folder /usr/include/GL to /usr/include/GLES and made some changes to /root/batocera-emulationstation/build/CMakeCache.txt
But i can't run batocera-emulationstation c'se of total mess up with system paths since in RetrOrangePi they are different /userdata/system/configs/emulationstation is in /etc/emulationstation/, etc. i guess i have to find and change all of them and compile again to make it run
P.S. Never ran batocera before. I just liked the ability to change the localization, the variability of the settings, the great functionality of the skins. Looks amazing, especially with the Ckau-Book skin. Wanted to have it all instead of standart RetroPie emulationstation, but it turned out that everything is not so simple (as always in linux systems for me).
//UPD. So, i think i managed to change all the paths i found to simillar in RetroOrangePi ones - there's no error message "can't create /userdata/blabla directory" at start now. But i totally ruined my installation with installing/uninstalling Mesa packages thing so only option is to install fresh firmware and try batocera-emulationstation again on fresh system. If it doesn’t work out, i have to start all over again and ruin the system again :\ Wish me luck :D
//UPD2. It works, finally!
please can you help me changing those pathes ? i want to compile one for my retropie and didnt get it working inside it. thank you in advance
Hi. I am trying to build a batocera-emulationstation on my OrangePi PC board
Linux RetrOrangePi 5.2.14-sunxi 5.97 SMP Thu Sep 19 01:04:45 CEST 2019 armv7l armv7l armv7l GNU/Linux
But I get the following error, how can I fix it?
I only found a similar ticket in the EmulationStation repository without an answer https://github.com/Aloshi/EmulationStation/issues/749