CMake error at CMakeLists.txt:30 (project): No CMAKE_C_COMPILER could be found

后端 未结 19 2423
抹茶落季
抹茶落季 2020-11-22 12:57

I\'m trying make a Visual Studio solution with CMake to compile the latest version of aseprite and CMake keeps giving me the:

No CMAKE_C_COMPILER could be fo         


        
19条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-22 13:48

    I also experienced this error when working with CMake:

    No CMAKE_C_COMPILER could be found.
    No CMAKE_CXX_COMPILER could be found.
    

    The 'warning' box in the MSDN library article Visual C++ in Visual Studio 2015 gave me the help that I needed.

    Visual Studio 2015 doesn't come with C++ installed by default. So, creating a new C++ project will prompt you to download the necessary C++ components.

提交回复
热议问题