Skip to content

Commit 8ee20d8

Browse files
congzhangzhmarco-ippolito
authored andcommitted
doc: add tips about vcpkg cause build faild on windows
PR-URL: #52181 Refs: nodejs/help#1656 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
1 parent a86705c commit 8ee20d8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

BUILDING.md

+16
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,22 @@ to run it again before invoking `make -j4`.
590590

591591
### Windows
592592

593+
#### Tips
594+
595+
You may need disable vcpkg integration if you got link error about symbol
596+
redefine related to zlib.lib(zlib1.dll), even you never install it by hand,
597+
as vcpkg is part of CLion and Visual Studio now.
598+
599+
```powershell
600+
# find your vcpkg
601+
# double check vcpkg install the related file
602+
vcpkg owns zlib.lib
603+
vcpkg owns zlib1.dll
604+
vcpkg integrate remove
605+
```
606+
607+
Refs: #24448, <https://github.com/microsoft/vcpkg/issues/37518>, [vcpkg](https://github.com/microsoft/vcpkg/)
608+
593609
#### Prerequisites
594610

595611
##### Option 1: Manual install

0 commit comments

Comments
 (0)