Can't compile Sil-Q

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joeljpa
    Scout
    • Feb 2017
    • 41

    Can't compile Sil-Q

    I've tried to compile in on Windows 10 (note I'm completely new to Cygwin).
    I tried
    Code:
    make.exe -f Makefile.cyg install
    and get the following error
    Code:
    windres sil.rc -O coff -F pe-i386 -o sil.res
    make: windres: Command not found
    make: *** [Makefile.cyg:111: sil.res] Error 127
    What do I do? Also, I'm more comfortable in Linux and tried it there as well, failed . If running it on Linux is easier, I'll post the error I get there.
  • Quirk
    Swordsman
    • Mar 2016
    • 462

    #2
    Originally posted by joeljpa
    I've tried to compile in on Windows 10 (note I'm completely new to Cygwin).
    I tried
    Code:
    make.exe -f Makefile.cyg install
    and get the following error
    Code:
    windres sil.rc -O coff -F pe-i386 -o sil.res
    make: windres: Command not found
    make: *** [Makefile.cyg:111: sil.res] Error 127
    What do I do? Also, I'm more comfortable in Linux and tried it there as well, failed . If running it on Linux is easier, I'll post the error I get there.
    Windres should turn up in your cygwin/bin folder as a result of having mingw included in your cygwin install. What version of mingw are you running?

    Feel free to post the Linux error also, I am happy debugging either or both.

    Comment

    • joeljpa
      Scout
      • Feb 2017
      • 41

      #3
      Thanks for your help!
      So let's see with Windows then first.
      Well, it turns out I don't seem to have mingw installed or at least the right one. I did install some mingw. Either way, ming doesn't exist in the bin folder. Thing is Cygwin shows a LOT of mingws when searched and I do not know which is the right one. On the GitHub page, you've mentioned "mingw C" but I couldn't narrow it down, via searching further. I installed a "mingw gcc" too.

      Comment

      • Quirk
        Swordsman
        • Mar 2016
        • 462

        #4
        Originally posted by joeljpa
        Thanks for your help!
        So let's see with Windows then first.
        Well, it turns out I don't seem to have mingw installed or at least the right one. I did install some mingw. Either way, ming doesn't exist in the bin folder. Thing is Cygwin shows a LOT of mingws when searched and I do not know which is the right one. On the GitHub page, you've mentioned "mingw C" but I couldn't narrow it down, via searching further. I installed a "mingw gcc" too.
        So - mingw provides the Gnu C Compiler, GCC. This is what you want. GCC will build the source code.

        Have you a windres.exe in your Cygwin bin folder after install? Or anything ending windres.exe?

        Also if you prefer Linux, I do the development in Linux so that may be even easier to fix.

        Comment

        • joeljpa
          Scout
          • Feb 2017
          • 41

          #5
          Still getting the same error.
          but now I do now have some windres(es), in /bin/
          Code:
          i686-pc-cygwin-windmc.exe
          i686-pc-cygwin-windres.exe
          i686-w64-mingw32-windmc.exe
          i686-w64-mingw32-windres.exe
          Okay let's proceed to Linux then, I'm comfortable there as well.
          EDIT: Just let me know before that if you figure something out about this Windows thing.
          Last edited by joeljpa; May 2, 2019, 21:27.

          Comment

          • Quirk
            Swordsman
            • Mar 2016
            • 462

            #6
            Originally posted by joeljpa
            Still getting the same error.
            but now I do now have some windres(es), in /bin/
            Code:
            i686-pc-cygwin-windmc.exe
            i686-pc-cygwin-windres.exe
            i686-w64-mingw32-windmc.exe
            i686-w64-mingw32-windres.exe
            Okay let's proceed to Linux then, I'm comfortable there as well.
            The mklink command should allow you to create a symbolic link called windres.exe referencing i686-w64-mingw32-windres.exe - that may let you proceed.

            Comment

            • joeljpa
              Scout
              • Feb 2017
              • 41

              #7
              I would like to report I've got it running on Linux via just following the instructions.

              Dang, I don't know about others, but doing it Windows was a pain. I even got stuck trying your above-mentioned solution of symlinks. I definitely recommend people playing it on Linux if they have the choice.

              Comment

              • Quirk
                Swordsman
                • Mar 2016
                • 462

                #8
                Originally posted by joeljpa
                I definitely recommend people playing it on Linux if they have the choice.
                Well, I do provide precompiled Windows binaries for people who are not fussy about rolling their own. In general compiling things from source is much more of a chore on Windows.

                Comment

                • joeljpa
                  Scout
                  • Feb 2017
                  • 41

                  #9
                  Are those binaries somewhere on the GitHub page? I couldn't find them. Of course, it's cool for me now that it's running but I am wondering about other Windows (especially -only) users.

                  Comment

                  • Quirk
                    Swordsman
                    • Mar 2016
                    • 462

                    #10
                    Yes. If you go to:
                    Contribute to sil-quirk/sil-q development by creating an account on GitHub.


                    Each release should have a bit at the bottom called Assets (looking currently via a mobile browser). Sil-Q.1.4.2.zip holds the binaries for Windows.

                    Comment

                    • joeljpa
                      Scout
                      • Feb 2017
                      • 41

                      #11
                      Oh nice. I was looking for them the first time I found this game. In the readme, it mentioned only compiling so I assumed binaries weren't there and therefore took a stab a compiling for Windows.

                      Comment

                      Working...
                      😀
                      😂
                      🥰
                      😘
                      🤢
                      😎
                      😞
                      😡
                      👍
                      👎