The MASM Forum

General => The Campus => Topic started by: HSE on January 30, 2017, 03:42:06 AM

Title: [solved] How to find LINK1104 origin?
Post by: HSE on January 30, 2017, 03:42:06 AM
Hi!!

I have a bad reference LINK : fatal error LNK1104: cannot open file "\RadASM\masm\lib\debug.lib"

I think the reference is inside a library. Is there some Link option that allow to see what library cause that error?

Thank in advance. HSE

I found /verbose  :eusa_snooty:
Title: Re: [solved] How to find LINK1104 origin?
Post by: ragdog on January 30, 2017, 05:50:31 AM
Have you Radasm installed?

This lib can you find here
C:\radasm\Masm\Lib\debug.lib

Greets,
Title: Re: [solved] How to find LINK1104 origin?
Post by: HSE on January 30, 2017, 06:38:09 AM
What I can't solve is: Where is the reference to \RadASM\masm\lib\debug.lib?

I think all the references are to \masm32\lib\debug.lib
Title: Re: [solved] How to find LINK1104 origin?
Post by: hutch-- on January 30, 2017, 09:52:02 AM
That error message is usually a path error or a missing file. Check if the file exists and if it does, make sure you set the correct path to it.
Title: Re: [solved] How to find LINK1104 origin?
Post by: HSE on January 30, 2017, 11:59:16 AM
Thanks Hutch!

In theory was debug.lib of MASM32 SDK, a minute ago I found I was skipping rebuilding 1 of 16 libraries in RadASM (but apparently only 9 are used). Now I have LNK1169: one or more multiply defined symbols because, I think, KetilO used a different debug.lib  :biggrin: Very funny  :t 

LATER: Some libraries were assembled with dll functions with same name.
           Now all is working (at least until I mess the code again and a new installation become needed).