Skip to content

Commit

Permalink
doc: add tips about vcpkg cause build faild on windows
Browse files Browse the repository at this point in the history
PR-URL: #52181
Refs: nodejs/help#1656
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
  • Loading branch information
congzhangzh authored and marco-ippolito committed May 3, 2024
1 parent a86705c commit 8ee20d8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ee20d8

Please sign in to comment.