mycroft-gui icon indicating copy to clipboard operation
mycroft-gui copied to clipboard

Unable to compile

Open JKakaofanatiker opened this issue 2 years ago • 3 comments

Describe the bug I always get the same CMake error when I try to compile

To Reproduce Steps to reproduce the behavior:

  1. Go to '~/mycroft-gui'
  2. run bash dev_setup.sh
  3. 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.

JKakaofanatiker avatar Apr 18 '23 15:04 JKakaofanatiker

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:

  1. clone repo
  2. cd into
  3. run ./dev_setup.sh

smirnov-danil avatar May 14 '23 12:05 smirnov-danil

Getting the same here

S1700 avatar Jun 25 '23 19:06 S1700

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!

ghost avatar Jul 11 '23 03:07 ghost