Browse Source

doc: so *this* is the way to remove the macOS curse.

pull/494/head
Vladimír Vondruš 5 years ago
parent
commit
a5d58aaab7
  1. 12
      doc/platforms-macos.dox

12
doc/platforms-macos.dox

@ -238,18 +238,14 @@ or can be retreived from Homebrew logs):
clang++ … -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include … -o CMakeFiles/PngImageConverter.dir/PngImageConverter.cpp.o -c ../src/MagnumPlugins/PngImageConverter/PngImageConverter.cpp -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -isystem/usr/local/include clang++ … -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include … -o CMakeFiles/PngImageConverter.dir/PngImageConverter.cpp.o -c ../src/MagnumPlugins/PngImageConverter/PngImageConverter.cpp -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -isystem/usr/local/include
@endcode @endcode
One often suggested magic incantation that sometimes removes the curse is the A magic incantation that should remove the curse, often suggested by Homebrew
following: itself, is the following:
@code{.sh} @code{.sh}
xcode-select --install # try with sudo maybe sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
@endcode @endcode
If that doesn't help, the next step is to prevent multiple SDKs getting mixed
together by removing all folders inside `/Library/Developer/CommandLineTools/SDKs`
except the latest one. Simply [deleting them is the designated way](https://developer.apple.com/library/archive/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-HOW_CAN_I_UNINSTALL_THE_COMMAND_LINE_TOOLS_)
to do this.
@subsection platforms-macos-troubleshooting-gl Mac-specific OpenGL behavior @subsection platforms-macos-troubleshooting-gl Mac-specific OpenGL behavior
- @ref GL::AbstractShaderProgram::validate() expects that the shader has a - @ref GL::AbstractShaderProgram::validate() expects that the shader has a

Loading…
Cancel
Save