Return to Castle Wolfenstein - IORTCW source port
-
Hi mate, this is the last section from the log:
In file included from code/renderer/qgl.h:38, from code/renderer/tr_local.h:37, from code/renderer/tr_altivec.c:29: /usr/include/SDL2/SDL_opengles.h:33:10: fatal error: GLES/gl.h: No such file or directory #include <GLES/gl.h> ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:2617: build/release-linux-arm/renderer/tr_altivec.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/MP' make[1]: *** [Makefile:1383: targets] Error 2 make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/MP' make: *** [Makefile:1301: release] Error 2 /home/pi /home/pi/RetroPie-Setup/tmp/build/rtcw /home/pi
Don't really know what to do with this do. Do you need to full log or is the GLES file the only issue?
-
@Evert That's because there's no GLES1 dev package available for that Debian version - it used to be https://packages.debian.org/stretch/libgles1-mesa-dev, but in Buster that package is not available anymore - https://packages.debian.org/search?keywords=libgles1-mesa-dev.
-
@mitu ok, so does that mean that IORTCW won't work on the new buster image? Is there a work around or does the port require to be updated for buster?
-
@Evert said in Return to Castle Wolfenstein - IORTCW source port:
@mitu ok, so does that mean that IORTCW won't work on the new buster image? Is there a work around or does the port require to be updated for buster?
Can't say if/when it will work, but at the moment it's not building for Buster in the current form.
Anyway, since the Buster image is still a work in progress, you'll have to wait until it's actually released. Otherwise, use the current stable image and it might work. -
no worries, thanks for your help mate. I will patiently wait. Plenty of other games to play ;)
-
-
@mitu Do you know if this problem would be the same for the quake 3 port or does that use a different driver and therefore compile properly on Buster?
-
@Evert It will only be a problem for the ports/games that use
GLES
. At the moment Raspbian Buster is not supported for this port until it gets properly released.You might be able to fix it by manually searching for how to install
GLES
on a Raspberry Pi. However take notice that this can be quite difficult if you haven't done that before since you might need to compile it. Since IORTCW uses the same engine as Quake 3, it might also not work for that game as well. I haven't tried Raspbian Buster yet.I work only on the latest stable release from RetroPie. That is my primary priority, so that most users on RetroPie will successfully be able to install the port and play it.
@ExarKunIv No problem then :-P Didn't know that it will not be able to compile and install on Raspbian Buster. But now that I have that confirmed. Thanks. :-)
-
@tpo1990 It's only the GLES1 headers that have been removed from MESA - but I think they're also shipped in the
librasperrypi-dev
package (in/opt/vc/lib
and/opt/vc/include
). It might be just a matter of adjusting the compile flags, but it's better to just wait for a Buster release for things to settle. -
@mitu Yes it will require adjusting the compile flags and people who do not run the official RetroPie image will not be able to get IORTCW to compile and install onto their Raspberry Pi. I agree, Its probably best to just wait and it will eventually get solved. I think mostly this is aimed towards people who owns a Raspberry Pi 4B.
-
ok i redid my Pi and still IORTCW will not install.
i did not update this version so its running stretchhere is the error log
Log started at: Mon 2 Mar 14:17:42 GMT 2020 RetroPie-Setup version: 4.5.14 (67b690d8) System: Raspbian GNU/Linux 9.9 (stretch) - Linux retropie 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'rtcw' : RTCW - IORTCW source port of Return to Castle Wolfenstein. = = = = = = = = = = = = = = = = = = = = = /home/pi/RetroPie-Setup/tmp/build/rtcw /home/pi = = = = = = = = = = = = = = = = = = = = = Getting sources for 'rtcw' : RTCW - IORTCW source port of Return to Castle Wolfenstein. = = = = = = = = = = = = = = = = = = = = = git clone --recursive --depth 1 --branch master "https://github.com/iortcw/iortcw.git" "/home/pi/RetroPie-Setup/tmp/build/rtcw" Cloning into '/home/pi/RetroPie-Setup/tmp/build/rtcw'... Checking out files: 36% (1211/3309) Checking out files: 37% (1225/3309) Checking out files: 38% (1258/3309) Checking out files: 39% (1291/3309) Checking out files: 40% (1324/3309) Checking out files: 41% (1357/3309) Checking out files: 42% (1390/3309) Checking out files: 43% (1423/3309) Checking out files: 44% (1456/3309) Checking out files: 45% (1490/3309) Checking out files: 46% (1523/3309) Checking out files: 47% (1556/3309) Checking out files: 48% (1589/3309) Checking out files: 49% (1622/3309) Checking out files: 50% (1655/3309) Checking out files: 51% (1688/3309) Checking out files: 52% (1721/3309) Checking out files: 53% (1754/3309) Checking out files: 54% (1787/3309) Checking out files: 55% (1820/3309) Checking out files: 56% (1854/3309) Checking out files: 57% (1887/3309) Checking out files: 58% (1920/3309) Checking out files: 59% (1953/3309) Checking out files: 60% (1986/3309) Checking out files: 61% (2019/3309) Checking out files: 62% (2052/3309) Checking out files: 63% (2085/3309) Checking out files: 64% (2118/3309) Checking out files: 65% (2151/3309) Checking out files: 66% (2184/3309) Checking out files: 67% (2218/3309) Checking out files: 68% (2251/3309) Checking out files: 69% (2284/3309) Checking out files: 70% (2317/3309) Checking out files: 71% (2350/3309) Checking out files: 72% (2383/3309) Checking out files: 73% (2416/3309) Checking out files: 74% (2449/3309) Checking out files: 75% (2482/3309) Checking out files: 76% (2515/3309) Checking out files: 77% (2548/3309) Checking out files: 78% (2582/3309) Checking out files: 78% (2612/3309) Checking out files: 79% (2615/3309) Checking out files: 80% (2648/3309) Checking out files: 81% (2681/3309) Checking out files: 82% (2714/3309) Checking out files: 83% (2747/3309) Checking out files: 84% (2780/3309) Checking out files: 85% (2813/3309) Checking out files: 86% (2846/3309) Checking out files: 87% (2879/3309) Checking out files: 88% (2912/3309) Checking out files: 89% (2946/3309) Checking out files: 90% (2979/3309) Checking out files: 91% (3012/3309) Checking out files: 92% (3045/3309) Checking out files: 93% (3078/3309) Checking out files: 94% (3111/3309) Checking out files: 95% (3144/3309) Checking out files: 96% (3177/3309) Checking out files: 97% (3210/3309) Checking out files: 98% (3243/3309) Checking out files: 99% (3276/3309) Checking out files: 100% (3309/3309) Checking out files: 100% (3309/3309), done. HEAD is now in branch 'master' at commit '2f4c32908497d0ba45e87ba93217c8e84b219ada' /home/pi /home/pi/RetroPie-Setup/tmp/build/rtcw /home/pi = = = = = = = = = = = = = = = = = = = = = Building 'rtcw' : RTCW - IORTCW source port of Return to Castle Wolfenstein. = = = = = = = = = = = = = = = = = = = = = make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/SP' Building in build/release-linux-arm: PLATFORM: linux ARCH: arm FILE_ARCH: arm VERSION: 1.51d-SP_GIT_2f4c329-2020-02-25 COMPILE_PLATFORM: linux COMPILE_ARCH: arm HAVE_VM_COMPILED: true PKG_CONFIG: pkg-config CC: cc CXX: g++ CFLAGS: -O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -pipe -Wall -fno-strict-aliasing -pipe -DUSE_ICON -DARCH_STRING="arm" -DUSE_OPENGLES -DNO_GZIP -Icode/zlib-1.2.11 -DUSE_INTERNAL_JPEG -Icode/jpeg-8c -DBUILD_FREETYPE -Icode/freetype-2.9/include -DFT2_BUILD_LIBRARY -DUSE_LOCAL_HEADERS -DPRODUCT_VERSION="1.51d-SP_GIT_2f4c329-2020-02-25" -Wformat=2 -Wformat-security -Wno-format-nonliteral -Wstrict-aliasing=2 -Wmissing-format-attribute -Wdisabled-optimization -MMD -DNDEBUG -O3 -ffast-math CLIENT_CFLAGS: -D_REENTRANT -I/usr/include/SDL2 -Icode/SDL2/include -DUSE_OPENAL -DUSE_OPENAL_DLOPEN SERVER_CFLAGS: LDFLAGS: LIBS: -ldl -lm CLIENT_LIBS: -lSDL2 Output: iowolfsp.arm main/cgame.sp.arm.so main/qagame.sp.arm.so main/ui.sp.arm.so make[2]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/SP' CC code/client/cl_cgame.c CC code/client/cl_cin.c CC code/client/cl_console.c CC code/client/cl_input.c CC code/client/cl_keys.c CC code/client/cl_main.c CC code/client/cl_net_chan.c CC code/client/cl_parse.c CC code/client/cl_scrn.c CC code/client/cl_ui.c CC code/client/cl_avi.c CC code/qcommon/cm_load.c CC code/qcommon/cm_patch.c CC code/qcommon/cm_polylib.c CC code/qcommon/cm_test.c CC code/qcommon/cm_trace.c CC code/qcommon/cmd.c CC code/qcommon/common.c CC code/qcommon/cvar.c CC code/qcommon/files.c CC code/qcommon/md4.c CC code/qcommon/md5.c CC code/qcommon/msg.c CC code/qcommon/net_chan.c CC code/qcommon/net_ip.c CC code/qcommon/huffman.c CC code/client/snd_altivec.c CC code/client/snd_adpcm.c CC code/client/snd_dma.c CC code/client/snd_mem.c CC code/client/snd_mix.c CC code/client/snd_wavelet.c CC code/client/snd_main.c CC code/client/snd_codec.c CC code/client/snd_codec_wav.c CC code/client/snd_codec_ogg.c CC code/client/snd_codec_opus.c CC code/client/qal.c CC code/client/snd_openal.c CC code/client/cl_curl.c CC code/server/sv_bot.c CC code/server/sv_ccmds.c CC code/server/sv_client.c CC code/server/sv_game.c CC code/server/sv_init.c CC code/server/sv_main.c CC code/server/sv_net_chan.c CC code/server/sv_snapshot.c CC code/server/sv_world.c CC code/qcommon/q_math.c CC code/qcommon/q_shared.c CC code/zlib-1.2.11/unzip.c CC code/zlib-1.2.11/ioapi.c CC code/qcommon/puff.c CC code/qcommon/vm.c CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c BOT_CC code/botlib/be_aas_optimize.c BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.c BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_aas_routetable.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c BOT_CC code/botlib/be_ai_gen.c BOT_CC code/botlib/be_ai_goal.c BOT_CC code/botlib/be_ai_move.c BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c SPLINE_CXX code/splines/math_angles.cpp SPLINE_CXX code/splines/math_matrix.cpp SPLINE_CXX code/splines/math_quaternion.cpp SPLINE_CXX code/splines/math_vector.cpp SPLINE_CXX code/splines/q_parse.cpp SPLINE_CXX code/splines/splines.cpp SPLINE_CXX code/splines/util_str.cpp CC code/sdl/sdl_input.c CC code/sdl/sdl_snd.c CC code/sys/con_log.c CC code/sys/sys_main.c In file included from code/splines/splines.h:41:0, from code/splines/splines.cpp:30: code/splines/util_list.h: In member function ‘void idCameraDef::buildCamera()’: code/splines/util_list.h:197:2: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if ( m_size < m_num ) { ^~ code/splines/util_list.h:197:2: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if ( m_size < m_num ) { ^~ CC code/sys/con_tty.c CC code/zlib-1.2.11/adler32.c CC code/zlib-1.2.11/crc32.c CC code/zlib-1.2.11/inffast.c CC code/zlib-1.2.11/inflate.c CC code/zlib-1.2.11/inftrees.c CC code/zlib-1.2.11/zutil.c CC code/qcommon/vm_armv7l.c CC code/sys/sys_unix.c REF_CC code/renderer/tr_altivec.c In file included from code/renderer/qgl.h:38:0, from code/renderer/tr_local.h:37, from code/renderer/tr_altivec.c:29: /usr/include/SDL2/SDL_opengles.h:33:21: fatal error: GLES/gl.h: No such file or directory #include <GLES/gl.h> ^ compilation terminated. Makefile:2583: recipe for target 'build/release-linux-arm/renderer/tr_altivec.o' failed make[2]: *** [build/release-linux-arm/renderer/tr_altivec.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/SP' Makefile:1327: recipe for target 'targets' failed make[1]: *** [targets] Error 2 make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/SP' Makefile:1278: recipe for target 'release' failed make: *** [release] Error 2 make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/MP' Building in build/release-linux-arm: PLATFORM: linux ARCH: arm FILE_ARCH: arm VERSION: 1.51d-MP_GIT_2f4c329-2020-02-25 COMPILE_PLATFORM: linux COMPILE_ARCH: arm HAVE_VM_COMPILED: true PKG_CONFIG: pkg-config CC: cc CXX: g++ CFLAGS: -O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -pipe -Wall -fno-strict-aliasing -pipe -DUSE_ICON -DARCH_STRING="arm" -DUSE_OPENGLES -DNO_GZIP -Icode/zlib-1.2.11 -DUSE_INTERNAL_JPEG -Icode/jpeg-8c -DBUILD_FREETYPE -Icode/freetype-2.9/include -DFT2_BUILD_LIBRARY -DUSE_LOCAL_HEADERS -DPRODUCT_VERSION="1.51d-MP_GIT_2f4c329-2020-02-25" -Wformat=2 -Wformat-security -Wno-format-nonliteral -Wstrict-aliasing=2 -Wmissing-format-attribute -Wdisabled-optimization -MMD -DNDEBUG -O3 -ffast-math CLIENT_CFLAGS: -D_REENTRANT -I/usr/include/SDL2 -Icode/SDL2/include -I/usr/include/arm-linux-gnueabihf -DUSE_OPENAL -DUSE_OPENAL_DLOPEN -DUSE_CURL -DUSE_CURL_DLOPEN -DUSE_PBMD5 SERVER_CFLAGS: LDFLAGS: LIBS: -ldl -lm CLIENT_LIBS: -lSDL2 Output: iowolfded.arm iowolfmp.arm main/cgame.mp.arm.so main/qagame.mp.arm.so main/ui.mp.arm.so main/vm/cgame.mp.qvm main/vm/qagame.mp.qvm main/vm/ui.mp.qvm make[2]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/MP' DED_CC code/server/sv_bot.c DED_CC code/server/sv_client.c DED_CC code/server/sv_ccmds.c DED_CC code/server/sv_game.c DED_CC code/server/sv_init.c DED_CC code/server/sv_main.c DED_CC code/server/sv_net_chan.c DED_CC code/server/sv_snapshot.c DED_CC code/server/sv_world.c DED_CC code/qcommon/cm_load.c DED_CC code/qcommon/cm_patch.c DED_CC code/qcommon/cm_polylib.c DED_CC code/qcommon/cm_test.c DED_CC code/qcommon/cm_trace.c DED_CC code/qcommon/cmd.c DED_CC code/qcommon/common.c DED_CC code/qcommon/cvar.c DED_CC code/qcommon/files.c DED_CC code/qcommon/md4.c DED_CC code/qcommon/msg.c DED_CC code/qcommon/net_chan.c DED_CC code/qcommon/net_ip.c DED_CC code/qcommon/huffman.c DED_CC code/qcommon/q_math.c DED_CC code/qcommon/q_shared.c DED_CC code/zlib-1.2.11/unzip.c DED_CC code/zlib-1.2.11/ioapi.c DED_CC code/qcommon/vm.c DED_CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c BOT_CC code/botlib/be_aas_optimize.c BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.c BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_aas_routetable.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c BOT_CC code/botlib/be_ai_gen.c BOT_CC code/botlib/be_ai_goal.c BOT_CC code/botlib/be_ai_move.c BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c DED_CC code/null/null_client.c DED_CC code/null/null_input.c DED_CC code/null/null_snddma.c DED_CC code/sys/con_log.c DED_CC code/sys/sys_main.c DED_CC code/zlib-1.2.11/adler32.c DED_CC code/zlib-1.2.11/crc32.c DED_CC code/zlib-1.2.11/inffast.c DED_CC code/zlib-1.2.11/inflate.c DED_CC code/zlib-1.2.11/inftrees.c DED_CC code/zlib-1.2.11/zutil.c DED_CC code/qcommon/vm_armv7l.c DED_CC code/sys/sys_unix.c DED_CC code/sys/con_tty.c CC code/client/cl_cgame.c CC code/client/cl_cin.c CC code/client/cl_console.c CC code/client/cl_input.c CC code/client/cl_keys.c CC code/client/cl_main.c CC code/client/cl_net_chan.c CC code/client/cl_parse.c CC code/client/cl_scrn.c CC code/client/cl_ui.c CC code/client/cl_avi.c CC code/qcommon/cm_load.c CC code/qcommon/cm_patch.c CC code/qcommon/cm_polylib.c CC code/qcommon/cm_test.c CC code/qcommon/cm_trace.c CC code/qcommon/cmd.c CC code/qcommon/common.c CC code/qcommon/cvar.c CC code/qcommon/files.c CC code/qcommon/md4.c CC code/qcommon/md5.c CC code/qcommon/pbmd5.c CC code/qcommon/msg.c CC code/qcommon/net_chan.c CC code/qcommon/net_ip.c CC code/qcommon/huffman.c CC code/client/snd_altivec.c CC code/client/snd_adpcm.c CC code/client/snd_dma.c CC code/client/snd_mem.c CC code/client/snd_mix.c CC code/client/snd_wavelet.c CC code/client/snd_main.c CC code/client/snd_codec.c CC code/client/snd_codec_wav.c CC code/client/snd_codec_ogg.c CC code/client/snd_codec_opus.c CC code/client/qal.c CC code/client/snd_openal.c CC code/client/cl_curl.c CC code/server/sv_bot.c CC code/server/sv_ccmds.c CC code/server/sv_client.c CC code/server/sv_game.c CC code/server/sv_init.c CC code/server/sv_main.c CC code/server/sv_net_chan.c CC code/server/sv_snapshot.c CC code/server/sv_world.c CC code/qcommon/q_math.c CC code/qcommon/q_shared.c CC code/zlib-1.2.11/unzip.c CC code/zlib-1.2.11/ioapi.c CC code/qcommon/puff.c CC code/qcommon/vm.c CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c BOT_CC code/botlib/be_aas_optimize.c BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.c BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_aas_routetable.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c BOT_CC code/botlib/be_ai_gen.c BOT_CC code/botlib/be_ai_goal.c BOT_CC code/botlib/be_ai_move.c BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c SPLINE_CXX code/splines/math_angles.cpp SPLINE_CXX code/splines/math_matrix.cpp SPLINE_CXX code/splines/math_quaternion.cpp SPLINE_CXX code/splines/math_vector.cpp SPLINE_CXX code/splines/q_parse.cpp SPLINE_CXX code/splines/splines.cpp SPLINE_CXX code/splines/util_str.cpp CC code/sdl/sdl_input.c CC code/sdl/sdl_snd.c CC code/sys/con_log.c In file included from code/splines/splines.h:41:0, from code/splines/splines.cpp:30: code/splines/util_list.h: In member function ‘void idCameraDef::buildCamera()’: code/splines/util_list.h:197:2: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if ( m_size < m_num ) { ^~ code/splines/util_list.h:197:2: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if ( m_size < m_num ) { ^~ CC code/sys/sys_main.c CC code/sys/con_tty.c CC code/zlib-1.2.11/adler32.c CC code/zlib-1.2.11/crc32.c CC code/zlib-1.2.11/inffast.c CC code/zlib-1.2.11/inflate.c CC code/zlib-1.2.11/inftrees.c CC code/zlib-1.2.11/zutil.c CC code/qcommon/vm_armv7l.c CC code/sys/sys_unix.c REF_CC code/renderer/tr_altivec.c In file included from code/renderer/qgl.h:38:0, from code/renderer/tr_local.h:37, from code/renderer/tr_altivec.c:29: /usr/include/SDL2/SDL_opengles.h:33:21: fatal error: GLES/gl.h: No such file or directory #include <GLES/gl.h> ^ compilation terminated. Makefile:2617: recipe for target 'build/release-linux-arm/renderer/tr_altivec.o' failed make[2]: *** [build/release-linux-arm/renderer/tr_altivec.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/MP' Makefile:1350: recipe for target 'targets' failed make[1]: *** [targets] Error 2 make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/rtcw/MP' Makefile:1301: recipe for target 'release' failed make: *** [release] Error 2 /home/pi /home/pi/RetroPie-Setup/tmp/build/rtcw /home/pi = = = = = = = = = = = = = = = = = = = = = Installing 'rtcw' : RTCW - IORTCW source port of Return to Castle Wolfenstein. = = = = = = = = = = = = = = = = = = = = = /home/pi Could not successfully install RTCW - IORTCW source port of Return to Castle Wolfenstein. (/home/pi/RetroPie-Setup/tmp/build/rtcw/SP/build/release-linux-arm/iowolfsp.arm not found). Log ended at: Mon 2 Mar 14:24:05 GMT 2020 Total running time: 0 hours, 6 mins, 23 secs 111
-
@ExarKunIv From your log it looks like the compilation still can not find the GLES file named
gl.h
. How did you install RetroPie on Stretch? Was it by the official RetroPie image or by manually installing RetroPie on top of a Raspbian Stretch build?I need this information in order to test it on my own test setup.
-
@tpo1990 it was a clean load from the retropie site. all i did was run the update script so i could update everything else but the OS. that is still what ever the base OS is for 4.5.1
-
@ExarKunIv Hmm It doesn't make sense. It should work on the official RetroPie image, unless there is something else I am missing out on then it will not work since it can not find your gles library on your Raspbian OS version.
-
@tpo1990 ok i did a clean install and was able to install RTCW with out a problem.
not sure what changed when i ran the update script even though i did not update the OS
i just updated everything else.if you need anything else let me know
-
@ExarKunIv Good to know that you got it worked out. I will. Thanks.
-
Hi.
I have installed iortcw on a Raspberry Pi 4, with Retropie 4.4.18.
I have modified in installation script make-raspberrypi.sh.
I have changed:
USE_OPENGLES=1
By:
USE_OPENGLES=0
And installed in the main folder the Venon mod 6.5, it works well with spectacular graphics.
Let's enjoy it.
-
@Cesarpuig Thank you for your contribution. This will be useful for those who owns a Raspberry Pi 4 and want to try running the port even though it officially only works on older Raspberry Pis.
-
Hello @tpo1990 .
The first of all this are suggestions, in my case they have been quite functional, I'm not informatic and I'm not very good at it. English is not my native language and I use the google translator.
Tips for the iortcw script:
BUILD.
function build_rtcw() { cd "$md_build/SP" USE_CODEC_VORBIS=0 USE_CODEC_OPUS=0 USE_CURL=0 USE_CURL_DLOPEN=0 USE_OPENAL=1 USE_OPENAL_DLOPEN=1 USE_RENDERER_DLOPEN=0 USE_VOIP=0 \ USE_LOCAL_HEADERS=1 USE_INTERNAL_JPEG=1 USE_INTERNAL_OPUS=1 USE_INTERNAL_ZLIB=1 USE_OPENGLES=1 USE_BLOOM=0 USE_MUMBLE=0 BUILD_GAME_SO=1 \ BUILD_RENDERER_REND2=0 ARCH=armv7l PLATFORM=linux COMPILE_ARCH=arm COMPILE_PLATFORM=linux \ make cd "$md_build/MP" USE_CODEC_VORBIS=0 USE_CODEC_OPUS=0 USE_CURL=0 USE_CURL_DLOPEN=0 USE_OPENAL=1 USE_OPENAL_DLOPEN=1 USE_RENDERER_DLOPEN=0 USE_VOIP=0 \ USE_LOCAL_HEADERS=1 USE_INTERNAL_JPEG=1 USE_INTERNAL_OPUS=1 USE_INTERNAL_ZLIB=1 USE_OPENGLES=1 USE_BLOOM=0 USE_MUMBLE=0 BUILD_GAME_SO=1 \ BUILD_RENDERER_REND2=0 ARCH=armv7l PLATFORM=linux COMPILE_ARCH=arm COMPILE_PLATFORM=linux \ make md_ret_require="$md_build/SP" md_ret_require="$md_build/MP" }
Remove the reference to the make.raspberrypi.sh script, and add the contents of this file.
Because it is much more flexible when making modifications, now the make.raspberrypi.sh script does not work due to changes in the source, it would have to be modified to replace:
ARCH=arm
by:
ARCH=armv7l
INSTALL.
function install_rtcw() { md_ret_files=( 'SP/build/release-linux-armv7l/iowolfsp.armv7l' 'SP/build/release-linux-armv7l/main/cgame.sp.armv7l.so' 'SP/build/release-linux-armv7l/main/qagame.sp.armv7l.so' 'SP/build/release-linux-armv7l/main/ui.sp.armv7l.so' 'MP/build/release-linux-armv7l/iowolfded.armv7l' 'MP/build/release-linux-armv7l/iowolfmp.armv7l' 'MP/build/release-linux-armv7l/main/cgame.mp.armv7l.so' 'MP/build/release-linux-armv7l/main/qagame.mp.armv7l.so' 'MP/build/release-linux-armv7l/main/ui.mp.armv7l.so' 'MP/build/release-linux-armv7l/main/vm/' ) }
The build folder has changed its name when changing
ARCH=armv7l
, in addition the complete main folder is not necessary, but only some of the files.GAME DATA
function game_data_rtcw() { mkdir /opt/retropie/ports/rtcw/main mv /opt/retropie/ports/rtcw/*.so /opt/retropie/ports/rtcw/main mv /opt/retropie/ports/rtcw/vm /opt/retropie/ports/rtcw/main mkdir "$home/.wolf/main" #wget "https://raw.githubusercontent.com/tpo1990/RTCW-RPI/master/wolfconfig.cfg" #mv wolfconfig.cfg "$home/.wolf/main" chown -R $user:$user "$romdir/ports/rtcw" chown -R $user:$user "$md_conf_root/rtcw-sp" }
As I said before, the full main folder is not necessary, but only some of the files.
I comment your configuration file because in my case it is not necessary with the one generated by default it works well for me in rpi3 and rpi4
CONFIGURE
function configure_rtcw() { addPort "rtcw-sp" "rtcw-sp" "Return to Castle Wolfenstein SP" "$md_inst/iowolfsp.armv7l" addPort "rtcw-mp" "rtcw-mp" "Return to Castle Wolfenstein MP" "$md_inst/iowolfmp.armv7l" mkRomDir "ports/rtcw" moveConfigDir "$home/.wolf" "$md_conf_root/rtcw-sp" moveConfigDir "$md_inst/main" "$romdir/ports/rtcw" [[ "$md_mode" == "install" ]] && game_data_rtcw }
I give emulators different names when adding ports because this way I can assign different resolutions from runcommand.
I hope it serves more people.
-
Is this only for the Pi4 or will it perform well on a Pi3?
I can't seem to find the module in the experimental section, as the topic states, hence why I'm asking.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.