Open stephane-archer opened 5 months ago
When building for macOS 10.15 or higher I have no issue but if I want to to compile for macOS 10.14 I get the following error:
Cube-LUT-Loader/src/FileIO/FileIO.cpp:73:26: error: 'exists' is unavailable: introduced in macOS 10.15 return std::filesystem::exists(outputPath, ec); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__filesystem/operations.h:101:39: note: 'exists' has been explicitly marked unavailable here inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p, error_code& __ec) noexcept { ^ Cube-LUT-Loader/src/FileIO/FileIO.cpp:73:33: error: 'path' is unavailable: introduced in macOS 10.15 return std::filesystem::exists(outputPath, ec); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__filesystem/path.h:486:3: note: 'path' has been explicitly marked unavailable here path(const _Source& __src, format = format::auto_format) { ^ Cube-LUT-Loader/src/FileIO/FileIO.cpp:73:33: error: '~path' is unavailable: introduced in macOS 10.15 return std::filesystem::exists(outputPath, ec); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__filesystem/path.h:509:3: note: '~path' has been explicitly marked unavailable here ~path() = default; ^ 3 errors generated. make[2]: *** [src/CMakeFiles/lut_loader_base.dir/FileIO/FileIO.cpp.o] Error 1 make[1]: *** [src/CMakeFiles/lut_loader_base.dir/all] Error 2 make: *** [all] Error 2
When building for macOS 10.15 or higher I have no issue but if I want to to compile for macOS 10.14 I get the following error: