Skip to content

Instantly share code, notes, and snippets.

@toyg
Last active October 21, 2017 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toyg/4b12fec44aea02316a24ccd8d029262b to your computer and use it in GitHub Desktop.
Save toyg/4b12fec44aea02316a24ccd8d029262b to your computer and use it in GitHub Desktop.
waifu2x error
Determining if the CL_VERSION_2_0 exist failed with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_90b7e/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_90b7e.dir/build.make CMakeFiles/cmTC_90b7e.dir/build
Building C object CMakeFiles/cmTC_90b7e.dir/CheckSymbolExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_90b7e.dir/CheckSymbolExists.c.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'CL_VERSION_2_0'
return ((int*)(&CL_VERSION_2_0))[argc];
^
1 error generated.
make[1]: *** [CMakeFiles/cmTC_90b7e.dir/CheckSymbolExists.c.o] Error 1
make: *** [cmTC_90b7e/fast] Error 2
File /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include </System/Library/Frameworks/OpenCL.framework/Headers/cl.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef CL_VERSION_2_0
return ((int*)(&CL_VERSION_2_0))[argc];
#else
(void)argc;
return 0;
#endif
}
The system is: Darwin - 16.7.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is AppleClang, found in "/Users/toyg/Dev/waifu2x-dev/CMakeFiles/3.9.0/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is AppleClang, found in "/Users/toyg/Dev/waifu2x-dev/CMakeFiles/3.9.0/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_77a8c/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_77a8c.dir/build.make CMakeFiles/cmTC_77a8c.dir/build
Building C object CMakeFiles/cmTC_77a8c.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_77a8c.dir/testCCompiler.c.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_77a8c
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77a8c.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_77a8c.dir/testCCompiler.c.o -o cmTC_77a8c
Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9fb13/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_9fb13.dir/build.make CMakeFiles/cmTC_9fb13.dir/build
Building C object CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_9fb13
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9fb13.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o -o cmTC_9fb13
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.12.0 -o cmTC_9fb13 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-302.3
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_9fb13/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_9fb13.dir/build.make CMakeFiles/cmTC_9fb13.dir/build]
ignore line: [Building C object CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_9fb13]
ignore line: [/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9fb13.dir/link.txt --verbose=1]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o -o cmTC_9fb13 ]
ignore line: [Apple LLVM version 9.0.0 (clang-900.0.38)]
ignore line: [Target: x86_64-apple-darwin16.7.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.12.0 -o cmTC_9fb13 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.12.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_9fb13] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_9fb13.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: []
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f0592/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_f0592.dir/build.make CMakeFiles/cmTC_f0592.dir/build
Building C object CMakeFiles/cmTC_f0592.dir/feature_tests.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_f0592.dir/feature_tests.c.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/feature_tests.c
Linking C executable cmTC_f0592
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f0592.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_f0592.dir/feature_tests.c.o -o cmTC_f0592
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8f21f/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_8f21f.dir/build.make CMakeFiles/cmTC_8f21f.dir/build
Building C object CMakeFiles/cmTC_8f21f.dir/feature_tests.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_8f21f.dir/feature_tests.c.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/feature_tests.c
Linking C executable cmTC_8f21f
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8f21f.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_8f21f.dir/feature_tests.c.o -o cmTC_8f21f
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_99ad0/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_99ad0.dir/build.make CMakeFiles/cmTC_99ad0.dir/build
Building C object CMakeFiles/cmTC_99ad0.dir/feature_tests.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_99ad0.dir/feature_tests.c.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/feature_tests.c
Linking C executable cmTC_99ad0
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_99ad0.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_99ad0.dir/feature_tests.c.o -o cmTC_99ad0
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros
Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_93843/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_93843.dir/build.make CMakeFiles/cmTC_93843.dir/build
Building CXX object CMakeFiles/cmTC_93843.dir/testCXXCompiler.cxx.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -o CMakeFiles/cmTC_93843.dir/testCXXCompiler.cxx.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_93843
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_93843.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_93843.dir/testCXXCompiler.cxx.o -o cmTC_93843
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4a1bf/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_4a1bf.dir/build.make CMakeFiles/cmTC_4a1bf.dir/build
Building CXX object CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -o CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_4a1bf
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4a1bf.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4a1bf
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.12.0 -o cmTC_4a1bf -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-302.3
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_4a1bf/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_4a1bf.dir/build.make CMakeFiles/cmTC_4a1bf.dir/build]
ignore line: [Building CXX object CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -o CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_4a1bf]
ignore line: [/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4a1bf.dir/link.txt --verbose=1]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4a1bf ]
ignore line: [Apple LLVM version 9.0.0 (clang-900.0.38)]
ignore line: [Target: x86_64-apple-darwin16.7.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.12.0 -o cmTC_4a1bf -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.12.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_4a1bf] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_4a1bf.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lc++] ==> lib [c++]
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: [c++]
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8c8d7/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_8c8d7.dir/build.make CMakeFiles/cmTC_8c8d7.dir/build
Building CXX object CMakeFiles/cmTC_8c8d7.dir/feature_tests.cxx.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -std=c++1z -o CMakeFiles/cmTC_8c8d7.dir/feature_tests.cxx.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_8c8d7
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c8d7.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_8c8d7.dir/feature_tests.cxx.o -o cmTC_8c8d7
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9e409/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_9e409.dir/build.make CMakeFiles/cmTC_9e409.dir/build
Building CXX object CMakeFiles/cmTC_9e409.dir/feature_tests.cxx.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_9e409.dir/feature_tests.cxx.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_9e409
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9e409.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_9e409.dir/feature_tests.cxx.o -o cmTC_9e409
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_45215/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_45215.dir/build.make CMakeFiles/cmTC_45215.dir/build
Building CXX object CMakeFiles/cmTC_45215.dir/feature_tests.cxx.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_45215.dir/feature_tests.cxx.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_45215
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_45215.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_45215.dir/feature_tests.cxx.o -o cmTC_45215
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_437b2/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_437b2.dir/build.make CMakeFiles/cmTC_437b2.dir/build
Building CXX object CMakeFiles/cmTC_437b2.dir/feature_tests.cxx.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_437b2.dir/feature_tests.cxx.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_437b2
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_437b2.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_437b2.dir/feature_tests.cxx.o -o cmTC_437b2
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:0cxx_alias_templates
Feature record: CXX_FEATURE:0cxx_alignas
Feature record: CXX_FEATURE:0cxx_alignof
Feature record: CXX_FEATURE:0cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:0cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:0cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:0cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:0cxx_default_function_template_args
Feature record: CXX_FEATURE:0cxx_defaulted_functions
Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:0cxx_delegating_constructors
Feature record: CXX_FEATURE:0cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
Feature record: CXX_FEATURE:0cxx_explicit_conversions
Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
Feature record: CXX_FEATURE:0cxx_extern_templates
Feature record: CXX_FEATURE:0cxx_final
Feature record: CXX_FEATURE:0cxx_func_identifier
Feature record: CXX_FEATURE:0cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:0cxx_inheriting_constructors
Feature record: CXX_FEATURE:0cxx_inline_namespaces
Feature record: CXX_FEATURE:0cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:0cxx_local_type_template_args
Feature record: CXX_FEATURE:0cxx_long_long_type
Feature record: CXX_FEATURE:0cxx_noexcept
Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
Feature record: CXX_FEATURE:0cxx_nullptr
Feature record: CXX_FEATURE:0cxx_override
Feature record: CXX_FEATURE:0cxx_range_for
Feature record: CXX_FEATURE:0cxx_raw_string_literals
Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:0cxx_right_angle_brackets
Feature record: CXX_FEATURE:0cxx_rvalue_references
Feature record: CXX_FEATURE:0cxx_sizeof_member
Feature record: CXX_FEATURE:0cxx_static_assert
Feature record: CXX_FEATURE:0cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:0cxx_thread_local
Feature record: CXX_FEATURE:0cxx_trailing_return_types
Feature record: CXX_FEATURE:0cxx_unicode_literals
Feature record: CXX_FEATURE:0cxx_uniform_initialization
Feature record: CXX_FEATURE:0cxx_unrestricted_unions
Feature record: CXX_FEATURE:0cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:0cxx_variadic_macros
Feature record: CXX_FEATURE:0cxx_variadic_templates
Determining if the CL_VERSION_1_2 exist passed with the following output:
Change Dir: /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_1194b/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_1194b.dir/build.make CMakeFiles/cmTC_1194b.dir/build
Building C object CMakeFiles/cmTC_1194b.dir/CheckSymbolExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_1194b.dir/CheckSymbolExists.c.o -c /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_1194b
/usr/local/Cellar/cmake/3.9.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1194b.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1194b.dir/CheckSymbolExists.c.o -o cmTC_1194b
File /Users/toyg/Dev/waifu2x-dev/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include </System/Library/Frameworks/OpenCL.framework/Headers/cl.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef CL_VERSION_1_2
return ((int*)(&CL_VERSION_1_2))[argc];
#else
(void)argc;
return 0;
#endif
}
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
/Users/toyg/Dev/waifu2x-dev/include/picojson.h:225:8: error: no member named 'isnan' in namespace 'std'
std::isnan(n) || std::isinf(n)
~~~~~^
/Users/toyg/Dev/waifu2x-dev/include/picojson.h:225:25: error: no member named 'isinf' in namespace 'std'
std::isnan(n) || std::isinf(n)
~~~~~^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:19:
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer(Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:22:
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:25:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
W2Mat(const W2Mat &) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:26:38: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
W2Mat& operator=(const W2Mat&) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:28:30: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
W2Mat & operator= (W2Mat &&);
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:29:17: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
W2Mat(W2Mat &&rhs) {
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:30:15: error: overload resolution selected deleted operator '='
*this = std::move(rhs);
~~~~~ ^ ~~~~~~~~~~~~~~
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:26:12: note: candidate function has been explicitly deleted
W2Mat& operator=(const W2Mat&) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:28:13: note: candidate function not viable: no known conversion from 'W2Mat' to 'W2Mat &&' for 1st argument
W2Mat & operator= (W2Mat &&);
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:4:
In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:warning4: :
In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
deleted /Users/toyg/Dev/waifu2x-dev/src/Buffer.hppfunction: 113definitions: 33are: awarning : C++11 extension [-Wc++11-extensions]
deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer(Buffer const &rhs) = delete;
Buffer(Buffer const &rhs) = delete;
^
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp::46114:: 46: warning: warning: deleted functiondeleted definitionsfunction aredefinitions aare C++11a extensionC++11 [-Wc++11-extensions]extension
[-Wc++11-extensions]
Buffer &operator = (Buffer const &rhs) = delete;
Buffer &operator = (Buffer const &rhs) = delete; ^
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp::115115::3232:: warningwarning: : rvaluervalue referencesreferences areare aa C++11C++11 extensionextension [-Wc++11-extensions]
[-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
Buffer &operator = (Buffer &&rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: /Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:deleted115 :function41 :definitions are warninga: C++11 deletedextension [-Wc++11-extensions]function
definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
Buffer &operator = (Buffer &&rhs) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:4:
In file included from /Users/toyg/Dev/waifu2x-dev/src/filters.hpp:5:
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:113:33: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer(Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:114:46: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer const &rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:32: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
/Users/toyg/Dev/waifu2x-dev/src/Buffer.hpp:115:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
Buffer &operator = (Buffer &&rhs) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:43:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: error: expected expression
auto func = [&]() {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:89:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: error: expected expression
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:67:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:126:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_fma.cpp:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: calling a private constructor of class
'std::__1::thread'
::new ((void*)__p) _Tp(__a0);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template
specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::thread> >::construct<std::__1::thread, std::__1::thread>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:575:17: note: in instantiation of member function 'std::__1::vector<std::__1::thread,
std::__1::allocator<std::__1::thread> >::push_back' requested here
workerThreads.push_back(std::thread(func));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
thread(const thread&);
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_sse.cpp:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: calling a private constructor of class
'std::__1::thread'
::new ((void*)__p) _Tp(__a0);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template
specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::thread> >::construct<std::__1::thread, std::__1::thread>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:575:17: note: in instantiation of member function 'std::__1::vector<std::__1::thread,
std::__1::allocator<std::__1::thread> >::push_back' requested here
workerThreads.push_back(std::thread(func));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
thread(const thread&);
^
10 warnings and 3 errors generated.
10 warnings and 3 errors generated.
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:38:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:506:14: make[2]: error: *** [CMakeFiles/w2xc.dir/src/modelHandler_fma.cpp.o] Error 1expected expression
auto func = [&]() {
^
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler_sse.cpp.o] Error 1
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:577:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:65:
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:202:14: error: expected expression
auto func = [&]() {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_simd.hpp:239:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto& th : workerThreads) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx.cpp:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:93:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:486:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: calling a private constructor of class
'std::__1::thread'
::new ((void*)__p) _Tp(__a0);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template
specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::thread> >::construct<std::__1::thread, std::__1::thread>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler_avx_func.hpp:575:17: note: in instantiation of member function 'std::__1::vector<std::__1::thread,
std::__1::allocator<std::__1::thread> >::push_back' requested here
workerThreads.push_back(std::thread(func));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
thread(const thread&);
^
10 warnings and 3 errors generated.
make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler_avx.cpp.o] Error 1
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:95:2: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto thread_func = [&](){
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:95:21: error: expected expression
auto thread_func = [&](){
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:188:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:188:15: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&th : workerThreads) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& wInputPlaneV : wOutputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& wInputPlaneV : wOutputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:708:27: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& wInputPlaneV : wOutputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatV : wInputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:12: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatV : wInputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:711:26: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatV : wInputPlane) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:716:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto& weightMatRowV = weightMat.at(writingRow);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& obj : objectArray) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:12: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& obj : objectArray) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:912:19: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& obj : objectArray) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:9: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& m : models) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:13: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& m : models) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:923:18: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& m : models) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatrix : weights) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatrix : weights) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1015:27: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& weightMatrix : weights) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto&& bias : biases) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
for (auto&& bias : biases) {
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:1023:19: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto&& bias : biases) {
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:14:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:171:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: calling a private constructor of class
'std::__1::thread'
::new ((void*)__p) _Tp(__a0);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template
specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::thread> >::construct<std::__1::thread, std::__1::thread>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:185:17: note: in instantiation of member function 'std::__1::vector<std::__1::thread,
std::__1::allocator<std::__1::thread> >::push_back' requested here
workerThreads.push_back(std::thread(thread_func));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:286:5: note: implicitly declared private here
thread(const thread&);
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:14:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:470:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:171:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:640:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: call to deleted constructor of 'W2Mat'
::new ((void*)__p) _Tp(__a0);
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template
specialization 'std::__1::allocator_traits<std::__1::allocator<W2Mat> >::construct<W2Mat, W2Mat>' requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:726:12: note: in instantiation of member function 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::push_back'
requested here
weights.push_back(std::move(writeMatrix));
^
/Users/toyg/Dev/waifu2x-dev/src/cvwrap.hpp:25:5: note: 'W2Mat' has been explicitly marked deleted here
W2Mat(const W2Mat &) = delete;
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
In file included from /Users/toyg/Dev/waifu2x-dev/include/picojson.h:42:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1572:21: error: no matching member function for call to
'construct'
__alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
~~~~~~~~~~~~~~~~^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1591:9: note: in instantiation of function template
specialization 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::__push_back_slow_path<const W2Mat>' requested here
__push_back_slow_path(__x);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:726:12: note: in instantiation of member function 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::push_back'
requested here
weights.push_back(std::move(writeMatrix));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure
[with _Tp = W2Mat, _A0 = W2Mat]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: use of undeclared identifier 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:886:21: note: in instantiation of function template
specialization 'std::__1::allocator_traits<std::__1::allocator<W2Mat> >::__construct_backward<W2Mat *>' requested here
__alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1574:5: note: in instantiation of member function
'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::__swap_out_circular_buffer' requested here
__swap_out_circular_buffer(__v);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1591:9: note: in instantiation of function template
specialization 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::__push_back_slow_path<const W2Mat>' requested here
__push_back_slow_path(__x);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:726:12: note: in instantiation of member function 'std::__1::vector<W2Mat, std::__1::allocator<W2Mat> >::push_back'
requested here
weights.push_back(std::move(writeMatrix));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: must qualify identifier to find this declaration
in dependent base class
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: must qualify identifier to find this declaration
in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: must qualify identifier to find this declaration
in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: must qualify identifier to find this declaration
in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure
[with _Tp = W2Mat, _A0 = W2Mat]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure
[with _Tp = W2Mat, _A0 = W2Mat]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1553:36: error: no matching constructor for initialization of
'std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >'
::new ((void*)__p) _Tp(__a0);
^ ~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1585:25: note: in instantiation of function template
specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >
>::construct<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >'
requested here
__alloc_traits::construct(this->__alloc(),
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:889:11: note: in instantiation of member function 'std::__1::vector<std::__1::unique_ptr<w2xc::Model,
std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::push_back' requested
here
models.push_back(std::move(m));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2435:5: note: candidate constructor not viable: 1st argument
('const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >') would lose const qualifier
unique_ptr(unique_ptr&);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2454:49: note: candidate constructor not viable: no known
conversion from 'const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >' to 'std::__1::nullptr_t' for 1st argument
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2460:40: note: candidate constructor not viable: no known
conversion from 'const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >' to 'pointer' (aka 'w2xc::Model *') for 1st argument
_LIBCPP_INLINE_VISIBILITY explicit unique_ptr(pointer __p) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2539:31: note: candidate constructor not viable: no known
conversion from 'const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >' to '__rv<std::__1::unique_ptr<w2xc::Model,
std::__1::default_delete<w2xc::Model> > >' for 1st argument
_LIBCPP_INLINE_VISIBILITY unique_ptr(__rv<unique_ptr> __u)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2437:9: note: candidate template ignored: deduced type
'unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > &' of 1st parameter does not match adjusted type 'const std::__1::unique_ptr<w2xc::Model,
std::__1::default_delete<w2xc::Model> >' of argument [with _Up = w2xc::Model, _Ep = std::__1::default_delete<w2xc::Model>]
unique_ptr(unique_ptr<_Up, _Ep>&);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2448:49: note: candidate constructor not viable: requires 0
arguments, but 1 was provided
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR unique_ptr() _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2557:31: note: candidate constructor not viable: requires 2
arguments, but 1 was provided
_LIBCPP_INLINE_VISIBILITY unique_ptr(pointer __p, deleter_type __d)
^
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:8:
In file included from /Users/toyg/Dev/waifu2x-dev/src/modelHandler.hpp:18:
In file included from /Users/toyg/Dev/waifu2x-dev/include/picojson.h:42:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1572:21: error: no matching member function for call to
'construct'
__alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
~~~~~~~~~~~~~~~~^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1591:9: note: in instantiation of function template
specialization 'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model,
std::__1::default_delete<w2xc::Model> > > >::__push_back_slow_path<const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >' requested here
__push_back_slow_path(__x);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:889:11: note: in instantiation of member function 'std::__1::vector<std::__1::unique_ptr<w2xc::Model,
std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::push_back' requested
here
models.push_back(std::move(m));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure
[with _Tp = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, _A0 = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model>
>]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: use of undeclared identifier 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:886:21: note: in instantiation of function template
specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >
>::__construct_backward<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > *>' requested here
__alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1574:5: note: in instantiation of member function
'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model,
std::__1::default_delete<w2xc::Model> > > >::__swap_out_circular_buffer' requested here
__swap_out_circular_buffer(__v);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:1591:9: note: in instantiation of function template
specialization 'std::__1::vector<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model,
std::__1::default_delete<w2xc::Model> > > >::__push_back_slow_path<const std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > >' requested here
__push_back_slow_path(__x);
^
/Users/toyg/Dev/waifu2x-dev/src/modelHandler.cpp:889:11: note: in instantiation of member function 'std::__1::vector<std::__1::unique_ptr<w2xc::Model,
std::__1::default_delete<w2xc::Model> >, std::__1::allocator<std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> > > >::push_back' requested
here
models.push_back(std::move(m));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: must qualify identifier to find this declaration
in dependent base class
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: must qualify identifier to find this declaration
in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: must qualify identifier to find this declaration
in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: must qualify identifier to find this declaration
in dependent base class
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure
[with _Tp = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, _A0 = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model>
>]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1656:17: error: no matching function for call to 'construct'
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: substitution failure
[with _Tp = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model> >, _A0 = std::__1::unique_ptr<w2xc::Model, std::__1::default_delete<w2xc::Model>
>]
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1557:21: note: candidate function template not viable: requires 4
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1564:21: note: candidate function template not viable: requires 5
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:1545:21: note: candidate function template not viable: requires 2
arguments, but 3 were provided
static void construct(allocator_type& __a, _Tp* __p)
^
30 warnings and 15 errors generated.
make[2]: *** [CMakeFiles/w2xc.dir/src/modelHandler.cpp.o] Error 1
make[1]: *** [CMakeFiles/w2xc.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment