CMake Error: Could not create named generator Visual Studio 11

来源:互联网 发布:黑搜对淘宝号有影响吗 编辑:程序博客网 时间:2024/04/30 03:02
报错 


CMake Error: Could not create named generator Visual Studio 11


解决:

因为装的有cygwin cygwin里面包含了cmake,所以在环境变量path里面有cygwin的目录。windows平台的cmake的路径在cygwin的后面。因此将cmake的目录路径移到cygwin前面就解决了

0 0
原创粉丝点击