Grapjas Posted January 5, 2021 Share Posted January 5, 2021 I get the following errors when i try to build solution: Spoiler Severity Code Description Project File Line Suppression State Warning C4459 declaration of 'prefix' hides global declaration (compiling source file ..\..\..\source\ps\DllLoader.cpp) engine e:\devversion\libraries\win32\fmt\include\fmt\format.h 1535 Error C2375 'read': redefinition; different linkage (compiling source file ..\..\..\source\lib\sysdep\os\win\wposix\waio.cpp) lowlevel c:\program files (x86)\windows kits\10\include\10.0.18362.0\ucrt\corecrt_io.h 523 Warning C4456 declaration of 'it' hides previous local declaration gui e:\devversion\source\gui\objectbases\iguiobject.cpp 369 Error C2375 'read': redefinition; different linkage (compiling source file ..\..\..\source\lib\sysdep\os\win\wposix\wfilesystem.cpp) lowlevel c:\program files (x86)\windows kits\10\include\10.0.18362.0\ucrt\corecrt_io.h 523 Warning C4456 declaration of 'profile2__' hides previous local declaration engine e:\devversion\source\ps\gamesetup\gamesetup.cpp 288 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 149 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 194 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 201 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 231 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 149 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 194 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 201 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 231 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 149 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 194 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 201 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 231 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 149 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 194 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 201 Warning C4456 declaration of 'thiz' hides previous local declaration (compiling source file ..\..\..\source\network\NetMessage.cpp) network e:\devversion\source\network\netmessages.h 231 Warning C4456 declaration of 'profile2__' hides previous local declaration simulation2 e:\devversion\source\simulation2\components\ccmppathfinder.cpp 823 Warning C4373 'CCmpGarrisonHolderScripted::SetInitEntities': virtual function overrides 'ICmpGarrisonHolder::SetInitEntities', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers simulation2 e:\devversion\source\simulation2\components\icmpgarrisonholder.cpp 38 Warning C4373 'CCmpTurretHolderScripted::SetInitEntities': virtual function overrides 'ICmpTurretHolder::SetInitEntities', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers simulation2 e:\devversion\source\simulation2\components\icmpturretholder.cpp 53 Warning C4456 declaration of 'profile2__' hides previous local declaration graphics e:\devversion\source\renderer\renderer.cpp 1298 Warning C4456 declaration of 'profile2__' hides previous local declaration graphics e:\devversion\source\renderer\renderer.cpp 1324 Warning C4456 declaration of 'profile2__' hides previous local declaration graphics e:\devversion\source\renderer\renderer.cpp 1344 Warning C4456 declaration of 'profile2__' hides previous local declaration pyrogenesis e:\devversion\source\main.cpp 241 Warning C4456 declaration of 'profile2__' hides previous local declaration pyrogenesis e:\devversion\source\main.cpp 375 Warning C4456 declaration of 'profile2__' hides previous local declaration pyrogenesis e:\devversion\source\main.cpp 445 Error LNK1181 cannot open input file 'E:\devVersion\binaries\system\lowlevel.lib' pyrogenesis E:\devVersion\build\workspaces\vs2017\LINK 1 Warning C4724 potential mod by 0 test e:\devversion\source\maths\fixed.h 158 Error LNK1181 cannot open input file 'E:\devVersion\binaries\system\lowlevel.lib' test E:\devVersion\build\workspaces\vs2017\LINK 1 The build solution attempt i made after that yielded something different: Spoiler Severity Code Description Project File Line Suppression State Error C2375 'read': redefinition; different linkage (compiling source file ..\..\..\source\lib\sysdep\os\win\wposix\waio.cpp) lowlevel c:\program files (x86)\windows kits\10\include\10.0.18362.0\ucrt\corecrt_io.h 523 Error C2375 'read': redefinition; different linkage (compiling source file ..\..\..\source\lib\sysdep\os\win\wposix\wfilesystem.cpp) lowlevel c:\program files (x86)\windows kits\10\include\10.0.18362.0\ucrt\corecrt_io.h 523 Error LNK1181 cannot open input file 'E:\devVersion\binaries\system\lowlevel.lib' pyrogenesis E:\devVersion\build\workspaces\vs2017\LINK 1 Warning C4724 potential mod by 0 test e:\devversion\source\maths\fixed.h 158 Error LNK1181 cannot open input file 'E:\devVersion\binaries\system\lowlevel.lib' test E:\devVersion\build\workspaces\vs2017\LINK 1 I use Visual Studio 2019 and the 'Visual Studio 2017 (v141)' toolset. The active configuration is set to 'Release'. I took the code from: 'git clone https://github.com/0ad/0ad.git' Link to comment Share on other sites More sharing options...
Stan` Posted January 6, 2021 Share Posted January 6, 2021 Try to install https://www.microsoft.com/en-us/download/details.aspx?id=8279 Link to comment Share on other sites More sharing options...
Grapjas Posted January 6, 2021 Author Share Posted January 6, 2021 4 hours ago, Stan` said: Try to install https://www.microsoft.com/en-us/download/details.aspx?id=8279 Before installing i get During installing i get log Spoiler 12:33:04 woensdag 6 januari 2021: [SDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK for Windows 7 (failed): Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Stack: bij SDKSetup.Product.ConfigureRelatedSfx() bij SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent) 12:33:04 woensdag 6 januari 2021: [SDKSetup:Info] Config_Products_InstallNew: End installation of new product: Microsoft Windows SDK for Windows 7 12:33:04 woensdag 6 januari 2021: [SDKSetup:Error] Config_Products_Install: Windows SDK Setup (failed): Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Stack: bij SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent) bij SDKSetup.Product.SetupProduct(TaskMode taskMode, ManualResetEvent CancelEvent) bij SDKSetup.ProductCollection.SetupProducts(TaskMode taskMode, DownloadManager downloadManager, ManualResetEvent cancelEvent) bij SDKSetup.ConfigProducts.DoCurrentTask(TaskMode Task) Dont know if you need this info but i got the latest .net framework installed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now