After following the Mac build steps, make is failing with the following:
.../waifu2x-converter-cpp/src/modelHandler_OpenCL.cpp:54:16: error: no namespace named 'filesystem' in namespace 'std'; did you mean std::__fs::filesystem'?
namespace fs = std::filesystem;
^~~~~~~~~~~~~~~
std::__fs::filesystem
/usr/local/opt/llvm/bin/../include/c++/v1/filesystem:259:1: note: namespace 'std::__fs::filesystem' defined here
_LIBCPP_BEGIN_NAMESPACE_FILESYSTEM
^
/usr/local/opt/llvm/bin/../include/c++/v1/__config:790:58: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_FILESYSTEM'
_LIBCPP_BEGIN_NAMESPACE_STD namespace __fs { namespace filesystem {
^
By commenting out the offending line the build succeeded and Waifu2x works as expected. It appears the fs definition can be defined out for Mac?
Make specified this information about my machine:
-- Found git, set version to: v5.3.3 (master-e7de04d)
-- System is: Darwin (Apple)
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- CUDA not found. disabled.
--
-- Config summary:
-- OpenCV: 4.4.0
-- OpenCL: 1.2
-- CUDA: Not found
-- Unicode: TRUE
-- Installing models to: /usr/local/share/waifu2x-converter-cpp
-- Not building test binaries
-- Building for: Unix Makefiles-x86_64
After following the Mac build steps, make is failing with the following:
By commenting out the offending line the build succeeded and Waifu2x works as expected. It appears the fs definition can be defined out for Mac?
Make specified this information about my machine: