Skip to content

Commit

Permalink
add instruction on how to build boost without vs2022
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Nov 16, 2023
1 parent 4e62ea3 commit cb9dbed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/How to build - Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ cmake .. -G "Visual Studio 16 2019" -DDESTDIR="c:\src\REPO_NAME-deps"
msbuild /m ALL_BUILD.vcxproj // This took 13.5 minutes on my machine: core I7-7700K @ 4.2Ghz with 32GB main memory and 20min on a average laptop
```

note: if you have visual studio 2022 installed alongside 2017/2019, you may have to comment/remove the lines 20->31 in `dep_Boost-prefix/src/dep_Boosttools/build/src/engine/vswhere_usability_wrapper.cmd` (after first failing to compile) to force it to ignore vs2022.

### Generate Visual Studio project file for Slic3r, referencing the precompiled dependencies.
Go to the Windows Start Menu and Click on "Visual Studio 2019" folder, then select the ->"x64 Native Tools Command Prompt" to open a command window and run the following:
```
Expand Down

0 comments on commit cb9dbed

Please sign in to comment.