Results 1 to 6 of 6

Thread: Recompiling KeeperFX

  
  1. #1

    Default Recompiling KeeperFX

    Hello
    I really wanted to commit some changes and improvements over the KeeperFX.
    So I have got the source of KeeperFX from here: https://github.com/dkfans/keeperfx
    I have also installed all the MinGW, MSYS and Coreutils things as described here: https://keeperklan.com/threads/2846-...-and-Coreutils

    but still getting error:
    Code:
    gcc.exe: unrecognized option `-MP'
    gcc.exe: unrecognized option `-MFobj/std/bflib_dernc.d'
    gcc.exe: unrecognized option `-MTobj/std/bflib_dernc.d'
    gcc.exe: installation problem, cannot exec `cc1': No such file or directory
    Makefile:664: recipe for target 'obj/std/bflib_dernc.o' failed
    mingw32-make: *** [obj/std/bflib_dernc.o] Error 1
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(43,5): error MSB3073: The command "sh -c "mingw32-make standard" exited with code 2.
    Anyone have a clue? I would really appreciate any kind of advice.

  2. #2

    Default Re: Recompiling KeeperFX

    I don't think I can help you with the build error.
    I do advice against proceeding with that KeeperFX branch, you'd be much better of proceeding with KeeperFX Stable or KeeperFX Unofficial.

  3. #3
    Your Majesty Hapuga's Avatar
    Join Date
    Aug 2009
    Location
    Austin, USA
    Posts
    1,444

    Default Re: Recompiling KeeperFX

    Quote Originally Posted by Schizz View Post
    Hello
    I really wanted to commit some changes and improvements over the KeeperFX.
    So I have got the source of KeeperFX from here: https://github.com/dkfans/keeperfx
    I have also installed all the MinGW, MSYS and Coreutils things as described here: https://keeperklan.com/threads/2846-...-and-Coreutils

    but still getting error:
    Code:
    gcc.exe: unrecognized option `-MP'
    gcc.exe: unrecognized option `-MFobj/std/bflib_dernc.d'
    gcc.exe: unrecognized option `-MTobj/std/bflib_dernc.d'
    gcc.exe: installation problem, cannot exec `cc1': No such file or directory
    Makefile:664: recipe for target 'obj/std/bflib_dernc.o' failed
    mingw32-make: *** [obj/std/bflib_dernc.o] Error 1
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(43,5): error MSB3073: The command "sh -c "mingw32-make standard" exited with code 2.
    Anyone have a clue? I would really appreciate any kind of advice.
    Which version of the compiler are you using? Are you sure it is the correct version?
    http://img192.imageshack.us/img192/6659/c2warlocki.gif

  4. #4

    Default Re: Recompiling KeeperFX

    Quote Originally Posted by YourMaster View Post
    you'd be much better of proceeding with KeeperFX Stable or KeeperFX Unofficial.
    I didnt even know about them. But the error remains even there


    Quote Originally Posted by Hapuga View Post
    Which version of the compiler are you using? Are you sure it is the correct version?
    Well, I used the "mingw-get update" after installing it, so it should be the newest version, no?

    Dunno if it is important but after trying to compile the keeperfx-stable, the error has chnged to
    this:
    Code:
    curl -L -o "sdl/SDL-devel-1.2.14-mingw32.tar.gz.dl" "https://www.libsdl.org/release/SDL-devel-1.2.14-mingw32.tar.gz"
    /usr/bin/sh: curl: command not found
    libexterns.mk:44: recipe for target 'sdl/SDL-devel-1.2.14-mingw32.tar.gz' failed
    mingw32-make: *** [sdl/SDL-devel-1.2.14-mingw32.tar.gz] Error 127
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "sh -c "mingw32-make heavylog"" exited with code 2.
    Last edited by Schizz; February 9th, 2018 at 18:11.

  5. #5
    Your Majesty Hapuga's Avatar
    Join Date
    Aug 2009
    Location
    Austin, USA
    Posts
    1,444

    Default Re: Recompiling KeeperFX

    Quote Originally Posted by Schizz View Post
    I didnt even know about them. But the error remains even there




    Well, I used the "mingw-get update" after installing it, so it should be the newest version, no?

    Dunno if it is important but after trying to compile the keeperfx-stable, the error has chnged to
    this:
    Code:
    curl -L -o "sdl/SDL-devel-1.2.14-mingw32.tar.gz.dl" "https://www.libsdl.org/release/SDL-devel-1.2.14-mingw32.tar.gz"
    /usr/bin/sh: curl: command not found
    libexterns.mk:44: recipe for target 'sdl/SDL-devel-1.2.14-mingw32.tar.gz' failed
    mingw32-make: *** [sdl/SDL-devel-1.2.14-mingw32.tar.gz] Error 127
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "sh -c "mingw32-make heavylog"" exited with code 2.
    You should build with the same version that was used to build KeeperFX, not latest.
    http://img192.imageshack.us/img192/6659/c2warlocki.gif

  6. #6

    Default Re: Recompiling KeeperFX

    Quote Originally Posted by Schizz View Post
    I didnt even know about them. But the error remains even there

    Well, I used the "mingw-get update" after installing it, so it should be the newest version, no?

    Dunno if it is important but after trying to compile the keeperfx-stable, the error has chnged to
    this:
    Code:
    curl -L -o "sdl/SDL-devel-1.2.14-mingw32.tar.gz.dl" "https://www.libsdl.org/release/SDL-devel-1.2.14-mingw32.tar.gz"
    /usr/bin/sh: curl: command not found
    libexterns.mk:44: recipe for target 'sdl/SDL-devel-1.2.14-mingw32.tar.gz' failed
    mingw32-make: *** [sdl/SDL-devel-1.2.14-mingw32.tar.gz] Error 127
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "sh -c "mingw32-make heavylog"" exited with code 2.
    No, the different versions of KeeperFX don't differ in how you can compile them, but in what bugs and features you'll end up once you do.

    And I had an error code with 'curl' as well when I followed the steps from that topic you listed. I looked back and I solved it by manually downloading the tools, instead of using mingw-get.

Similar Threads

  1. [Tutorial] Recompiling KeeperFX - MinGW, MSYS and Coreutils
    By Stanislas Dolcini in forum KeeperFX
    Replies: 30
    Last Post: February 3rd, 2022, 08:20
  2. help for recompiling FX...
    By updata in forum KeeperFX
    Replies: 2
    Last Post: December 12th, 2013, 11:57

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •