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: nodejs#52181
Refs: nodejs/help#1656
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
  • Loading branch information
congzhangzh authored and pull[bot] committed Apr 13, 2024
1 parent d5cbe2c commit c764461
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 c764461

Please sign in to comment.