Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: How to compile source code from SVN

  
  1. #1

    Default How to compile source code from SVN

    How can I compile this? I installed MinGW and downloaded the r80 from the checkout on google code using tortoiseSVN. I don't know what to do next.

    Edit: I'm asking for help here because I want to play in the last revision, if you don't have anything constructive to say please just don't answer.
    Attached Files Attached Files
    Last edited by LMjai; May 27th, 2010 at 20:57.

  2. #2
    Keeper of Keepers dotted's Avatar
    Join Date
    Jun 2009
    Location
    Denmark
    Posts
    1,150
    Gamer IDs

    Steam ID: dotted

    Default Re: Download KeeperFX

    Quote Originally Posted by LMjai View Post
    How can I compile this? I installed MinGW and downloaded the r80 from the checkout on google code using tortoiseSVN. I don't know what to do next.
    Use the pre-compiled releases.

  3. #3
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,240

    Default Re: Download KeeperFX

    Open console window, go to the projects directory (where "Makefile" is) and type: "mingw32-make all". Resulting files will be placed in "bin" folder.

    Overwrite the files from "bin" and all .CFG files in downloaded "complete version" and you're done.
    Last edited by mefistotelis; May 25th, 2010 at 21:35.

  4. #4

    Default Re: How to compile source code from SVN

    I think I need more than minGW to compile the keeperFX, it gives me this error:
    'Rebuilding DLL export table from: lib/keeper95_gold.dll'
    ./peresec/bin/peresec.exe -o"bin/keeperfx.dll" --def "./lib/keeperfx.def" -p"_DK
    _" "lib/keeper95_gold.dll"
    '.' is not recognized as an internal or external command,
    operable program or batch file.
    mingw32-make: *** [bin/keeperfx.dll] Error 1

    I tried installing VS2008pro, dxSDK and windowsSDK and rechecked the PATH stuff in environment settings but can't get it to work.

  5. #5
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,240

    Default Re: How to compile source code from SVN

    No, you don't need anything more.

    Your system seems to not understand the "./" phrase. This phrase really doesn't change anything, so you can edit Makefile and replace all "./" with empty strings - that should fix this.

  6. #6

    Arrow Re: How to compile source code from SVN

    Deleted the dot from EXETODLL = ./peresec/bin/peresec.exe
    (EXETODLL = /peresec/bin/peresec.exe)

    (If i try to delete dots from ./obj or ./lib it gives me errors: mingw32-make: *** No rule to make target `/obj/keeperfx_stdres.res', needed by `
    /bin/keeperfx.exe'. Stop.)

    Now it gives me another error:

    mingw32-make[1]: Leaving directory `C:/keeperfx/keeperfx/peresec'
    'Rebuilding DLL export table from: lib/keeper95_gold.dll'
    /peresec/bin/peresec.exe -o"bin/keeperfx.dll" --def "./lib/keeperfx.def" -p"_DK_
    " "lib/keeper95_gold.dll"
    The system cannot find the path specified.
    mingw32-make: *** [bin/keeperfx.dll] Error 1


    The bin subfolder is empty after doing this.

  7. #7
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,240

    Default Re: How to compile source code from SVN

    Read my post again. Note that I didn't wrote you should delete dot, but two characters.

  8. #8

    Default Re: How to compile source code from SVN

    Sorry I forgot to say I tried that too but 'peresec' is not recognized as an internal or external command, also

  9. #9
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,240

    Default Re: How to compile source code from SVN

    You must have strange Windows version...

    It seems it only accepts "\" as path indicator; "/" is somehow treated as end of command.

    So - replace "/" with "\" in the peresec line and it should work.
    And don't place "/" nor "\" at start.

  10. #10

    Default Re: How to compile source code from SVN

    Worked fine, no errors. In the bin folder there is only a keeperfx.exe and a keeperfx.dll, that's all?

    My OS is Windows 7 64-bits.
    I will attach the modified makefile in case someone else needs it.

    And many thanks for the help.
    Last edited by LMjai; May 27th, 2010 at 21:02.

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
  •