From 09345703e64447d7017d346e19150bb9af22e0e2 Mon Sep 17 00:00:00 2001 From: K4YT3X Date: Tue, 15 Dec 2020 13:05:16 -0500 Subject: [PATCH] fixed video2x ubuntu setup script paths --- src/video2x_setup_ubuntu.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video2x_setup_ubuntu.sh b/src/video2x_setup_ubuntu.sh index e655ac0..92e123d 100755 --- a/src/video2x_setup_ubuntu.sh +++ b/src/video2x_setup_ubuntu.sh @@ -187,15 +187,15 @@ mv -v $TEMP/realsr-ncnn-vulkan/realsr-ncnn-vulkan-*-linux $INSTALLATION_PATH/vid # install Anime4KCPP # install the latest cmake for compiling Anime4KCPP aria2c https://github.com/Kitware/CMake/releases/download/v3.18.2/cmake-3.18.2-Linux-x86_64.sh --dir / -o "$TEMP/cmake.sh" -mkdir /cmake -bash "$TEMP/cmake.sh" --prefix=/cmake --skip-license +mkdir $TEMP/cmake +bash "$TEMP/cmake.sh" --prefix=$TEMP/cmake --skip-license # build and install Anime4KCPP apt-fast install -y --no-install-recommends libopencv-dev opencl-dev git clone --recurse-submodules --depth=1 --progress https://github.com/TianZerL/Anime4KCPP.git $TEMP/anime4kcpp mkdir -v $TEMP/anime4kcpp/build cd $TEMP/anime4kcpp/build -/cmake/bin/cmake -DBuild_GUI=OFF .. +$TEMP/cmake/bin/cmake -DBuild_GUI=OFF .. make -j$(nproc) mv -v $TEMP/anime4kcpp/build $INSTALLATION_PATH/video2x/src/dependencies/anime4kcpp ln -s $INSTALLATION_PATH/video2x/src/dependencies/anime4kcpp/bin/libAnime4KCPPCore.so /usr/lib