mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-09 23:58:59 +08:00
Update How to build - Mac OS.md with troubleshooting section,
This commit is contained in:
parent
671d9ebb34
commit
d7cd43e8a7
@ -80,6 +80,27 @@ This is set in the property list file
|
||||
|
||||
To remove the limitation, simply delete the key `MinimumSDKVersion` from that file.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### `CMath::CMath` target not found
|
||||
|
||||
At the moment (20.2.2024) PrusaSlicer cannot be built with CMake 3.28+. Use [CMake 3.27](https://github.com/Kitware/CMake/releases/tag/v3.27.9) instead.
|
||||
If you install the CMake application from [universal DMG](https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-macos-universal.dmg), you can invoke the CMake like this:
|
||||
|
||||
```
|
||||
/Applications/CMake.app/Contents/bin/cmake
|
||||
```
|
||||
|
||||
### Running `cmake -GXCode` fails with `No CMAKE_CXX_COMPILER could be found.`
|
||||
|
||||
- If XCode command line tools wasn't already installed, run:
|
||||
```
|
||||
sudo xcode-select --install
|
||||
```
|
||||
- If XCode command line tools are already installed, run:
|
||||
```
|
||||
sudo xcode-select --reset
|
||||
```
|
||||
|
||||
# TL; DR
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user