Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install in centos 7 #446

Open
abdularshad06 opened this issue Apr 26, 2021 · 1 comment
Open

Install in centos 7 #446

abdularshad06 opened this issue Apr 26, 2021 · 1 comment

Comments

@abdularshad06
Copy link

abdularshad06 commented Apr 26, 2021

### Hello I am trying Stacer on Centos7 I am facing below issue kindly support.

[root@ldapclient build]# cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/qt/path/bin ..
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.1 or higher is required. You are running version 2.8.12.2

-- Configuring incomplete, errors occurred!
[root@ldapclient build]#

I am trying with different version of cmake :

[root@ldapclient build]# cmake3 --version
cmake3 version 3.17.5

CMake suite maintained and supported by Kitware (kitware.com/cmake).

### Below Error showing kindly support :-

[root@ldapclient build]# cmake3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/qt/path/bin ..
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /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: /bin/c++
-- Check for working CXX compiler: /bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [cxxbasics] CXXBASICS_C_COMPILER_TARGET_ARCH set to "x86_64"
-- [cxxbasics] CXXBASICS_CXX_COMPILER_TARGET_ARCH set to "x86_64"
-- [cxxbasics][✓] CMAKE_C_COMPILER(/bin/cc)'s linker is set to: GNU gold linker
-- [cxxbasics][✓] CMAKE_CXX_COMPILER(/bin/c++)'s linker is set to: GNU gold linker
-- [cxxbasics][✗] Could not set a compiler cache tool for the C compiler
-- [cxxbasics][✗] Could not set a compiler cache tool for the CXX compiler
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5Charts" with
any of the following names:

Qt5ChartsConfig.cmake
qt5charts-config.cmake

Add the installation prefix of "Qt5Charts" to CMAKE_PREFIX_PATH or set
"Qt5Charts_DIR" to a directory containing one of the above files. If
"Qt5Charts" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:16 (find_package)

-- Configuring incomplete, errors occurred!
See also "/root/Downloads/Stacer/build/CMakeFiles/CMakeOutput.log".
[root@ldapclient build]#

I have also try by using :-

cmake3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/opt/Qt5.9.5/5.9.5/gcc_64/bin ..

and

cmake3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/opt/Qt5.9.5/5.9.5/Src/qtbase/bin ..

@SalahAdDin
Copy link

@oguzhaninan Is there any plan to release a new version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants