且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CMAKE,NMAKE makefiles - '编译器cl未找到'(但VS 12发电机成功)

更新时间:2023-11-09 16:21:28

您的问题来自 cmake邮寄名单


从目标环境运行cmake-gui,就像运行cmake ...

Run cmake-gui FROM the target environment, just like you run cmake...

ie :在cmd提示符下输入cmake-gui,让你的东西在其中设置
。不要只是从快捷方式启动它,除非你使用
Visual Studio *生成器。那些不需要任何特殊的
环境。很多makefile都有。

i.e. : type "cmake-gui" in the cmd prompt that has your stuff set up in it. Don't just launch it from a short-cut unless you're using the "Visual Studio *" generators. Those do not need any special environment. Many of the makefile ones do.