如何安装 Emgu CV 包装器?
我发现了一个类似的问题,但答案对我没有帮助! 所以我正在尝试安装 Emgu CV 包装器。我正在按照网站上提供的步骤进行操作。 不幸的是,我无法构建示例......它让我构建失败...... 也许我错过了一些东西。我使用的是 Visual Studio 2088 和 Windows XP。
I found a simillar question but the answer didn´t help me!
SO I´m trying to install Emgu CV wrapper. I´m following the steps presentes on the website.
Unfortunatelly I´m not able to build the examples...It gives me build failed...
Maybe I´m missing something . I´m using visual studio 2088 and windows xp.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最有可能的问题是您没有再次引用 EMGU.CV、Emgu.CV.UI 和 EMGU.Util 文件。当您打开项目时,请查看“解决方案资源管理器”面板。展开文件夹参考。您应该有 EMGU.CV、Emgu.CV.UI 和 EMGU.Util 的三个参考,这些参考旁边可能有黄色错误符号。关键是你必须删除引用。如果有比这三个更多的名称,请记下名称。
然后右键单击“引用”文件夹并选择“添加引用”,您将必须等待 Windows 根据您的计算机构建引用。在“添加引用”窗口顶部的选项卡中,选择“浏览”。
找到安装 EMGU 的文件夹(为了方便起见,我将该文件夹保留在 Visual Studio 2008 文件夹中,因为您必须为您制作的每个项目执行此操作),在“bin”文件夹中找到引用 EMGU.CV.dll、Emgu.CV .UI.dll 和 EMGU.Util.dll 并添加它们
[编辑] 我写了一篇文章来帮助其他人安装 EMGU,如果您需要帮助,请查看:
http://www.codeproject.com/KB/cs/EMGU_Image_Processing.aspx
Most likely the problem is you haven't reference the EMGU.CV, Emgu.CV.UI and EMGU.Util files again. When you open the project look in the 'Solution Explorer' panel. Expand the folder References. You should have three references for EMGU.CV, Emgu.CV.UI and EMGU.Util these may have yellow error symbols next to them. The key is you must delete the references. Making note of there names if there are more then these three.
Then Right click on the References folder and select "Add Reference" you will have to wait for windows to build the references up depending on your machine. In the tabs at the top of the Add References window select Browse.
Locate the folder where you installed EMGU (I keep the folder in my Visual Studio 2008 folder for ease since you have to do this for every project you make) in the 'bin' folder locate the references EMGU.CV.dll, Emgu.CV.UI.dll and EMGU.Util.dll and add them
[EDIT] I have written an article to help others install EMGU please take a look if you need help:
http://www.codeproject.com/KB/cs/EMGU_Image_Processing.aspx
您添加了这些参考吗?如果您不遵循克里斯的添加它。
如果您遇到问题“'Emgu.CV.CvInvoke'抛出异常。”
http://www.emgu.com/wiki/index.php/Download_And_Installation
看1.4节
Did you add reference for those?? If you don't follow Chris's by adding it.
If you are meeting the problem "'Emgu.CV.CvInvoke' threw an exception."
http://www.emgu.com/wiki/index.php/Download_And_Installation
look at section 1.4