X-Forums

Computer, Games, and Technology

Compiling Mangos & Scriptdev for Windows Vista

17 posts

  1. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    I'm enjoying my own 2.4.2 server. thanx to Mangos team and daggo. So i decided to try my hand at a recompile of mangos to hopefully help me understand/get some experiance so i can compile a 3.03. Ne wayz heres the deal I'm following the instruction to the letter. put the Scriptdev2 dir into
    C:SVN/mangos/src/bindings. Then I successfully clean and rebuid scriptdev2 but I end up with

    1>C:\SVN\mangos\src\bindings\scriptdev2>echo Project : error PRJ0019: A tool returned an error code from "Extracting Revision"
    1>Project : error PRJ0019: A tool returned an error code from "Extracting Revision"
    1>C:\SVN\mangos\src\bindings\scriptdev2>exit 1
    1>Build log was saved at "file://c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BuildLog.htm"

    Nebody help me out with this?
    1>ScriptDev2 - 2 error(s), 0 warning(s)
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

    Posted 1 year ago » Permalink

  2. daggo

    Regular
    Joined: May '08
    Posts: 157

    Looks like the problem lies with the scriptdev2 source code. I would try to delete the folder and download the code via SVN again and try to redo it. Also, double check to see if that sd2 supports the current revision. Sometimes sd2 does that. Does the build log say anything useful?
    located at:
    file://c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BuildLog.htm
    You are very close to compiling successfully.

    Posted 1 year ago » Permalink

  3. IntErlOpr

    Regular
    Joined: May '08
    Posts: 100

    Are you trying to compile sd2 from it's original location rather than from within the MaNGOS bindings directory? I got that exact error when I made that mistake last night compiling my own build.

    Posted 1 year ago » Permalink

  4. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    Here Is What the Build log Says:

    Build Log Rebuild started: Project: ScriptDev2, Configuration: Release|Win32
    Command Lines Creating temporary file "c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BAT00000157563936.bat" with contents
    [
    @echo off

    echo on

    cd "C:\SVN\mangos\src\bindings\scriptdev2\"

    "..\..\..\win\VC90\genrevision__Win32_Release\genrevision.exe"

    if errorlevel 1 goto VCReportError

    goto VCEnd

    :VCReportError

    echo Project : error PRJ0019: A tool returned an error code from "Extracting Revision"

    exit 1

    :VCEnd
    ]
    Creating command line "c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BAT00000157563936.bat"
    Output Window Extracting Revision
    c:\SVN\mangos\src\bindings\scriptdev2\VC90>cd "C:\SVN\mangos\src\bindings\scriptdev2\"
    C:\SVN\mangos\src\bindings\scriptdev2>"..\..\..\win\VC90\genrevision__Win32_Release\genrevision.exe"
    The system cannot find the path specified.
    C:\SVN\mangos\src\bindings\scriptdev2>if errorlevel 1 goto VCReportError
    C:\SVN\mangos\src\bindings\scriptdev2>echo Project : error PRJ0019: A tool returned an error code from "Extracting Revision"
    Project : error PRJ0019: A tool returned an error code from "Extracting Revision"
    C:\SVN\mangos\src\bindings\scriptdev2>exit 1
    Results Build log was saved at "file://c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BuildLog.htm"
    ScriptDev2 - 2 error(s), 0 warning(s)

    Posted 1 year ago » Permalink

  5. IntErlOpr

    Regular
    Joined: May '08
    Posts: 100

    Are they still mirroring the latest version of MaNGOS on SVN? Noticed that it appears you didn't get it from the git repository or did you copy it over? I'm running MaNGOS Rev 7159 and SD2 858 and they play nice other than me having to edit a variable out of sc_creature.cpp which may cause crashes later, but hey it runs well so far.

    http://getmangos.com/community/showthread.php?t=4099

    Posted 1 year ago » Permalink

  6. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    O_o I don't have GIT Installed and it dosent say nething bout GIT in the instructions. So do I have to do it over =(?

    Posted 1 year ago » Permalink

  7. IntErlOpr

    Regular
    Joined: May '08
    Posts: 100

    You may not be interested, but just in case you can get a copy of my build here, I can't guarantee that the ad and extract vmaps programs will work given that I had maps/vmaps left over from an earlier build I was running and haven't used them.

    http://www.mediafire.com/?sharekey=76b5823e8332af95aaca48175a79d1c3e04e75f6e8ebb871

    Given that i'm unsure what version they're hosting on SVN it's may be :(

    Posted 1 year ago » Permalink

  8. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    Ok installed GIT Now do I just re-do it from there as per the instructions?

    Posted 1 year ago » Permalink

  9. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    Says something about the genrevision in the notes at the bottom of the intructions but I really don't understand how to fix it?

    Btw Which Version of wow does your repack support?

    Posted 1 year ago » Permalink

  10. IntErlOpr

    Regular
    Joined: May '08
    Posts: 100

    My repack is for 3.0.3 (9183 build), unsure how to get a specific revision if that's what your asking, sorry :( I don't like git and so haven't figured out anything more than the basics.

    Posted 1 year ago » Permalink

  11. IntErlOpr

    Regular
    Joined: May '08
    Posts: 100

    If anyone has dl'd my Repack here's an item template I took the time to patch up, most of the item related errors are now gone. Just extract to the 'mangos' database.

    http://www.mediafire.com/?sharekey=76b5823e8332af95aaca48175a79d1c3e04e75f6e8ebb871

    Posted 1 year ago » Permalink

  12. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    OK so i Redid the Compile with revision mangos 6767 and scriptdev 869, Same error Nebody gotta mangos sourcecode with this fixxed?? or can offer a noob a fix for it??

    Thanx Interloper for the repack but it don't work for me..

    Posted 1 year ago » Permalink

  13. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    1>------ Rebuild All started: Project: ScriptDev2, Configuration: Release Win32 ------
    1>Deleting intermediate and output files for project 'ScriptDev2', configuration 'Release|Win32'
    1>Extracting Revision
    1>c:\SVN\mangos\src\bindings\scriptdev2\VC90>cd "C:\SVN\mangos\src\bindings\scriptdev2\"
    1>C:\SVN\mangos\src\bindings\scriptdev2>"..\..\..\win\VC90\genrevision__Win32_Release\genrevision.exe"
    1>The system cannot find the path specified.
    1>C:\SVN\mangos\src\bindings\scriptdev2>if errorlevel 1 goto VCReportError
    1>C:\SVN\mangos\src\bindings\scriptdev2>echo Project : error PRJ0019: A tool returned an error code from "Extracting Revision"
    1>Project : error PRJ0019: A tool returned an error code from "Extracting Revision"
    1>C:\SVN\mangos\src\bindings\scriptdev2>exit 1
    1>Build log was saved at "file://c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BuildLog.htm"
    1>ScriptDev2 - 2 error(s), 0 warning(s)
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

    [strong]Build Log Rebuild started: Project: ScriptDev2, Configuration: Release|Win32[/strong]
    Command Lines Creating temporary file "c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BAT00000122645964.bat" with contents
    [
    @echo off

    echo on

    cd "C:\SVN\mangos\src\bindings\scriptdev2\"

    "..\..\..\win\VC90\genrevision__Win32_Release\genrevision.exe"

    if errorlevel 1 goto VCReportError

    goto VCEnd

    :VCReportError

    echo Project : error PRJ0019: A tool returned an error code from "Extracting Revision"

    exit 1

    :VCEnd
    ]
    Creating command line "c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BAT00000122645964.bat"
    Output Window Extracting Revision
    c:\SVN\mangos\src\bindings\scriptdev2\VC90>cd "C:\SVN\mangos\src\bindings\scriptdev2\"
    C:\SVN\mangos\src\bindings\scriptdev2>"..\..\..\win\VC90\genrevision__Win32_Release\genrevision.exe"
    The system cannot find the path specified.
    C:\SVN\mangos\src\bindings\scriptdev2>if errorlevel 1 goto VCReportError
    C:\SVN\mangos\src\bindings\scriptdev2>echo Project : error PRJ0019: A tool returned an error code from "Extracting Revision"
    Project : error PRJ0019: A tool returned an error code from "Extracting Revision"
    C:\SVN\mangos\src\bindings\scriptdev2>exit 1
    Results Build log was saved at "file://c:\SVN\mangos\src\bindings\scriptdev2\VC90\ScriptDev2__Win32_Release\BuildLog.htm"
    ScriptDev2 - 2 error(s), 0 warning(s)

    Posted 1 year ago » Permalink

  14. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    K So I changed the Filenames and the hole precompiled scriptdev has 537 errors ranging from syntax to simple misscoding think I bit off a bit more than I could chew =) but this was a good eye opener to just how much work the guys do to put this together.

    Posted 1 year ago » Permalink

  15. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    X_x

    Posted 1 year ago » Permalink

  16. daggo

    Regular
    Joined: May '08
    Posts: 157

    This is what I would do in your position. I would wipe everything out and re-SVN/GIT to get a fresh copy of everything. Usually if you reapply patches or a pull fails, it can cause issues. I usually keep all my repositories in a notepad for reference. These are the repos I use:

    //MaNGOS Source (must use GIT within mangos directory)
    git clone git://github.com/mangos/mangos.git

    //UDB
    https://unifieddb.svn.sourceforge.net/svnroot/unifieddb

    //PSDB
    http://svn2.assembla.com/svn/PSDB

    //SD2 Acid
    https://sd2-acid.svn.sourceforge.net/svnroot/sd2-acid

    //Scriptdev2 Source
    https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2

    //AH Bot
    http://svn2.assembla.com/svn/auctionhousebot/trunk

    //Paradox ah bot (run inside mangos source directory)
    git pull git://github.com/Paradox/mangos.git master

    I just compiled today successfully so I know rev. 7191 works for 3.0.3
    BTW, are you using Visual Studio 2008? I believe you dont need to do any additional tweaks with that version but would be good to double check.
    Hope that helps, lets get this thing done!

    Posted 1 year ago » Permalink

  17. moclov83

    Regular
    Joined: Nov '08
    Posts: 51

    I could kiss you, Thanx again Daggo =)

    Posted 1 year ago » Permalink

RSS feed for this topic

Reply

You must log in to post.

Topic Info

Gaming

Discuss about PC Games, Console Games or Emulation here

410 Topics – 2,318 Posts