You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build the project as x64-windows-static-rel or x64-windows-static-dbg
The magic.lib that vcpkg will use contains DllMain because the variable BUILD_AS_WINDOWS_STATIC_LIBARAY is not set during the build of the libmagic package. source code of magic.c
Failure logs
Error LNK2005 DllMain already defined in MyProjectName.obj MyProjectName C:\MyProject\magic.lib(magic.obj) 1
Additional context
No response
The text was updated successfully, but these errors were encountered:
Operating system
Windows
Compiler
MSVC
Steps to reproduce the behavior
x64-windows-static-rel
orx64-windows-static-dbg
magic.lib
that vcpkg will use containsDllMain
because the variableBUILD_AS_WINDOWS_STATIC_LIBARAY
is not set during the build of thelibmagic
package. source code of magic.cFailure logs
Additional context
No response
The text was updated successfully, but these errors were encountered: