RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Return to Castle Wolfenstein - IORTCW source port

    Scheduled Pinned Locked Moved General Discussion and Gaming
    rtcwreturn to castlwolfensteiniortcwports
    125 Posts 19 Posters 39.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Turrican2k @mitu
      last edited by

      @mitu Thank you very much, that helped!

      However, you have to enter in the * .cfg seta sv_pure "0".

      tpo1990T 1 Reply Last reply Reply Quote 0
      • tpo1990T
        tpo1990 @Turrican2k
        last edited by

        @ExarKunIv What RPI model did you ran the update script on?

        @Turrican2k You can also disable the "Pure server" option in the multiplayer server options. It should be there when choosing multiplayer map. This is easier that editing the .cfg file or changing it in the console.

        Greetings from Denmark. :-)

        Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

        ExarKunIvE 1 Reply Last reply Reply Quote 0
        • EvertE
          Evert
          last edited by

          Hi all, I've just tried installing this, but I get the following error:

          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).
          

          I'm on a Pi 3B running the latest Buster build.
          To install I ran

          wget https://raw.githubusercontent.com/tpo1990/RTCW-RPI/master/rtcw.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
          

          and then I installed from source in the RPsetup menu. Anyone know what's going on?

          Also, when I do manage to install this, do I need to have all the single player pak files (pak0.pk3, sp_pak1.pk3, sp_pak2.pk3, sp_pak3.pk3 and sp_pak4.pk3) to run this? My version of RTCW only has pak0.pk3 and sp_pak.pk3

          Thanks

          My Transformer Arcade Cabinet
          https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            @Evert said in Return to Castle Wolfenstein - IORTCW source port:

            and then I installed from source in the RPsetup menu. Anyone know what's going on?

            There's an error during installation from source - look in the logs sub-folder and you'll find the detailed error in the latest log file. My guess it's missing a package dependency and compilation fails.

            1 Reply Last reply Reply Quote 0
            • EvertE
              Evert
              last edited by Evert

              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?

              My Transformer Arcade Cabinet
              https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Evert
                last edited by

                @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.

                EvertE 1 Reply Last reply Reply Quote 0
                • EvertE
                  Evert @mitu
                  last edited by

                  @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?

                  My Transformer Arcade Cabinet
                  https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Evert
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • EvertE
                      Evert
                      last edited by

                      no worries, thanks for your help mate. I will patiently wait. Plenty of other games to play ;)

                      My Transformer Arcade Cabinet
                      https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

                      1 Reply Last reply Reply Quote 0
                      • ExarKunIvE
                        ExarKunIv @tpo1990
                        last edited by

                        @tpo1990 dont need to give you that :P @Evert posted all the info i was going to.
                        guess going to have to wait or down grade back to stock Pie.

                        testing what other Ports are not working

                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                        Maintainer of RetroPie-Extra .

                        1 Reply Last reply Reply Quote 0
                        • EvertE
                          Evert
                          last edited by

                          @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?

                          My Transformer Arcade Cabinet
                          https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

                          tpo1990T 1 Reply Last reply Reply Quote 0
                          • tpo1990T
                            tpo1990 @Evert
                            last edited by tpo1990

                            @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. :-)

                            Greetings from Denmark. :-)

                            Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @tpo1990
                              last edited by

                              @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.

                              tpo1990T 1 Reply Last reply Reply Quote 1
                              • tpo1990T
                                tpo1990 @mitu
                                last edited by tpo1990

                                @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.

                                Greetings from Denmark. :-)

                                Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                                ExarKunIvE 1 Reply Last reply Reply Quote 0
                                • ExarKunIvE
                                  ExarKunIv @tpo1990
                                  last edited by

                                  @tpo1990

                                  ok i redid my Pi and still IORTCW will not install.
                                  i did not update this version so its running stretch

                                  here 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

                                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                  Maintainer of RetroPie-Extra .

                                  tpo1990T 1 Reply Last reply Reply Quote 0
                                  • tpo1990T
                                    tpo1990 @ExarKunIv
                                    last edited by

                                    @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.

                                    Greetings from Denmark. :-)

                                    Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                                    • ExarKunIvE
                                      ExarKunIv @tpo1990
                                      last edited by

                                      @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

                                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                      Maintainer of RetroPie-Extra .

                                      tpo1990T 1 Reply Last reply Reply Quote 0
                                      • tpo1990T
                                        tpo1990 @ExarKunIv
                                        last edited by

                                        @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.

                                        Greetings from Denmark. :-)

                                        Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                                        ExarKunIvE 1 Reply Last reply Reply Quote 0
                                        • ExarKunIvE
                                          ExarKunIv @tpo1990
                                          last edited by

                                          @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

                                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                          Maintainer of RetroPie-Extra .

                                          tpo1990T 1 Reply Last reply Reply Quote 1
                                          • tpo1990T
                                            tpo1990 @ExarKunIv
                                            last edited by

                                            @ExarKunIv Good to know that you got it worked out. I will. Thanks.

                                            Greetings from Denmark. :-)

                                            Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.