akai-katto / dandere2x

Dandere2x - Fast Waifu2x Video Upscaling.
https://www.reddit.com/r/Dandere2x/
GNU General Public License v3.0
1.45k stars 77 forks source link

run on linux #231

Open shrisha108 opened 2 years ago

shrisha108 commented 2 years ago

Hello. Just tried to run linux_setup.sh on my Fedora machine and got this:

[shrisha@fedora src]$ ./linux_setup.sh
/usr/bin/cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shrisha/dandere2x/dandere2x_cpp
[  8%] Building CXX object CMakeFiles/dandere2x_cpp.dir/main.cpp.o
In file included from /usr/include/errno.h:28,
                 from /usr/include/c++/11/cerrno:42,
                 from /usr/include/c++/11/ext/string_conversions.h:44,
                 from /usr/include/c++/11/bits/basic_string.h:6607,
                 from /usr/include/c++/11/string:55,
                 from /home/shrisha/dandere2x/dandere2x_cpp/plugins/predictive_frame/../AbstractPlugin.h:31,
                 from /home/shrisha/dandere2x/dandere2x_cpp/plugins/predictive_frame/PredictiveFrame.h:34,
                 from /home/shrisha/dandere2x/dandere2x_cpp/main.cpp:1:
/usr/include/bits/errno.h:26:11: fatal error: linux/errno.h: No such file or directory
   26 | # include <linux/errno.h>
      |           ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dandere2x_cpp.dir/build.make:76: CMakeFiles/dandere2x_cpp.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/dandere2x_cpp.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
dandere2x_cpp does not exist.. not sure what's wrong...

cmake, ffmpeg and pyton3 is installed properly. Is there anything else I'm missing? Thank you.