doc: add tips about vcpkg cause build faild on windows
PR-URL: https://github.com/nodejs/node/pull/52181 Refs: https://github.com/nodejs/help/issues/1656 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
This commit is contained in:
parent
d6b57f6629
commit
dd711d221a
16
BUILDING.md
16
BUILDING.md
@ -590,6 +590,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, <https://github.com/microsoft/vcpkg/issues/37518>, [vcpkg](https://github.com/microsoft/vcpkg/)
|
||||
|
||||
#### Prerequisites
|
||||
|
||||
##### Option 1: Manual install
|
||||
|
Loading…
x
Reference in New Issue
Block a user