doomretro icon indicating copy to clipboard operation
doomretro copied to clipboard

`m.lib` linker error

Open nashmuhandes opened this issue 11 months ago • 1 comments

Hi, I'm trying to build Doom Retro on Windows, with the following setup:

  • Visual Studio 2022 community
  • vcpkg with all the dependencies installed

My error is simply:

2>LINK : fatal error LNK1104: cannot open file 'm.lib'

I've exhausted Google searching and can't seem to find any info on what this file is.

Any assistance would be appreciated :)

nashmuhandes avatar Jan 18 '25 12:01 nashmuhandes

-lm is used to link to the C math library on some UNIX-like systems. I'm guessing it makes its way on the Windows linker CLI which goes looking for m.lib

sykhro avatar Jan 27 '25 14:01 sykhro

is this issue still relevant?

ritesh006 avatar Sep 06 '25 09:09 ritesh006