Jump to content

ScriptDev2 compile error


Guest EARTHWALKER

Recommended Posts

Grabbed the new core files and went to do what I normally do to compile SD2 before the main core and now get this. Not sure if it is an SD2 error or a mangos error.

1>------ Build started: Project: ScriptDev2, Configuration: Release Win32 ------
1>Build started 03/06/2010 15:30:49.
1>PrepareForBuild:
1>  Creating directory "..\\..\\..\\..\\bin\\win32_release\\".
1>InitializeBuildStatus:
1>  Creating ".\\ScriptDev2__Win32_Release\\ScriptDev2.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>CustomBuild:
1>  Extracting revision
1>  The system cannot find the path specified.
1>C:\\Program Files\\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.13
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Deleted SD2 and mangos and re-grabbed to make sure and still this persists.

Any help would be greatly appreciated.

Link to comment
Share on other sites

...compile SD2 before the main core...

If you want SD2 in your core, read the guides in the SD2 forum on how to do that.

And if you get an error because of SD2, ask in that forum.

But in short:

You always compile the mangos core before compiling SD2 (all guides tells you to do that).

And from what I can read, you get an error from SD2 (mainly because it says "Build started: Project: ScriptDev2" and not mangos),

probably because you haven't compiled mangos before SD2.

And the best way to make sure SD2 is not the problem,

is by only downloading the mangos source, and compile it (NO SD2).

If you get an error, then It's mangos.

Then you add whatever extra you want to the core,

one at a time, compile, and continue if it compiled successfully.

But, what compiler did you use?

Any service packs to that compiler?

And what OS did you use?

And any service packs on that?

What rev. of mangos are you using?

What rev. of SD2 are you using?

Have you checked so the rev. of SD2 is compatible with your rev. of mangos?

Have you added anything extra to the core or SD2?

I won't guess what you are using, since I can't read your mind.

Link to comment
Share on other sites

  • 10 months later...

I set Project Dependancies to compile all the other projects before SD2. Its the same as I always have done it. SD2 is in src\\bindings where it always has been, and VS2008 doesnt have any problems compiling any of it. With VS2010 I get that same error. No responses to it so far on SD2 forums. :( Anyone here happen to know the fix?

12>------ Build started: Project: ScriptDev2, Configuration: Release Win32 ------

12>Build started 4/8/2011 9:01:59 PM.

12>InitializeBuildStatus:

12> Touching ".\\ScriptDev2__Win32_Release\\ScriptDev2.unsuccessfulbuild".

12>CustomBuild:

12> Extracting revision

12> The system cannot find the path specified.

12>C:\\Program Files\\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3.

12>

12>Build FAILED.

12>

12>Time Elapsed 00:00:00.04

========== Build: 11 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

what compiler did you use?

VS2010

Any service packs to that compiler?

Fresh install of Professional version off the disc.

And what OS did you use?

Windows XP

And any service packs on that?

SP3 with all latest windows updates.

What rev. of mangos are you using?

Latest off the SVN as of 5 mins ago (also tried the previous versions from this morning and yesterday)

What rev. of SD2 are you using?

1994 - latest.

Have you checked so the rev. of SD2 is compatible with your rev. of mangos?

It compiles fine if I use VS2008 (have it on the other comp, but since that comp is only here for the day, would like to get it compiling on mine with 2010. :P)

Have you added anything extra to the core or SD2?

Nope, fresh from git and SVN.

Link to comment
Share on other sites

  • 1 month later...

I am having a problem compiling SCRIPTDEV2 as well. I have compiled MANGOS first, but when I compile SCRIPTDEV2 afterward, it makes it to like 493 (escort_ai.cpp) and fails out.

I just downloaded MANGOS through GIT and SCRIPTDEV (1994) through SVN. What am I doing wrong?

-Lith

P.S. I am compiling in VS2008 Express and I dont know how to find my revision of MANGOS, but i just downloaded both tonight!

Link to comment
Share on other sites

"git log" is the easiest way to obtain your revision of your source-tree

and SD2 is at rev 2111 and on Git, see SD2 forums about this.

Some of these old guides here in the forum are simply outdated.

btw, it might have been helpfull to actually look into the svn log of the latest commit:

[1994] Moving the ScriptDev2 project to GIT

Moving the ScriptDev2 project to GIT

Visit our project web site at http://www.scriptdev2.com/ for more information about our new repository at https://github.com/scriptdev2

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use