The MASM Forum

General => The Campus => Topic started by: notarobot on August 08, 2023, 02:03:17 AM

Title: error LNK1104
Post by: notarobot on August 08, 2023, 02:03:17 AM
I am trying to reassemble C:\masm32\examples\exampl04\butntest\butntest.asm using the batch file there, but am getting the error:

LINK : fatal error LNK1104: cannot open file "btest.lib"
Press any key to continue . . .
What is going wrong?
Title: Re: error LNK1104
Post by: jj2007 on August 08, 2023, 05:14:17 AM
These are the files that you should see there:

C:\masm32\examples\exampl04\butntest\butntest.inc
C:\masm32\examples\exampl04\butntest\makeit.bat
C:\masm32\examples\exampl04\butntest\butntest.asm
C:\masm32\examples\exampl04\butntest\btest.lib
C:\masm32\examples\exampl04\butntest\butntest.ico
C:\masm32\examples\exampl04\butntest\rsrc.rc
C:\masm32\examples\exampl04\butntest\statusbr.asm
C:\masm32\examples\exampl04\butntest\btest.inc
Title: Re: error LNK1104
Post by: notarobot on August 08, 2023, 05:22:47 AM
Quote from: jj2007 on August 08, 2023, 05:14:17 AMThese are the files that you should see there:
I deleted the masm32 folder, and reinstalled it - it works now. I don't know what had happened originally, I havnt deleted anthing. The other examples I have been playing with were all fine. But is all ok now   :azn:  Thanks