I tried to build this on google colab but I got the following error:
Scanning dependencies of target Anime4KCPPCore
[ 6%] Building CXX object Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/src/Anime4K.cpp.o
[ 12%] Building CXX object Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/src/Anime4KCPP.cpp.o
[ 18%] Building CXX object Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/src/Anime4KCPU.cpp.o
[ 25%] Building CXX object Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/src/Anime4KGPU.cpp.o
/root/Anime4KCPP/Anime4KCore/src/Anime4KGPU.cpp: In static member function ‘static void Anime4KCPP::Anime4KGPU::initOpenCL()’:
/root/Anime4KCPP/Anime4KCore/src/Anime4KGPU.cpp:548:73: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
commandQueue = clCreateCommandQueue(context, device, 0, &err);
^
In file included from /root/Anime4KCPP/Anime4KCore/include/Anime4KGPU.h:11:0,
from /root/Anime4KCPP/Anime4KCore/src/Anime4KGPU.cpp:3:
/usr/include/CL/cl.h:1443:1: note: declared here
clCreateCommandQueue(cl_context /* context */,
^~~~~~~~~~~~~~~~~~~~
[ 31%] Building CXX object Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/src/VideoIO.cpp.o
/root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp: In member function ‘bool Anime4KCPP::VideoIO::openWriter(const string&, Anime4KCPP::CODEC, const Size&)’:
/root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:71:100: error: no matching function for call to ‘cv::VideoWriter::open(const string&, cv::VideoCaptureAPIs, int, double&, const Size&)’
writer.open(dstFile, cv::CAP_FFMPEG, cv::VideoWriter::fourcc('m', 'p', '4', 'v'), fps, size);
^
In file included from /usr/include/opencv2/highgui.hpp:51:0,
from /usr/include/opencv2/opencv.hpp:65,
from /root/Anime4KCPP/Anime4KCore/include/VideoIO.h:3,
from /root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:1:
/usr/include/opencv2/videoio.hpp:863:26: note: candidate: virtual bool cv::VideoWriter::open(const cv::String&, int, double, cv::Size, bool)
CV_WRAP virtual bool open(const String& filename, int fourcc, double fps,
^~~~
/usr/include/opencv2/videoio.hpp:863:26: note: no known conversion for argument 4 from ‘double’ to ‘cv::Size {aka cv::Size_<int>}’
/root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:91:100: error: no matching function for call to ‘cv::VideoWriter::open(const string&, cv::VideoCaptureAPIs, int, double&, const Size&)’
writer.open(dstFile, cv::CAP_FFMPEG, cv::VideoWriter::fourcc('a', 'v', 'c', '1'), fps, size);
^
In file included from /usr/include/opencv2/highgui.hpp:51:0,
from /usr/include/opencv2/opencv.hpp:65,
from /root/Anime4KCPP/Anime4KCore/include/VideoIO.h:3,
from /root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:1:
/usr/include/opencv2/videoio.hpp:863:26: note: candidate: virtual bool cv::VideoWriter::open(const cv::String&, int, double, cv::Size, bool)
CV_WRAP virtual bool open(const String& filename, int fourcc, double fps,
^~~~
/usr/include/opencv2/videoio.hpp:863:26: note: no known conversion for argument 4 from ‘double’ to ‘cv::Size {aka cv::Size_<int>}’
/root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:100:100: error: no matching function for call to ‘cv::VideoWriter::open(const string&, cv::VideoCaptureAPIs, int, double&, const Size&)’
writer.open(dstFile, cv::CAP_FFMPEG, cv::VideoWriter::fourcc('v', 'p', '0', '9'), fps, size);
^
In file included from /usr/include/opencv2/highgui.hpp:51:0,
from /usr/include/opencv2/opencv.hpp:65,
from /root/Anime4KCPP/Anime4KCore/include/VideoIO.h:3,
from /root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:1:
/usr/include/opencv2/videoio.hpp:863:26: note: candidate: virtual bool cv::VideoWriter::open(const cv::String&, int, double, cv::Size, bool)
CV_WRAP virtual bool open(const String& filename, int fourcc, double fps,
^~~~
/usr/include/opencv2/videoio.hpp:863:26: note: no known conversion for argument 4 from ‘double’ to ‘cv::Size {aka cv::Size_<int>}’
/root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:109:100: error: no matching function for call to ‘cv::VideoWriter::open(const string&, cv::VideoCaptureAPIs, int, double&, const Size&)’
writer.open(dstFile, cv::CAP_FFMPEG, cv::VideoWriter::fourcc('h', 'e', 'v', '1'), fps, size);
^
In file included from /usr/include/opencv2/highgui.hpp:51:0,
from /usr/include/opencv2/opencv.hpp:65,
from /root/Anime4KCPP/Anime4KCore/include/VideoIO.h:3,
from /root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:1:
/usr/include/opencv2/videoio.hpp:863:26: note: candidate: virtual bool cv::VideoWriter::open(const cv::String&, int, double, cv::Size, bool)
CV_WRAP virtual bool open(const String& filename, int fourcc, double fps,
^~~~
/usr/include/opencv2/videoio.hpp:863:26: note: no known conversion for argument 4 from ‘double’ to ‘cv::Size {aka cv::Size_<int>}’
/root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:118:100: error: no matching function for call to ‘cv::VideoWriter::open(const string&, cv::VideoCaptureAPIs, int, double&, const Size&)’
writer.open(dstFile, cv::CAP_FFMPEG, cv::VideoWriter::fourcc('a', 'v', '0', '1'), fps, size);
^
In file included from /usr/include/opencv2/highgui.hpp:51:0,
from /usr/include/opencv2/opencv.hpp:65,
from /root/Anime4KCPP/Anime4KCore/include/VideoIO.h:3,
from /root/Anime4KCPP/Anime4KCore/src/VideoIO.cpp:1:
/usr/include/opencv2/videoio.hpp:863:26: note: candidate: virtual bool cv::VideoWriter::open(const cv::String&, int, double, cv::Size, bool)
CV_WRAP virtual bool open(const String& filename, int fourcc, double fps,
^~~~
/usr/include/opencv2/videoio.hpp:863:26: note: no known conversion for argument 4 from ‘double’ to ‘cv::Size {aka cv::Size_<int>}’
Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/build.make:134: recipe for target 'Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/src/VideoIO.cpp.o' failed
make[2]: *** [Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/src/VideoIO.cpp.o] Error 1
CMakeFiles/Makefile2:177: recipe for target 'Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/all' failed
make[1]: *** [Anime4KCore/CMakeFiles/Anime4KCPPCore.dir/all] Error 2
Makefile:103: recipe for target 'all' failed
make: *** [all] Error 2
What is it that I am missing??