Gen build error "LNK1181: cannot open input file 'IEFMBTN.LIB'"
search cancel

Gen build error "LNK1181: cannot open input file 'IEFMBTN.LIB'"

book

Article ID: 205268

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset Gen - Run Time Distributed Gen - Host Encyclopedia

Issue/Introduction

Building a Gen module within the Gen Build Tool and get the error:

"LINK : fatal error LNK1181: cannot open input file 'IEFMBTN.LIB'"

Found IEFMBTN.LIB in the directory: C:\Program Files (x86)\CA\Gen86\Gen

Also that directory is on the System Environment variable PATH

Environment

Release : 8.6

Component : Gen Build Tool

Resolution

Within the .out file noticed near the top:
 "C:\Program Files (x86)\CA\Gen86\gen\vssetup.bat"' is not recognized as an internal or external command, operable program or batch file."

Upon further review determined the vssetup.bat file had been renamed with a '.txt' on the end.  Renaming the file back to vssetup.bat resolved this error.

The vssetup.bat file is used to Determine the location of Visual Studio, which includes Version and Offering.