Jump to content

Recommended Posts

Posted

What does this patch fix?

This patch allow compile clear mangos with VC 8.0 under Win32. Bug report can be found here

For which SubVersion revision was the patch created?

6515

Who has been writing this patch?

Solution to this problem was offered by xILOSWag and Dolomit posted same patch in topic related to this bug - i just post it in patch section in hope that bug will be fixed.

Index: win/VC80/shared.vcproj
===================================================================
--- win/VC80/shared.vcproj                (revision 6515)
+++ win/VC80/shared.vcproj                (working copy)
@@ -77,7 +77,7 @@
                                                />
                                                <Tool
                                                                Name="VCLibrarianTool"
-                                                                AdditionalDependencies=".\\g3dlite__$(PlatformName)_$(ConfigurationName)\\g3dlite.lib"
+                                                                AdditionalDependencies="".\\g3dlite__$(PlatformName)_$(ConfigurationName)\\g3dlite.lib user32.lib"
                                                                OutputFile=".\\shared__$(PlatformName)_$(ConfigurationName)\\shared.lib"
                                                                SuppressStartupBanner="true"
                                                />
@@ -531,8 +531,8 @@
                                                <File
                                                                RelativePath="..\\..\\src\\shared\\MemoryLeaks.h"
                                                                >
-                                                </File>                                                
-                                                <File                                                
+                                                </File>
+                                                <File
                                                                RelativePath="..\\..\\dep\\include\\mersennetwister\\MersenneTwister.h"
                                                                >
                                                </File>
@@ -751,7 +751,7 @@
                                </Filter>
                                <File
                                                RelativePath="..\\..\\src\\shared\\Common.cpp"
-                                                                                                >
+                                                >
                                </File>
                                <File
                                                RelativePath="..\\..\\src\\shared\\Common.h"
@@ -774,7 +774,7 @@
                                                                <Tool
                                                                                Name="VCCustomBuildTool"
                                                                                Description="Extract SVN revision"
-                                                                                CommandLine="cd "$(SolutionDir)\\..\\src\\shared""$(TargetDir)\\..\\gensvnrevision__$(PlatformName)_$(ConfigurationName)\\gensvnrevision.exe""
+                                                                                CommandLine="cd "$(SolutionDir)\\..\\src\\shared""$(TargetDir)\\..\\gensvnrevision__$(PlatformName)_$(ConfigurationName)\\gensvnrevision.exe""
                                                                                AdditionalDependencies=".svn/entries"
                                                                                Outputs="svn_revision.h"
                                                                />
@@ -785,7 +785,7 @@
                                                                <Tool
                                                                                Name="VCCustomBuildTool"
                                                                                Description="Extract SVN revision"
-                                                                                CommandLine="cd "$(SolutionDir)\\..\\src\\shared""$(TargetDir)\\..\\gensvnrevision__$(PlatformName)_$(ConfigurationName)\\gensvnrevision.exe""
+                                                                                CommandLine="cd "$(SolutionDir)\\..\\src\\shared""$(TargetDir)\\..\\gensvnrevision__$(PlatformName)_$(ConfigurationName)\\gensvnrevision.exe""
                                                                                AdditionalDependencies=".svn/entries"
                                                                                Outputs="svn_revision.h"
                                                                />

Posted

Hi

I just want to update this!

With Revision 6683 the bug still exists! (Bug Report: http://getmangos.eu/community/viewtopic.php?id=28984)

Index: /win/VC80/shared.vcproj
===================================================================
--- /win/VC80/shared.vcproj                (Revision 6683)
+++ /win/VC80/shared.vcproj                (working copy)
@@ -77,7 +77,7 @@
                                                />
                                                <Tool
                                                                Name="VCLibrarianTool"
-                                                                AdditionalDependencies=".\\g3dlite__$(PlatformName)_$(ConfigurationName)\\g3dlite.lib"
+                                                                AdditionalDependencies=".\\g3dlite__$(PlatformName)_$(ConfigurationName)\\g3dlite.lib user32.lib"
                                                                OutputFile=".\\shared__$(PlatformName)_$(ConfigurationName)\\shared.lib"
                                                                SuppressStartupBanner="true"
                                                />

After patching this it works again!

greetz

  • 38 years later...
Posted

Should be added to the SVN, a lot of VC2005 Mangos Newbies are not able to compile else.

But normally only the ".\\g3dlite__$(PlatformName)_$(ConfigurationName)\\g3dlite.lib user32.lib" line should do the job.

  • 3 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • 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