我正在用C#中的OpenCV构建一个项目.它需要一个名为cvextern.dll
的dll文件.但是,当添加此文件作为参考时,会出现以下消息:-
a reference "cvextern.dll" can't be added, Please make sure that the file is accessible and that it is a valid assembly or COM component.个
我对搜索感到厌倦,我花了两天的时间寻找解决这个问题的方法
我正在用C#中的OpenCV构建一个项目.它需要一个名为cvextern.dll
的dll文件.但是,当添加此文件作为参考时,会出现以下消息:-
a reference "cvextern.dll" can't be added, Please make sure that the file is accessible and that it is a valid assembly or COM component.个
我对搜索感到厌倦,我花了两天的时间寻找解决这个问题的方法
该文件是本机DLL,这意味着您无法将其添加到.NET项目通过添加引用...您可以通过DllImport使用它(参见http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.dllimportattribute.aspx)