Announcement

Collapse
No announcement yet.

Qrack on Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Qrack on Linux

    To anyone who knows..

    I noticed that Rook and Spirit were able to get qrack compiled on linux. I, unfortunately, am unable to. I've downloaded the src, and run the make make install, but I continuously get errors.

    I'm running Fedora Core 6, and can post specific error messages.

    Thanks in advance!

  • #2
    Unfortunately I dont have a working Linux installment :/ but I really plan to do so, I just want a solid linux dist to install! Then I can actually support LinuxQrack arent there any compiled binaries floating around?
    www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

    Comment


    • #3
      Look at the make file. It's for windows

      Comment


      • #4
        I don't think so. It's got a few entries for i386, but is bound to /usr/local

        And it also has this at the top
        # Quake Makefile for Linux 2.0

        Comment


        • #5
          Perhaps there was an update. The qrack makefile (if there ever was one) that I looked at had .dll written all over it.

          Comment


          • #6
            I just took a look at the source and I didn't find anything resembling a makefile. The closest I saw was Qrack.dsp which is the MSVC build file. I suppose you could generate a makefile based on that.

            Maybe when I get some time i can try to make a simple linux makefile.
            "If we fight for money I'll stop hitting you when you ask me to. If we fight for honor, I'll stop hitting you when I feel like it." - Rickson Gracie

            Comment


            • #7
              Well, most of the files compiled ok, but I gave up trying to get vid_glx.c to work (the linux GL driver file). It is very badly broken I then copied the same file from proquake 3.5 but it wasn't compatible. It will take a good amount of work to get this file to compile, and I don't really have the time to work on it Sorry!
              "If we fight for money I'll stop hitting you when you ask me to. If we fight for honor, I'll stop hitting you when I feel like it." - Rickson Gracie

              Comment


              • #8
                i'd think fuhquake for linux or jq's vid_glx.c would be compatible?
                www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                Comment


                • #9
                  We are talking about this: http://qudos.quakedev.com/linux/quak....1-src.tar.bz2

                  Tremor, post the errors please.
                  Quake 1 Singleplayer Maps and Mods

                  Comment


                  • #10
                    Spirit, I can post the errors a little later this day. Thanks for all the replies! I had given up on this, but maybe we can get it to work. Awesome.

                    Comment


                    • #11
                      Here's the error action

                      ** Release Build **
                      Compiling >> cl_demo.c ...
                      In file included from cl_demo.c:22:
                      quakedef.h:43:17: error: png.h: No such file or directory
                      In file included from quakedef.h:219,
                      from cl_demo.c:22:
                      server.h:214: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘host_abortserver’
                      In file included from quakedef.h:239,
                      from cl_demo.c:22:
                      glquake.h:29:20: error: GL/glx.h: No such file or directory
                      In file included from quakedef.h:239,
                      from cl_demo.c:22:
                      glquake.h:36: error: expected ‘)’ before ‘*’ token
                      glquake.h:37: error: expected ‘)’ before ‘*’ token
                      glquake.h:38: error: expected ‘)’ before ‘*’ token
                      glquake.h:39: error: expected ‘)’ before ‘*’ token
                      glquake.h:40: error: expected ‘)’ before ‘*’ token
                      glquake.h:41: error: expected ‘)’ before ‘*’ token
                      glquake.h:42: error: expected ‘)’ before ‘*’ token
                      glquake.h:43: error: expected ‘)’ before ‘*’ token
                      glquake.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bindTexFunc’
                      glquake.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘delTexFunc’
                      glquake.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TexSubImage2DFunc’
                      glquake.h:65: error: expected ‘)’ before ‘target’
                      glquake.h:68: error: expected ‘)’ before ‘target’
                      glquake.h:69: error: expected ‘)’ before ‘target’
                      glquake.h:273: error: expected ‘)’ before ‘*’ token
                      glquake.h:274: error: expected ‘)’ before ‘*’ token
                      glquake.h:276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qglMultiTexCoord2f’
                      glquake.h:277: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qglMultiTexCoord1f’
                      glquake.h:278: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘qglActiveTexture’
                      make[1]: *** [release-build/cl_demo.o] Error 1
                      make: [release] Error 2 (ignored)

                      Comment


                      • #12
                        Install:
                        libpng12-dev (maybe not 12, just grab the latest one available)
                        libgl1-mesa-dev

                        Now the libpng.h and the glx.h should be available.
                        Don't forget "make clean" before attempting compiling again.
                        Quake 1 Singleplayer Maps and Mods

                        Comment


                        • #13
                          So Tremor what did you type in to compile it?
                          QuakeOne.com
                          Quake One Resurrection

                          QuakeOne.com/qrack
                          Great Quake engine

                          Qrack 1.60.1 Ubuntu Guide
                          Get Qrack 1.60.1 running in Ubuntu!

                          Comment


                          • #14
                            Just do what you normally do to compile...

                            ./configure
                            make
                            Quake 1 Singleplayer Maps and Mods

                            Comment

                            Working...
                            X