OpenCV的静电积累,JPEG,PNG,TIFF不是静态的联系? [英] Opencv Static build, jpeg,png,tiff not static linked?

查看:299
本文介绍了OpenCV的静电积累,JPEG,PNG,TIFF不是静态的联系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立的OpenCV 233作为一个静态库,但是当我在我的应用程序使用它,它叫CV :: imwrite()的TIFF,PNG,jasp库没有联系时,给出了链接错误。这是我应该在我的应用程序链接这些我自己还是我构建它wronge的意图。

I build opencv 233 as a static lib, but when i use it in my application, it gives link errors when calling cv::imwrite() that tiff,png,jasp libs are not linked. Is this the intention that i should link these my self in my app or did i build it wronge.

我想的3party库是静态列入opencv_highgui.lib,而不必自己这些链接在我的应用程序。

I would like that the 3party libs are static included in the opencv_highgui.lib instead of having to link them myself in my apps.

推荐答案

在该解决方案中,如果配置了Visual Studio 2010中,这是第3方库未设置中进行链接。更改链接库依赖为true highgui项目。

In the solution, if configured for visual studio 2010, the 3th party libs are not set to be linked in. Change the Link Library Dependencies to true for the highgui project.

这篇关于OpenCV的静电积累,JPEG,PNG,TIFF不是静态的联系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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