Cmake error Win 11

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cmake, cpp
Domain
build-system

Research direction

Start with CMakeLists.txt:2 and the configuration output, then inspect how the NMake Makefiles generator is being combined with the ClangCL toolset in the Windows 11/VS22 setup. Re-run the CMake configure step with the project’s intended generator and toolset; done means configuration completes with CMAKE_C_COMPILER and CMAKE_CXX_COMPILER set.

Written by the indexing model from the issue text.

Description

I'm not sure whats wrong i have all of the stuff i need from VS22

Image
Image
Image
Image
Image
Image
Image

  Generator

    NMake Makefiles

  does not support toolset specification, but toolset

    ClangCL

  was specified.


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Dominant language
C++
Stars
40.3k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/BitNet

All issues in microsoft/BitNet

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.