Unable to compile
Describe the bug I always get the same CMake error when I try to compile
To Reproduce Steps to reproduce the behavior:
- Go to '~/mycroft-gui'
- run
bash dev_setup.sh - select distro
Expected behavior Compilation succeeds
Log files
Building Mycroft GUI
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is unknown
-- 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
CMake Error at CMakeLists.txt:14 (PROJECT):
The CMAKE_CXX_COMPILER:
clazy
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
Environment (please complete the following information):
- Device type: desktop
- OS: Arch
- Mycroft-core version: master branch ()
Additional context Add any other context about the problem here.
Please think carefully about whether you have modified anything in Mycroft's code or configuration files. If so, can you reproduce this on a clean installation of Mycroft? Many "bugs" turn out to be non-standard configuration errors.
Same on Linux u-ms7923 6.2.13-1-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Apr 26 21:52:27 UTC 2023 x86_64 GNU/Linux
steps:
- clone repo
- cd into
- run
./dev_setup.sh
Getting the same here
Upon manually installing clazy, the following error occurs:
Building Mycroft GUI
-- The CXX compiler identification is Clang 15.0.7
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clazy - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:46 (find_package):
Could not find a configuration file for package "Qt5" that is compatible
with requested version "6.4.0".
The following configuration files were considered but not accepted:
/usr/lib/cmake/Qt5/Qt5Config.cmake, version: 5.15.10
/lib/cmake/Qt5/Qt5Config.cmake, version: 5.15.10
-- Configuring incomplete, errors occurred!