Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

cant cmake, got no environment or smthn idk what im doing #44843

Closed
LOLZSICKA opened this issue Jul 4, 2023 · 1 comment
Closed

cant cmake, got no environment or smthn idk what im doing #44843

LOLZSICKA opened this issue Jul 4, 2023 · 1 comment

Comments

@LOLZSICKA
Copy link

everything from command run to end of command.

[lolzsicka@abyssal build]$ cmake ..
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_CXX_COMPILER could be found.

  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!

same thing but with debug output

[lolzsicka@abyssal build]$ cmake --debug-output ..
Running with debug output on.
-- The C compiler identification is unknown
   Called from: [3]	/usr/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake
                [2]	/usr/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake
                [1]	/home/lolzsicka/ShapeCorners/CMakeLists.txt
-- The CXX compiler identification is unknown
   Called from: [3]	/usr/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake
                [2]	/usr/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake
                [1]	/home/lolzsicka/ShapeCorners/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake:220 (find_program):
  Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of
  the same name.  Run "cmake --help-policy CMP0126" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, normal variable "CMAKE_AR"
  will be removed from the current scope.
Call Stack (most recent call first):
  /usr/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake:202 (include)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3]	/usr/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake
                [2]	/usr/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake
                [1]	/home/lolzsicka/ShapeCorners/CMakeLists.txt
CMake Warning (dev) at /usr/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake:220 (find_program):
  Policy CMP0126 is not set: set(CACHE) does not remove a normal variable of
  the same name.  Run "cmake --help-policy CMP0126" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, normal variable
  "CMAKE_LINKER" will be removed from the current scope.
Call Stack (most recent call first):
  /usr/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake:202 (include)
  CMakeLists.txt:5 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [3]	/usr/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake
                [2]	/usr/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake
                [1]	/home/lolzsicka/ShapeCorners/CMakeLists.txt
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


   Called from: [1]	/home/lolzsicka/ShapeCorners/CMakeLists.txt
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_CXX_COMPILER could be found.

  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.


   Called from: [1]	/home/lolzsicka/ShapeCorners/CMakeLists.txt
-- Configuring incomplete, errors occurred!

im trying to get rounded corners on kwin, thats what im trying to do

@Duncaen
Copy link
Member

Duncaen commented Jul 4, 2023

Do you have a compiler installed?

@void-linux void-linux locked and limited conversation to collaborators Jul 4, 2023
@the-maldridge the-maldridge converted this issue into discussion #44847 Jul 4, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants