Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows下cmake编译失败 #199

Open
codetown opened this issue Jun 19, 2024 · 0 comments
Open

windows下cmake编译失败 #199

codetown opened this issue Jun 19, 2024 · 0 comments

Comments

@codetown
Copy link

codetown commented Jun 19, 2024

$ 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]

@codetown codetown changed the title windows下 windows下cmake编译失败 Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant