Last active
September 17, 2018 14:13
-
-
Save kyleaolson/c9877cbe030457b3c68414f09ea5ea0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install deps | |
sudo apt install build-essential cmake qt5-default libmpv-dev | |
# Clone Repo | |
git clone https://github.com/easymodo/qimgv.git | |
# Build | |
cd qimgv/scripts | |
./build.sh | |
rm: cannot remove 'build': No such file or directory | |
Cleaning up build directory... | |
make: *** No rule to make target 'clean'. Stop. | |
-- The C compiler identification is GNU 7.3.0 | |
-- The CXX compiler identification is GNU 7.3.0 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/kyle/git/qimgv/build | |
Scanning dependencies of target qimgv_autogen | |
[ 1%] Automatic MOC and UIC for target qimgv | |
[ 1%] Built target qimgv_autogen | |
[ 2%] Generating qrc_resources.cpp | |
Scanning dependencies of target qimgv | |
[ 3%] Building CXX object CMakeFiles/qimgv.dir/appversion.cpp.o | |
[ 4%] Building CXX object CMakeFiles/qimgv.dir/core.cpp.o | |
[ 5%] Building CXX object CMakeFiles/qimgv.dir/settings.cpp.o | |
[ 6%] Building CXX object CMakeFiles/qimgv.dir/main.cpp.o | |
[ 7%] Building CXX object CMakeFiles/qimgv.dir/sharedresources.cpp.o | |
[ 8%] Building CXX object CMakeFiles/qimgv.dir/shortcutbuilder.cpp.o | |
[ 9%] Building CXX object CMakeFiles/qimgv.dir/components/scriptmanager/scriptmanager.cpp.o | |
[ 10%] Building CXX object CMakeFiles/qimgv.dir/components/actionmanager/actionmanager.cpp.o | |
/home/kyle/git/qimgv/components/scriptmanager/scriptmanager.cpp: In member function ‘void ScriptManager::runScript(const QString&, std::shared_ptr<Image>)’: | |
/home/kyle/git/qimgv/components/scriptmanager/scriptmanager.cpp:40:36: error: no matching function for call to ‘QProcess::startDetached()’ | |
if(!exec.startDetached()) { | |
^ | |
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1:0, | |
from /home/kyle/git/qimgv/components/scriptmanager/scriptmanager.h:11, | |
from /home/kyle/git/qimgv/components/scriptmanager/scriptmanager.cpp:1: | |
/usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:250:17: note: candidate: static bool QProcess::startDetached(const QString&, const QStringList&, const QString&, qint64*) | |
static bool startDetached(const QString &program, const QStringList &arguments, | |
^~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:250:17: note: candidate expects 4 arguments, 0 provided | |
/usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:257:17: note: candidate: static bool QProcess::startDetached(const QString&, const QStringList&) | |
static bool startDetached(const QString &program, const QStringList &arguments); // ### Qt6: merge overloads | |
^~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:257:17: note: candidate expects 2 arguments, 0 provided | |
/usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:259:17: note: candidate: static bool QProcess::startDetached(const QString&) | |
static bool startDetached(const QString &command); | |
^~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:259:17: note: candidate expects 1 argument, 0 provided | |
[ 11%] Building CXX object CMakeFiles/qimgv.dir/components/cache/cache.cpp.o | |
[ 12%] Building CXX object CMakeFiles/qimgv.dir/components/cache/cacheitem.cpp.o | |
CMakeFiles/qimgv.dir/build.make:285: recipe for target 'CMakeFiles/qimgv.dir/components/scriptmanager/scriptmanager.cpp.o' failed | |
make[2]: *** [CMakeFiles/qimgv.dir/components/scriptmanager/scriptmanager.cpp.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/qimgv.dir/all' failed | |
make[1]: *** [CMakeFiles/qimgv.dir/all] Error 2 | |
Makefile:129: recipe for target 'all' failed | |
make: *** [all] Error 2 | |
build finished. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment