mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-23 13:15:13 +00:00
Updated Wiki content
@@ -7,6 +7,7 @@ Whether you're a contributor or just want a custom build, this guide will help y
|
|||||||
|
|
||||||
- [Windows 64-bit](#windows-64-bit)
|
- [Windows 64-bit](#windows-64-bit)
|
||||||
- [Windows Tools Required](#windows-tools-required)
|
- [Windows Tools Required](#windows-tools-required)
|
||||||
|
- [Windows Hardware Requirements](#windows-hardware-requirements)
|
||||||
- [Windows Instructions](#windows-instructions)
|
- [Windows Instructions](#windows-instructions)
|
||||||
- [MacOS 64-bit](#macos-64-bit)
|
- [MacOS 64-bit](#macos-64-bit)
|
||||||
- [MacOS Tools Required](#macos-tools-required)
|
- [MacOS Tools Required](#macos-tools-required)
|
||||||
@@ -32,10 +33,15 @@ How to building with Visual Studio on Windows 64-bit.
|
|||||||
|
|
||||||
### Windows Tools Required
|
### Windows Tools Required
|
||||||
|
|
||||||
- [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or Visual Studio 2019
|
- [Visual Studio](https://visualstudio.microsoft.com/vs/) 2022, 2026 or Visual Studio 2019
|
||||||
|
- 2022
|
||||||
```shell
|
```shell
|
||||||
winget install --id=Microsoft.VisualStudio.2022.Professional -e
|
winget install --id=Microsoft.VisualStudio.2022.Professional -e
|
||||||
```
|
```
|
||||||
|
- 2026
|
||||||
|
```shell
|
||||||
|
winget install --id=Microsoft.VisualStudio.Community -e
|
||||||
|
```
|
||||||
- [CMake](https://cmake.org/)
|
- [CMake](https://cmake.org/)
|
||||||
```shell
|
```shell
|
||||||
winget install --id=Kitware.CMake -e
|
winget install --id=Kitware.CMake -e
|
||||||
@@ -67,6 +73,21 @@ How to building with Visual Studio on Windows 64-bit.
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> **For Visual Studio 2026**, you must use the CMake included with Visual Studio 2026 **until CMake 4.2 is released as a stable version**.
|
||||||
|
> To do this, you must include the cmake path contained in Visual Studio above the variable of the official cmake installed on your computer.
|
||||||
|
> The path will look something like this:
|
||||||
|
> ```shell
|
||||||
|
> C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin
|
||||||
|
> ```
|
||||||
|
|
||||||
|
### Windows Hardware Requirements
|
||||||
|
|
||||||
|
- Minimum 16 GB RAM
|
||||||
|
- Minimum 23 GB free disk space
|
||||||
|
- 64-bit CPU
|
||||||
|
- 64-bit Windows 10 or later
|
||||||
|
|
||||||
### Windows Instructions
|
### Windows Instructions
|
||||||
|
|
||||||
1. Clone the repository:
|
1. Clone the repository:
|
||||||
@@ -81,13 +102,8 @@ How to building with Visual Studio on Windows 64-bit.
|
|||||||
git lfs pull
|
git lfs pull
|
||||||
```
|
```
|
||||||
2. Open the appropriate command prompt:
|
2. Open the appropriate command prompt:
|
||||||
- Visual Studio 2022:
|
|
||||||
```MD
|
```MD
|
||||||
x64 Native Tools Command Prompt for VS 2022
|
x64 Native Tools Command Prompt for VS
|
||||||
```
|
|
||||||
- Visual Studio 2019:
|
|
||||||
```MD
|
|
||||||
x64 Native Tools Command Prompt for VS 2019
|
|
||||||
```
|
```
|
||||||
1. Navigate to correct drive (if needed), e.g.:
|
1. Navigate to correct drive (if needed), e.g.:
|
||||||
```shell
|
```shell
|
||||||
@@ -98,16 +114,11 @@ How to building with Visual Studio on Windows 64-bit.
|
|||||||
cd N:\Repos\OrcaSlicer
|
cd N:\Repos\OrcaSlicer
|
||||||
```
|
```
|
||||||
3. Run the build script:
|
3. Run the build script:
|
||||||
- Visual Studio 2022:
|
|
||||||
```shell
|
```shell
|
||||||
build_release_vs2022.bat
|
build_release_vs.bat
|
||||||
```
|
|
||||||
- Visual Studio 2019:
|
|
||||||
```shell
|
|
||||||
build_release.bat
|
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
> [!NOTE]
|
> [!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.
|
> 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 +126,13 @@ How to building with Visual Studio on Windows 64-bit.
|
|||||||
> [!TIP]
|
> [!TIP]
|
||||||
> If you encounter issues, you can try to uninstall ZLIB from your Vcpkg library.
|
> 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
|
```shell
|
||||||
build\OrcaSlicer.sln
|
build\OrcaSlicer.sln
|
||||||
```
|
```
|
||||||
4. Open the solution in Visual Studio, set the build configuration to `Release` and run the `Local Windows Debugger`.
|
2. 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:
|
3. Your resulting executable will be located in:
|
||||||
```shell
|
```shell
|
||||||
\build\src\Release\orca-slicer.exe
|
\build\src\Release\orca-slicer.exe
|
||||||
```
|
```
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 830 B |
BIN
images/develop/compile_vs_local_debugger.png
Normal file
BIN
images/develop/compile_vs_local_debugger.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.8 KiB |
BIN
images/develop/vs_cmd.png
Normal file
BIN
images/develop/vs_cmd.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
Reference in New Issue
Block a user