RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10.02k stars 1.38k forks source link

Source Based: Some errors during Quake 3 #430

Closed nilsbyte closed 10 years ago

nilsbyte commented 10 years ago

I did another run, this time it ran through to the end. I will post the occured problems in separate issues. Not much anymore :) Good work.

Tested with a fresh raspbian image, upgraded and updated. Latest RetroPie Script as of 08-08-14 6 PM.

Following selection in 'Source-based INSTALLATION':

DEselected:

100 AdvMame 102 Macintosh emulator 104 Amstrad CPC emulator 107 Duke3D Port 115 Apple 2 emulator Linapple 116 MAME emulator MAME4All-Pi 120 FBA emulator PiFBA 200 Cave Story LibretroCore 201 Doom LibretroCore 202 FBA LibretroCore 205 MAME LibretroCore

All OTHER packages selected.

Building:

= = = = = = = = = = = = = = = = = = = = =
Building Quake 3
= = = = = = = = = = = = = = = = = = = = =

(...) next is the last line before installing:

mv: cannot stat `/opt/retropie/emulators/quake3src/build/release-linux-arm/*': No such file or directory
/home/pi/RetroPie-Setup

Installing:

= = = = = = = = = = = = = = = = = = = = =
Installing Quake 3
= = = = = = = = = = = = = = = = = = = = =

/home/pi/RetroPie-Setup/scriptmodules/emulators/quake3.sh: line 41: cd: /opt/retropie/emulators/quake3/baseq3: No such file or directory

(...)

2014-08-08 22:06:26 (2.58 MB/s) - `Q3DemoPaks.zip' saved [72084355/72084355]

Archive:  Q3pak.zip
   creating: /opt/retropie/emulators/quake3/baseq3/
  inflating: /opt/retropie/emulators/quake3/baseq3/pak0.pk3  
  inflating: /opt/retropie/emulators/quake3/baseq3/pak1.pk3  
  inflating: /opt/retropie/emulators/quake3/baseq3/pak2.pk3  
  inflating: /opt/retropie/emulators/quake3/baseq3/pak3.pk3  
  inflating: /opt/retropie/emulators/quake3/baseq3/pak4.pk3  
  inflating: /opt/retropie/emulators/quake3/baseq3/pak5.pk3  
  inflating: /opt/retropie/emulators/quake3/baseq3/pak6.pk3  
  inflating: /opt/retropie/emulators/quake3/baseq3/pak7.pk3  
  inflating: /opt/retropie/emulators/quake3/baseq3/pak8.pk3  
rm: cannot remove `/opt/retropie/emulators/quake3/baseq3/Q3pak.zip': No such file or directory
chmod: cannot access `/opt/retropie/emulators/quake3/ioq3ded.arm': No such file or directory
chmod: cannot access `/opt/retropie/emulators/quake3/ioquake3.arm': No such file or directory

Configuring:

= = = = = = = = = = = = = = = = = = = = =
Configuring Quake 3
= = = = = = = = = = = = = = = = = = = = =

/home/pi/RetroPie-Setup/scriptmodules/emulators/quake3.sh: line 56: /home/pi/RetroPie/roms/ports/Quake III Arena.sh: No such file or directory
chmod: cannot access `/home/pi/RetroPie/roms/ports/Quake III Arena.sh': No such file or directory
nilsbyte commented 10 years ago

I updated the retropie_setup script to the latest version on my existing installation and installed only Quake 3 again.

Still fails, showing only the last lines. Let me know if you need more.

In file included from /opt/vc/include/interface/vcos/vcos_assert.h:149:0,
                 from /opt/vc/include/interface/vcos/vcos.h:114,
                 from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
                 from /opt/vc/include/EGL/eglplatform.h:110,
                 from /opt/vc/include/EGL/egl.h:36,
                 from code/es/es_glimp.c:36:
/opt/vc/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: No such file or directory
compilation terminated.
code/es/etc1encode.c:68:12: warning: ‘dsize’ defined but not used [-Wunused-variable]
code/es/etc1encode.c:72:18: warning: ‘ldropped’ defined but not used [-Wunused-variable]
code/es/etc1encode.c:72:28: warning: ‘ltested’ defined but not used [-Wunused-variable]
code/es/etc1encode.c:764:27: warning: ‘block_encode_search’ defined but not used [-Wunused-function]
CGAME_CC code/cgame/cg_main.c
make[2]: *** [build/release-linux-arm/client/es_glimp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
code/es/etc1encode.c: In function ‘etc1_compress_tex_image’:
code/es/etc1encode.c:1107:36: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
code/es/etc1encode.c:1106:36: warning: ‘g’ may be used uninitialized in this function [-Wmaybe-uninitialized]
code/es/etc1encode.c:1105:36: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
make[2]: Leaving directory `/opt/retropie/emulators/quake3src'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/opt/retropie/emulators/quake3src'
make: *** [release] Error 2
/home/pi/RetroPie-Setup
joolswills commented 10 years ago

thanks. the build.sh path replacement code I did was missing a parameter. fixed in 5487a2591144798743cc2b8a95cb9f9a3b1a2fe4

nilsbyte commented 10 years ago

That fixed it. Compiled without problems. It's amazing that this game runs on the RPi. :)