open.mp forum
CMAKE_CXX_COMPILER (open-mp.sdk) - Printable Version

+- open.mp forum (https://forum.open.mp)
+-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
+--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
+--- Thread: CMAKE_CXX_COMPILER (open-mp.sdk) (/showthread.php?tid=2654)



CMAKE_CXX_COMPILER (open-mp.sdk) - Volkov - 2024-03-30

CMAKE_CXX_COMPILER (open-mp.sdk)

About problem

Hi.

I'm following the steps outlined here https://github.com/openmultiplayer/open.mp-sdk.
But I am getting "CMAKE_CXX_COMPILER" error in CMake-gui, VS 2022, VS 2019

I would appreciate any help you can give me.


Installs:
  • Win 10
  • Visual Studio 2019 (ClangCL, CMake for Linux, CMake for Windows, C++ desktop, Win 10 SDK)
  • Conan 1.57
  • CMake


Error:

Code:
\open.mp-sdk\build> cmake .. -A Win32 -T ClangCL -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045. -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:2 (project):   No CMAKE_CXX_COMPILER could be found.

 
CMakeConfigureLog.yaml (part):

Code:
--- events:   -     kind: "message-v1"     backtrace:       - "C:/Program Files/CMake/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:205 (message)"       - "CMakeLists.txt:2 (project)"     message: |       The system is: Windows - 10.0.19045 - AMD64   -     kind: "message-v1"     backtrace:       - "C:/Program Files/CMake/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)"       - "C:/Program Files/CMake/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"       - "C:/Program Files/CMake/share/cmake-3.29/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"       - "CMakeLists.txt:2 (project)"     message: |       Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.       Compiler:

Screenshots (maybe userful)
[Image: Zz7BOLU.png]


RE: CMAKE_CXX_COMPILER (open-mp.sdk) - Volkov - 2024-03-31

Problem solved by reinstalling the whole...