简体   繁体   English

C#使用liblas.dll(无法加载DLL)

[英]C# using liblas.dll (unable to load DLL)

I need to read LAS file using C# for my project. 我需要为我的项目使用C#读取LAS文件。

I am using the libLAS library into my project to read a LAS file and I am getting this error: 我在我的项目中使用libLAS库读取LAS文件,但出现此错误:

(Unable to load DLL 'liblas1.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)). (无法加载DLL'liblas1.dll':找不到指定的模块。(HRESULT的异常:0x8007007E)。

Any help? 有什么帮助吗?

You need to add that dll file to a location where it can be found by your program. 您需要将该dll文件添加到程序可以找到的位置。 First thing, find the file. 首先,找到文件。 Next, add it as a reference in visual studio and adjust the properties so that it is copied if newer. 接下来,将其添加为Visual Studio中的参考,并调整属性,以便在更新时进行复制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM