Skip to content

Unable to install CppUTest on Windows 11 #1832

@Benedito821

Description

@Benedito821

I'm trying to follow the installation steps presented on the cpputest git repository to get started with cpputest.
The problem is that I get an error when I run $ cmake -B cpputest_build I get

CMake Error: The source directory "D:/cpputest/cpputest_build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

After some research on the web I tried to run cmake .. , and I got

-- Building for: NMake Makefiles
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

CMake Error at CMakeLists.txt:6 (project):
Running

'nmake' '-?'

failed with:

no such file or directory

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

Is there any other step I could be missing? I'm using Git Bash terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions