I have a VS solution that contains two projects: A.dll and B.lib. A.dll depends on B.lib and also C.lib which is provided by my vcpkg repository.
The problem is that my vcpkg repository also contains a version of B.lib and the linker will include both the vcpkg B.lib and my local B.lib which leads to multiple defined symbols.
Since I need vcpkg to provide the C.lib dependency, I can't disable it for the project completely. I need the linker to ignore the vcpkg version of B.lib.
https://stackoverflow.com/questions/65947440/is-there-a-way-to-make-visual-studio-ignore-a-specific-vcpkg-library January 29, 2021 at 09:07AM
没有评论:
发表评论