Skip to content

issue with c++ compiler #4

@KingWolfRaudi

Description

@KingWolfRaudi

I am encountering persistent issues with CMake failing to detect my C++ compiler (g++). Despite verifying that g++ is installed and accessible in my system's PATH, and even attempting to manually specify the compiler's path within the CMake configuration, the problem persists. The error messages I receive consistently indicate that CMake cannot locate the necessary C++ compiler modules.

Specifically, I am seeing errors such as:

  • "CMake Error: Could not find cmake module file: CMakeDetermineC++Compiler.cmake"

  • "CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. Missing variable is: CMAKE_C++_COMPILER_ENV_VAR"

  • "CMake Error 1 at CMakeLists.txt:3 (project): No CMAKE_C++_COMPILER could be found."

I have already tried the following troubleshooting steps:

Verifying g++ installation and PATH.
Manually specifying the CMAKE_C++_COMPILER variable.
Clearing the CMake cache.
Reinstalling the build-essential package and g++.
Trying to use Makefiles instead of Ninja.
Checking dependancies from CMake.

Really i dont know what to do :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions