[Hamlib-developer] Generating a .lib for a .dll: W11, MSVC 2022
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: <gm...@bt...> - 2024-11-12 20:39:19
|
I have a problem compiling using the latest download of the daily update to W11. I last did this on 8 September, and managed to fix it but didn't note down what I did. I have a vague recollection it involved using link.exe. I looked in README-w64-bin.txt and my MSVC has a different version. According to the latest MS help, link.exe does no longer have a parameter /LIB, so doesn't seem to be able to generate the .lib file. The help says link.exe will create a .dll or .exe from a .lib, but not the other way. I launched Developer PowerShell for VS:2022, and only need to run link.exe without the full path. However I can't find a way yet to produce the .lib from the .dll. I'll continue looking. Phil GM3ZZA |