Closed 3d4m-volodymyr closed 6 months ago
I fixed it by executing this line before cmake command.
export CXXFLAGS="-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION=1"
Another option that is also worked is
cmake -G Xcode -Dpxr_DIR=/Users/b/Developer/USD_build -DMaterialX_DIR=/Users/b/Developer/USD_build/lib/cmake/MaterialX ..
Thanks for reporting this issue @3d4m-volodymyr, I have updated the cmake file to prevent this compilation error. C
Macbook Apple M1 Pro macOS Sonoma 14.3 (23D56) Xcode 15.2
USD v23.11 - (0b18ad3f840c24eb25e16b795a5b0821cf05126e) usdtweak - develop barnch (e01216de08fdc64721c7fa14c56fced9276186d6)