Jump to content

Issues building Dev version


Recommended Posts

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

4 hours ago, Stan` said:

Before installing i get

1770834323_image(7).png.9b251e8dc8980e1d785bec80716dead2.png

During installing i get

2038818876_image(6).png.284a1c2392b345ea8f31be08fc434fd7.png

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...