[英]LNK1181 cannot open input file. space error?
I am having an compile error while trying to build my Windows Forms Project. 尝试构建Windows Forms Project时出现编译错误。
After import I had to re-reference the "Include Directorys" in the (project)Settings->VC++ Directories 导入后,我不得不在(项目)设置-> VC ++目录中重新引用“包含目录”
These 2 solutions work but Im trying to have one solution instead of 2 ( them toghether. After import I had to re-reference the "Include Directorys" in the (project)Settings->VC++ Directories 这两种解决方案都可以,但是我试图用一种解决方案而不是2种(它们在一起。导入后,我不得不在(项目)设置-> VC ++目录中重新引用“包含目录”
And now I am getting this error: 现在我收到此错误:
Error: LNK1181 cannot open input file 错误:LNK1181无法打开输入文件
"C:\\SDK\\Bin\\x64 Release\\\\VS2017-PC.lib" “ C:\\ SDK \\ Bin \\ x64 Release \\\\ VS2017-PC.lib”
There are 3 problems with this link: 此链接存在3个问题:
It contains a double backslach 它包含一个双重后座
It has a folder that is missing (C:\\PC) 它有一个缺少的文件夹(C:\\ PC)
There is the name "Release" instead of debug 有一个名称“ Release”而不是debug
The path should look like this: 路径应如下所示:
'C:\\PC\\SDK\\bin\\x64 debug\\VS2017-PC.lib' 'C:\\ PC \\ SDK \\ bin \\ x64 debug \\ VS2017-PC.lib'
I think it is because my folder "x64 debug" contains a space and is creating this error. 我认为这是因为我的文件夹“ x64 debug”包含一个空格,并且正在创建此错误。 But I dont know how to rename and refresh the paths correctly inside the solution and I dont even know if that would really fix this error.
但是我不知道如何在解决方案中正确重命名和刷新路径,甚至不知道是否真的可以解决此错误。
The solution was to create the missing folder. 解决方案是创建丢失的文件夹。 For some reason Visual studio didnt create "x64 debug" in the right directory.
由于某些原因,Visual Studio不在正确的目录中创建“ x64调试”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.