gsplus
gsplus copied to clipboard
I can't install GSPLUS on a Raspeery Pi 3+
Attention I am a beginner, but interested in the apple II Gs. Gsplus works but not very good with Catalina on mac floppy disk management 3.5 so I can not install Gsplus with Raspbian "Buster" there is a problem with "make" or "cmake" and if I want to install the package it there is an error with the instaleur. A complete image for Raspberry would be a good idea for the neophytes. thank you
always this [ 1%] Building C object bin/CMakeFiles/x_readline.dir/readline.c.o /home/pi/gsplus/src/readline.c:90:10: fatal error: readline/readline.h: Aucun fichier ou dossier de ce type #include <readline/readline.h> ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [bin/CMakeFiles/x_readline.dir/build.make:63: bin/CMakeFiles/x_readline.dir/readline.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:102: bin/CMakeFiles/x_readline.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
install the libreadline-dev package :)
Thank you for your Help. i did it but i got this :
pi@raspberrypi:~/RetroPie-Setup/gsplus/src $ cmake .. -- Configuring done -- Generating done -- Build files have been written to: /home/pi/RetroPie-Setup/gsplus/src pi@raspberrypi:~/RetroPie-Setup/gsplus/src $ make [ 5%] Built target x_readline [ 5%] Generating debug_shell.c /bin/sh: 1: re2c: not found bin/CMakeFiles/GSplus.dir/build.make:61: recipe for target 'bin/debug_shell.c' failed make[2]: *** [bin/debug_shell.c] Error 127 CMakeFiles/Makefile2:133: recipe for target 'bin/CMakeFiles/GSplus.dir/all' failed make[1]: *** [bin/CMakeFiles/GSplus.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 pi@raspberrypi:~/RetroPie-Setup/gsplus/src $
install the re2c package :)
Thank's and now i get this : -- Build files have been written to: /home/pi/RetroPie-Setup/gsplus/src pi@raspberrypi:~/RetroPie-Setup/gsplus/src $ make Scanning dependencies of target x_readline [ 1%] Building C object bin/CMakeFiles/x_readline.dir/readline.c.o [ 3%] Linking C static library libx_readline.a [ 3%] Built target x_readline [ 5%] Generating size_c.h, size_s.h, 8size_s.h, 16size_s.h [ 6%] Generating debug_shell.c Error in argument 1, char 2: option not found W usage: re2c [-bcdDefFghirsuvVw1] [-o of] [-t th] file
-? -h --help Display this info.
bin/CMakeFiles/GSplus.dir/build.make:61: recipe for target 'bin/debug_shell.c' failed make[2]: *** [bin/debug_shell.c] Error 2 CMakeFiles/Makefile2:133: recipe for target 'bin/CMakeFiles/GSplus.dir/all' failed make[1]: *** [bin/CMakeFiles/GSplus.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 pi@raspberrypi:~/RetroPie-Setup/gsplus/src $
the re2c -W flag was added in version 0.15 (2015-11-22) so stretch and buster should have a new enough version of re2c. The cmake file should also check for re2c and giave an error if it couldn't be found so that's a little odd too.
Try deleting the -W flag from the commands here:
https://github.com/digarok/gsplus/blob/480572054518112647c8fae5d7ea7046a6d6ecfb/src/CMakeLists.txt#L103-L126
I progress with your help Now Gs plus is on but problem with the display i get this :+1:
| || | | |
| | __ | | | |
| | | ||_ | ||
| |__| | _____| |
|||_|
GSplus v0.14
2019-12-02 16:34:55 - Trying config file 'config.txt' 2019-12-02 16:34:55 - Parsing configuration file 'config.txt' 2019-12-02 16:34:55 - Option set [file]: line 11, len:17 "g_cfg_rom_path = " 2019-12-02 16:34:55 - Option set [file]: line 12, len:17 "g_limit_speed = 3" 2019-12-02 16:34:55 - Unable to load font lib/letgothl.ttf 2019-12-02 16:34:55 - Read 131072 bytes (128K) of ROM 2019-12-02 16:34:55 - RAM size is 8650752 bytes (8.25MB) 2019-12-02 16:34:55 - Could not create window: Could not get EGL display 2019-12-02 16:34:55 - **--- SDL DEBUG ------ (3) drivers 2019-12-02 16:34:55 - * 'opengles2' 2019-12-02 16:34:55 - * 'opengles' 2019-12-02 16:34:55 - * 'software' 2019-12-02 16:34:55 - NO Renderinfo 2019-12-02 16:34:55 - SDL2 audio initialized 2019-12-02 16:34:55 - SDL2 opened audio device: 2 2019-12-02 16:34:55 - SDL2 sound shared memory size=131072 2019-12-02 16:34:55 - SDL2 joystick initialized 2019-12-02 16:34:55 - No joysticks detected 2019-12-02 16:34:55 - Writing configuration file to config.txt 2019-12-02 16:34:58 - Disabling keyboard/mouse:01! unknown twgs speed:65535 unknown twgs speed:65535 unknown twgs speed:65535 2019-12-02 16:35:05 - Pausing sound ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
somes precisions i use raspbian Buster i have installed Cmake, libreadline-dev, re2c, and libgles2-mesa-dev