diff --git a/BUILDING.md b/BUILDING.md index 53f636a4cf641e..61a1df6377c54b 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -578,6 +578,22 @@ to run it again before invoking `make -j4`. ### Windows +#### Tips + +You may need disable vcpkg integration if you got link error about symbol +redefine related to zlib.lib(zlib1.dll), even you never install it by hand, +as vcpkg is part of CLion and Visual Studio now. + +```powershell +# find your vcpkg +# double check vcpkg install the related file +vcpkg owns zlib.lib +vcpkg owns zlib1.dll +vcpkg integrate remove +``` + +Refs: #24448, , [vcpkg](https://github.com/microsoft/vcpkg/) + #### Prerequisites ##### Option 1: Manual install