Why is binaryName.lib generated alongside my program?
Posted: Sat May 24, 2025 9:37 pm
Sorry that I don't have any code here, I've only seen this with one of my large applications, and I can't figure out why it happens.
I link against a lib file, in this case called UniversalSpeechStatic.lib. This works fine, but whenever I build my program, a file with the same name as my binary, but with .lib appended to the end instead of .exe, is created. It's always 1544 bytes, and deleting it has no consequence that I can see. But my question is, what is this for, why is it generated, and how can I get rid of it? I've linked against other .lib files and not had this problem.
Thanks!
I link against a lib file, in this case called UniversalSpeechStatic.lib. This works fine, but whenever I build my program, a file with the same name as my binary, but with .lib appended to the end instead of .exe, is created. It's always 1544 bytes, and deleting it has no consequence that I can see. But my question is, what is this for, why is it generated, and how can I get rid of it? I've linked against other .lib files and not had this problem.
Thanks!