Open codetown opened 5 months ago
$ cmake --build ./ --config Release 适用于 .NET Framework MSBuild 版本 17.10.4+10fbfbf2e
Generating build details from Git -- Found Git: D:/develop/Git/mingw64/bin/git.exe (found version "2.43.0.windows.1") build_info.vcxproj -> D:\aipro\PowerInfer\common\build_info.dir\Release\build_info.lib D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: “CL.exe”的命令行开关无效。System.ArgumentException: 已添加项。字典中的关键字:“PSModulePath”所添 加的关键字:“PSMODULEPATH” [D :\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 System.Diagnostics.ProcessStartInfo.get_EnvironmentVariables() [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.Utilities.ToolTask.GetProcessStartInfo(String pathToTool, String commandLineCommands, String responseFileSwitch) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.CPPTasks.TrackedVCToolTask.TrackerExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.CPPTasks.CL.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.Utilities.ToolTask.Execute() [D:\aipro\PowerInfer\ggml.vcxproj]
$ cmake --build ./ --config Release 适用于 .NET Framework MSBuild 版本 17.10.4+10fbfbf2e
Generating build details from Git -- Found Git: D:/develop/Git/mingw64/bin/git.exe (found version "2.43.0.windows.1") build_info.vcxproj -> D:\aipro\PowerInfer\common\build_info.dir\Release\build_info.lib D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: “CL.exe”的命令行开关无效。System.ArgumentException: 已添加项。字典中的关键字:“PSModulePath”所添 加的关键字:“PSMODULEPATH” [D :\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 System.Diagnostics.ProcessStartInfo.get_EnvironmentVariables() [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.Utilities.ToolTask.GetProcessStartInfo(String pathToTool, String commandLineCommands, String responseFileSwitch) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.CPPTasks.TrackedVCToolTask.TrackerExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.CPPTasks.CL.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [D:\aipro\PowerInfer\ggml.vcxproj] D:\Software\VS2022\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(755,5): error MSB6001: 在 Microsoft.Build.Utilities.ToolTask.Execute() [D:\aipro\PowerInfer\ggml.vcxproj]