Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 10上的linphone桌面编译错误_Windows_Visual Studio_Cmd_Cmake_Linphone - Fatal编程技术网

Windows 10上的linphone桌面编译错误

Windows 10上的linphone桌面编译错误,windows,visual-studio,cmd,cmake,linphone,Windows,Visual Studio,Cmd,Cmake,Linphone,我正在尝试在Windows 10上构建linphone桌面 但当我使用Visual Studio 2015构建项目时,我在构建EP_vpx时遇到以下错误: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 258. 你知道怎么解决这个问题吗?我在问题和堆栈溢出中找不到任何有用的东

我正在尝试在Windows 10上构建linphone桌面

但当我使用Visual Studio 2015构建项目时,我在构建EP_vpx时遇到以下错误:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 258.
你知道怎么解决这个问题吗?我在问题和堆栈溢出中找不到任何有用的东西。
谢谢。

最后,我通过以下方式解决了问题:

准确地使用Qt5.9.8

在系统环境变量中定义这些变量:

Qt5_DIR="C:\Qt\Qt5.9.8\5.9.8\msvc2015\lib\cmake"

PATH:"C:\Qt\Qt5.9.8\5.9.8\msvc2015\bin"

PATH:"C:\Qt\Qt5.9.8\5.9.8\mingw53_32\bin"

PATH:"C:\Qt\Qt5.9.8\Tools\mingw530_32\bin"
在python命令中传递DCMAKE_SYSTEM_版本:

python prepare.py -G "Visual Studio 14 2015" -DENABLE_DOC=OFF -DCMAKE_SYSTEM_VERSION=8.1
对于那些不知道的人,您也应该在Windows上安装Windows 8.1 SDK