Visual Studio 2010:丢失了DLL [英] Visual Studio 2010: dll missing

查看:449
本文介绍了Visual Studio 2010:丢失了DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



嗯,这是我的问题:我写了我的vs项目,我已经指定所有的include(通过选择项目属性 - >配置属性 - > VC ++目录)和所有extern库目录(以同样的方式)。
然后,我通过选择项目属性 - >链接器 - >输入 - >附加依赖关系并添加所有.lib文件路径来指定所有其他库。
我按F7,它编译没有错误。
我运行的项目和..系统错误:libsndfile-1.dll丢失。没问题,所以我打开了vs控制台,我转到libsndfile-1.def(和libsndfile-1.lib)路径,我执行:lib.exe libsndfile.def。这里我有另一个错误:LINK:致命错误lnk1104 lib.exe,不可能打开libsndfile.lib



我尝试从网络下载libsndfile.dll,但仍然不工作我也试图将我的源文件中的所有图书馆放在视觉工作室..但是再也没有办法。



我在哪里错了?



提前谢谢你



编辑:我看过vs没有找到其他的dll!

解决方案

我解决了将所有的dll文件放在.exe文件的同一目录下。


I googled for a whole day and I'm goin' mad..

Well, that's my problem: I've written my vs project, I've specified all the "include" (by selecting project properties -> configuration properties -> VC++ directories) and all the extern libraries directories (in the same way). Then I specified all the additional libraries by selecting project properties -> Linker -> input -> Additional Dependencies and adding all the .lib files paths. I press F7, it compiles with no errors. I run the project and.. System Error: libsndfile-1.dll is missing.

That's okay, so I opened the vs console, I moved to libsndfile-1.def (and libsndfile-1.lib) path and I executed: "lib.exe libsndfile.def". Here I got another error: "LINK: fatal error lnk1104 lib.exe, impossible to open libsndfile.lib"

I tried to download libsndfile.dll from web but it still don't works. I've also tried to put all the libraries in my source files in visual studio.. but again, no way.

Where am I wrong?

Thank you in advance

EDIT: I've seen that vs doesn't find the other dll also!

解决方案

I solved simply placing all the dll files in the same directory of the .exe file

这篇关于Visual Studio 2010:丢失了DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆