mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
2026 Ready
This commit is contained in:
@@ -28,15 +28,15 @@ Whether you're a contributor or just want a custom build, this guide will help y
|
||||
|
||||
## Windows 64-bit
|
||||
|
||||
How to building with Visual Studio 2022 on Windows 64-bit.
|
||||
How to building with Visual Studio on Windows 64-bit.
|
||||
|
||||
### Windows Tools Required
|
||||
|
||||
- [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or Visual Studio 2019
|
||||
- [Visual Studio 2022](https://visualstudio.microsoft.com/vs/), 2026 or 2019
|
||||
```shell
|
||||
winget install --id=Microsoft.VisualStudio.2022.Professional -e
|
||||
```
|
||||
- [CMake](https://cmake.org/) — **⚠️ version 3.31.x is mandatory**
|
||||
- [CMake](https://cmake.org/)
|
||||
```shell
|
||||
winget install --id=Kitware.CMake -e
|
||||
```
|
||||
@@ -81,14 +81,18 @@ How to building with Visual Studio 2022 on Windows 64-bit.
|
||||
git lfs pull
|
||||
```
|
||||
2. Open the appropriate command prompt:
|
||||
- Visual Studio 2019:
|
||||
- Visual Studio 2026:
|
||||
```MD
|
||||
x64 Native Tools Command Prompt for VS 2019
|
||||
x64 Native Tools Command Prompt for VS
|
||||
```
|
||||
- Visual Studio 2022:
|
||||
```MD
|
||||
x64 Native Tools Command Prompt for VS 2022
|
||||
```
|
||||
- Visual Studio 2019:
|
||||
```MD
|
||||
x64 Native Tools Command Prompt for VS 2019
|
||||
```
|
||||
1. Navigate to correct drive (if needed), e.g.:
|
||||
```shell
|
||||
N:
|
||||
@@ -98,16 +102,16 @@ How to building with Visual Studio 2022 on Windows 64-bit.
|
||||
cd N:\Repos\OrcaSlicer
|
||||
```
|
||||
3. Run the build script:
|
||||
- Visual Studio 2019:
|
||||
- Visual Studio 2026 or 2022:
|
||||
```shell
|
||||
build_release.bat
|
||||
build_release_vs202X.bat
|
||||
```
|
||||
- Visual Studio 2022:
|
||||
- Visual Studio 2019:
|
||||
```shell
|
||||
build_release_vs2022.bat
|
||||
build_release_vs2019.bat
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
> [!NOTE]
|
||||
> The build process will take a long time depending on your system but even with high-end hardware it can take up to 40 minutes.
|
||||
@@ -115,13 +119,13 @@ How to building with Visual Studio 2022 on Windows 64-bit.
|
||||
> [!TIP]
|
||||
> If you encounter issues, you can try to uninstall ZLIB from your Vcpkg library.
|
||||
|
||||
3. If successful, you will find the Visual Studio solution file in:
|
||||
1. If successful, you will find the Visual Studio solution file in:
|
||||
```shell
|
||||
build\OrcaSlicer.sln
|
||||
```
|
||||
4. Open the solution in Visual Studio, set the build configuration to `Release` and run the `Local Windows Debugger`.
|
||||

|
||||
5. Your resulting executable will be located in:
|
||||
2. Open the solution in Visual Studio, set the build configuration to `Release` and run the `Local Windows Debugger`.
|
||||

|
||||
3. Your resulting executable will be located in:
|
||||
```shell
|
||||
\build\src\Release\orca-slicer.exe
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user