How to set cmake CXX variable on windows

前端 未结 5 829
闹比i
闹比i 2021-01-18 01:35

I am getting the following error

Working on: Microsoft Windows [Versión 6.1.7601]

ErrorS:

CMake Warning at CMakeLists.txt:4 (project):
  To u         


        
5条回答
  •  北荒
    北荒 (楼主)
    2021-01-18 02:07

    As others said you can either run cmake in "Visual Studio Command Prompt" form the path @Miles said or (better way) add the path of visual studio compiler to your path. Check this path:C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin and find it in your computer, then add it in your PATH environment variable.

提交回复
热议问题