Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Pass any value, like "1" to skip this part.

### Xcode and libc++
Xcode currently comes with an old version of libc++ which lacks many of C++17 features required by IO2D.
The easiest solution is to download a fresh build of libc++ from [here](http://releases.llvm.org/6.0.0/clang+llvm-6.0.0-x86_64-apple-darwin.tar.xz).
The easiest solution is to download a fresh build of libc++ from [here](https://github.com/llvm/llvm-project/releases) or build from [source](https://releases.llvm.org/12.0.0/projects/libcxx/docs/BuildingLibcxx.html).
Export appropriate CXX and LD flags to make clang use this version of the standard library (replace NEWPATH with a path of extracted archive contents):
```
export CXXFLAGS="-nostdinc++ -isystemNEWPATH/include/c++/v1"
Expand Down