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

CMake Error at CMakeLists.txt:2 #533

Open
michael2048 opened this issue Dec 11, 2024 · 2 comments
Open

CMake Error at CMakeLists.txt:2 #533

michael2048 opened this issue Dec 11, 2024 · 2 comments

Comments

@michael2048
Copy link

michael2048 commented Dec 11, 2024

CMake Error at CMakeLists.txt:2 (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!

Cmake Latest Release 3.31.2

@bygreencn
Copy link

Not install Visual Studio.

@greenozon
Copy link
Contributor

greenozon commented Dec 19, 2024

I can't reproduce your issue @michael2048

here is my try:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

c:\Dev\python\mine\pycdc-3.13my\pycdc>cmake .
-- Selecting Windows SDK version 10.0.20348.0 to target Windows 6.1.7601.
-- The C compiler identification is MSVC 19.29.30157.0
-- The CXX compiler identification is MSVC 19.29.30157.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Dev/VS2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Dev/VS2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (5.0s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Dev/python/mine/pycdc-3.13my/pycdc

c:\Dev\python\mine\pycdc-3.13my\pycdc>cmake --version
cmake version 3.31.2

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

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

3 participants