Gen 8.6 build error LNK1181 ...\Tools.obj Cannot be opened
search cancel

Gen 8.6 build error LNK1181 ...\Tools.obj Cannot be opened

book

Article ID: 400385

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

After upgrading to Windows 11 and Visual Studio 2022 and attempt to build a Gen 8.6 module, get an error:

LINK: fatal error LNK1181: Input File C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools.obj Cannot be opened

Environment

Gen 8.64

Cause

There will not be a "Tools.obj"  file to be found on the workstation.   

This error may indicate that that one or more of the token references in the Build Tool Profile Manager tokens may not have double-quotes around them and/or they may not be delimited by a single space.  For example, a common token that may have multiple entries and complex paths is the  LOC.EXTERNAL_LIB profile token.  

Resolution

Review the Build Tool Profile Manager Tokens for syntax issues as mentioned above.  Primarily, review the token LOC.EXTERNAL_LIB and verify that each entry is in double quotes and delimited by a single space if multiple entries exist.