sudo apt install libgles-dev
arcade@odroid:~$ sudo apt install libgles-devReading package lists... DoneBuilding dependency treeReading state information... DoneE: Unable to locate package libgles-devarcade@odroid:~$
sudo apt search libgles
collect2: error: ld returned 1 exit statusMakefile:493: recipe for target 'attract' failedmake: *** [attract] Error 1arcade@odroid:~/attract$
//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_stride'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_handle'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_set_user_data'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_height'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_device_destroy'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_surface_release_buffer'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_create_device'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_user_data'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_surface_destroy'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_modifier'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_surface_create'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_stride_for_plane'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_surface_lock_front_buffer'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_device'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_format'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_device_get_fd'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_plane_count'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_offset'//usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_get_width'
BTW. I went through with the compile on a Pi4 but I get some errors when building attract that I can't find a solution for.
Couldn't find required EGL extension: EGL_MESA_platform_gbm or EGL_KHR_platform_gbmAborted
sudo make install USE_GLES=1