zerojay / RetroPie-Extra

A collection of unofficial scripts for adding more emulators/ports/games to RetroPie.
MIT License
309 stars 101 forks source link

Roadfighter Install Error #291

Closed justnibio closed 6 years ago

justnibio commented 6 years ago

Retropie 4.4 on Raspberry pi3 b+

This is the log error:

Log started at: Sun 20 May 10:46:16 UTC 2018

RetroPie-Setup version: 4.4 (cda9ffcb) System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux

= = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'roadfighter' : Roadfighter - Retro Remake = = = = = = = = = = = = = = = = = = = = =

/home/pi/RetroPie-Setup/tmp/build/roadfighter /home/pi

= = = = = = = = = = = = = = = = = = = = = Getting sources for 'roadfighter' : Roadfighter - Retro Remake = = = = = = = = = = = = = = = = = = = = =

git clone --recursive --depth 1 "https://github.com/ptitSeb/roadfighter.git" "/home/pi/RetroPie-Setup/tmp/build/roadfighter" Cloning into '/home/pi/RetroPie-Setup/tmp/build/roadfighter'... /home/pi /home/pi/RetroPie-Setup/tmp/build/roadfighter /home/pi

= = = = = = = = = = = = = = = = = = = = = Building 'roadfighter' : Roadfighter - Retro Remake = = = = = = = = = = = = = = = = = = = = =

g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_blib.cpp -o src/sge/sge_blib.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_bm_text.cpp -o src/sge/sge_bm_text.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_collision.cpp -o src/sge/sge_collision.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_misc.cpp -o src/sge/sge_misc.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_primitives.cpp -o src/sge/sge_primitives.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_rotation.cpp -o src/sge/sge_rotation.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_shape.cpp -o src/sge/sge_shape.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_surface.cpp -o src/sge/sge_surface.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_textpp.cpp -o src/sge/sge_textpp.o In file included from src/sge/sge_textpp.h:33:0, from src/sge/sge_textpp.cpp:25: src/sge/sge_shape.h:186:22: warning: inline function ‘virtual void sge_surface::clear(SDL_Surface, Sint16, Sint16)’ used but never defined virtual inline void clear(SDL_Surface src, Sint16 srcX, Sint16 srcY); ^~~~~ src/sge/sge_shape.h:185:22: warning: inline function ‘virtual void sge_surface::clear(Uint32)’ used but never defined virtual inline void clear(Uint32 color); ^~~~~ src/sge/sge_shape.h:256:22: warning: inline function ‘virtual bool sge_ssprite::update()’ used but never defined virtual inline bool update(void); ^~ g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/sge/sge_tt_text.cpp -o src/sge/sge_tt_text.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CCarObject.cpp -o src/CCarObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CEnemyCarObject.cpp -o src/CEnemyCarObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CEnemyFastCarObject.cpp -o src/CEnemyFastCarObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CEnemyNormalCarObject.cpp -o src/CEnemyNormalCarObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CEnemyRacerCarObject.cpp -o src/CEnemyRacerCarObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CEnemySlidderCarObject.cpp -o src/CEnemySlidderCarObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CEnemyTruckObject.cpp -o src/CEnemyTruckObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CExplosionObject.cpp -o src/CExplosionObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CFuelObject.cpp -o src/CFuelObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CGame.cpp -o src/CGame.o src/CGame.cpp: In member function ‘void CGame::init_game(char)’: src/CGame.cpp:204:48: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_takefuel=Sound_create_sound("sound/takefuel"); ^ src/CGame.cpp:205:48: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_redlight=Sound_create_sound("sound/redlight"); ^ src/CGame.cpp:206:52: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_greenlight=Sound_create_sound("sound/greenlight"); ^ src/CGame.cpp:207:46: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_crash=Sound_create_sound("sound/car_crash"); ^ src/CGame.cpp:208:49: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_carstart=Sound_create_sound("sound/car_start"); ^ src/CGame.cpp:209:50: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_fuelempty=Sound_create_sound("sound/fuelempty"); ^ src/CGame.cpp:210:50: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_caradvance=Sound_create_sound("sound/car_pass"); ^ src/CGame.cpp:211:52: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_carengine=Sound_create_sound("sound/car_running"); ^ src/CGame.cpp:212:48: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_carskid=Sound_create_sound("sound/car_brake"); ^ src/CGame.cpp:213:42: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_water=Sound_create_sound("sound/water"); ^ src/CGame.cpp:214:50: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_collision=Sound_create_sound("sound/collision"); ^ src/CGame.cpp:215:42: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_truck=Sound_create_sound("sound/truck"); ^ src/CGame.cpp: In member function ‘bool CGame::cycle(unsigned char, unsigned char)’: src/CGame.cpp:433:71: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] if ((current_level%2)==1) Sound_create_music("sound/game_theme",-1); ^ src/CGame.cpp:434:57: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] else Sound_create_music("sound/game_theme2",-1); ^ g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CObject.cpp -o src/CObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CPlayerCarObject.cpp -o src/CPlayerCarObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CRoadFighter.cpp -o src/CRoadFighter.o src/CRoadFighter.cpp: In constructor ‘CRoadFighter::CRoadFighter()’: src/CRoadFighter.cpp:89:8: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] " "; ^~~~~~ src/CRoadFighter.cpp:118:50: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_menu_move=Sound_create_sound("sound/menu_move"); ^ src/CRoadFighter.cpp:119:54: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_menu_select=Sound_create_sound("sound/menu_select"); ^ src/CRoadFighter.cpp:120:46: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_menu_in=Sound_create_sound("sound/logo_in"); ^ src/CRoadFighter.cpp:121:48: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings] S_menu_out=Sound_create_sound("sound/logo_out"); ^ g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CSemaphoreObject.cpp -o src/CSemaphoreObject.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/CTile.cpp -o src/CTile.o g++ -DPANDORA -mfloat-abi=hard -g3 -O3 sdl-config --cflags -I/usr/X11R6/include -c src/auxiliar.cpp -o src/auxiliar.o src/auxiliar.cpp: In function ‘SDL_Surface load_maskedimage(char, char, char)’: src/auxiliar.cpp:87:19: error: cannot convert ‘bool’ to ‘SDL_Surface*’ in return mask==0) return false; ^~~~~ Makefile:58: recipe for target 'src/auxiliar.o' failed make: [src/auxiliar.o] Error 1 make: Waiting for unfinished jobs.... /home/pi Could not successfully build roadfighter - Roadfighter - Retro Remake (/home/pi/RetroPie-Setup/tmp/build/roadfighter/roadfighter not found).

Log ended at: Sun 20 May 10:47:17 UTC 2018 Total running time: 0 hours, 1 mins, 1 secs

zerojay commented 6 years ago

I can confirm the error you're seeing, however it needs to be sent upstream for fixing as there's nothing I can do about this. Likely the change of SDL version in Stretch is the issue here.