Closed Barmarel closed 2 years ago
the stuff between brackets "[
"..."]
" is just a way to say optional and (the brackets) should not go in the literal command line
please retry with just:
cmake -B build
Now I get another error:
~/qjackctl-qjackctl_0_9_7$ cmake -B build
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at CMakeLists.txt:140 (find_package):
By not providing "FindQt.cmake" in CMAKE_MODULE_PATH this project has asked
CMake to find a package configuration file provided by "Qt", but CMake did
not find one.
Could not find a package configuration file provided by "Qt" with any of
the following names:
QtConfig.cmake
qt-config.cmake
Add the installation prefix of "Qt" to CMAKE_PREFIX_PATH or set "Qt_DIR" to
a directory containing one of the above files. If "Qt" provides a separate
development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/user/qjackctl-qjackctl_0_9_7/build/CMakeFiles/CMakeOutput.log".
you need to install the needed development packages for build as pre-requirements
these are often suffixed -dev on deb(ian) or -devel on rpm based systems; package names vary (a lot) but for instance, if you're on a deb/apt base systems, this will do:
sudo apt-get install qtbase5-dev qtbase5-dev-tools qttools5-dev qttools5-dev-tools qtwayland5-dev libqt5svg5-dev
sudo apt-get install libasound2-dev libjack-dev
hth.
Cool, now it's working. 😀 Only with this warning:
CMake Warning at CMakeLists.txt:258 (message):
*** PORTAUDIO library not found.
Thank you very much for your help. 🙂
I downloaded the application archive, version 0.9.7 from GitHub, extracted the contents to my home directory, read the instructions, went to the unpacked directory, opened a terminal, entered the command specified in the instructions:
cmake [-DCMAKE_INSTALL_PREFIX=/usr/local] -B build
I got this error:
My system: KDE Neon: 5.24 KDE Plasma: 5.24.4 KDE Frameworks: 5.93.0 Qt Version: 5.15.3 Linux Kernel Version: 5.13.0-40-generic (64-bit) Graphics Platform: X11
Why does this error occur? How can I fix it?