[FFmpeg-trac] #10233(build system:new): Compile with libraries with MSVC
FFmpeg
trac at avcodec.org
Tue Mar 7 18:28:34 EET 2023
#10233: Compile with libraries with MSVC
-------------------------------------+-------------------------------------
Reporter: dimasafonis | Type: defect
Status: new | Priority: normal
Component: build | Version: git-
system | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I can't compile libraries using MSVC 2022.
This line:
./configure --toolchain=msvc
creates libraries in .a format which is incompatible with MSVC.
This line:
./configure --toolchain=msvc --enable-shared
creates normal .lib and .dll files, but I can't use it with pkg-config
because pkg-config uses -lm flag but there's no m.lib file in Windows.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10233>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list