开发者

Linker error in OpenCV with Visual Studio

开发者 https://www.devze.com 2023-01-26 01:46 出处:网络
I am trying to do some image rectification using OpenCV .I got some code from http://permalink.gmane.org/gmane.comp.lib.opencv/14644 but the problem is the moment I include CvCalibFilter in my code i

I am trying to do some image rectification using OpenCV .I got some code from http://permalink.gmane.org/gmane.comp.lib.opencv/14644 but the problem is the moment I include CvCalibFilter in my code it starts to give me linker error.More precisely this is what it says :-

: error LNK2001: unresolved external symbol "public: virtual __thiscall CvCalibFilter::~CvCalibFilter(void)" (??1CvCalibFilter@@UAE@XZ)

I saw some posts of people having the same problem but could not find a solution anywhere.Can someone help? Thanks!

P.S. I installed OpenCV to work with Visual Studio as m开发者_运维技巧entioned in the tutorial.


In visual studio go to...

Project > 'Your Project Name' Properties... > Configuration Properties > Linker > Input >

Then go to Additional Dependencies and add the appropriate .lib files, these should do the trick: cv200.lib cxcore200.lib highgui200.lib


Is it only CvCalibFilter you have a problem with?

If so, is it in the build of OpenCV you have? Has it been renamed?

Do you have the latest version, did you build it yourself?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号