Unable to build this with clean chroot for a while now, seems to spit a lot of generic C++ errors. This is a wild guess, but to me it seems one of build dependencies requires c++17 now, taking this opencv issue as point of reference.
In file included from /usr/include/google/protobuf/stubs/common.h:44,
from /usr/include/google/protobuf/io/coded_stream.h:130,
from .build_release/src/caffe/proto/caffe.pb.h:24,
from tools/compute_image_mean.cpp:11:
/usr/include/absl/strings/string_view.h:52:26: error: ‘string_view’ in namespace ‘std’ does not name a type
52 | using string_view = std::string_view;
| ^~~~~~~~~~~
/usr/include/absl/strings/string_view.h:52:21: note: ‘std::string_view’ is only available from C++17 onwards
52 | using string_view = std::string_view;
|
Also seems to have issues with cblas headers if blas-openblas (which should provide cblas) is used instead openblas as make dependency - it's fine right now in chroot, but gives include errors when built on host using blas-openblas.
Pinned Comments
ginnokami commented on 2021-04-18 23:47 (UTC)
This package provides the cli version of waifu2x-caffe. A readme for all of the flags is located in /usr/share/docs/waifu2x-caffe/README. The models are located at /usr/share/waifu2x-caffe/models.