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 <contact@viniciusl.com.br>
  • Loading branch information
congzhangzh authored Apr 3, 2024
1 parent d6b57f6 commit dd711d2
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 dd711d2

Please sign in to comment.