即使代码编译没有错误

时间:2017-05-04 23:55:23

标签: c++ visual-studio dll visual-studio-2015 linker

我的代码编译正确,但是当我在没有调试的情况下启动时会出现以下错误:

pmdaccess2.dll is missing

我在Linker->general部分提供了此dll的链接,但是我收到此错误。知道为什么会这样,以及如何解决它? 我在Windows 10中使用Visual Studio 2015 64位,而我的PMD相机连接到USB3。 enter image description here enter image description here

1 个答案:

答案 0 :(得分:1)

动态库在运行时链接到。该库需要与可执行文件位于同一目录中,或者位于PATH环境变量中指定的目录中。