Just starting out with my pi and am attempting compile quake 3 from the ioquake source code on git hub. After I follow the usual instructions of installing the dependant packages that are git, gcc, build-essential and libsdl1.2-dev as well as modifying the build.sh file in nano, I run sudo ./ build.sh and run into this error.
Code: Select all
CC code/es/es_glimp.c
CC code/es/etc1encode.c
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/bcm_host.h:46,
from /opt/vc/include/EGL/eglplatform.h:95,
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.
CGAME_CC code/cgame/cg_main.c
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]
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 [-Wuninitialized]
code/es/etc1encode.c:1106:36: warning: ‘g’ may be used uninitialized in this function [-Wuninitialized]
code/es/etc1encode.c:1105:36: warning: ‘r’ may be used uninitialized in this function [-Wuninitialized]
make[2]: Leaving directory `/home/pi/quake3'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/pi/quake3'
make: *** [release] Error 2
I just really don't know where to go from here.
Help