Ask Your Question
0

Can I compile cvBlobslib with OpenCV 2.4.5 and QTCreator?

asked 2013-07-01 05:16:28 -0600

ducalru gravatar image

updated 2013-07-01 05:18:51 -0600

Hello all,

I'm using OpenCV 2.4.5 with the last version of QTCreator (2.7.0) and QT 5.0.2. I've compiled OpenCV from source with some problems but with two tutorials and a little bit of patience,now I can use it and I can make programs with nice GUI.

Nevertheless, I want to reuse some coding that I use with openCV 2.1 and the cvBlobsLib with a little modifications that I made but I can't use it. I've tried to include de compiled lib, but I don't find out the way to make it works. I suppose that I can't mix a library compiled with Visual Studio 2008 and OpenCV compiled with QTCreator with MinGW.

Well, the question is: Has anybody compiled it with this IDE? Do you know some tutorial? I have been googling but I don't find out many answers.

Thank you and regards.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-01 08:05:58 -0600

ducalru gravatar image

updated 2013-07-01 08:07:21 -0600

Well, I have create a project to cvBlobsLib, and when I push build with the .pro file configuration and QTCreator build it, but I can't include it in another project to test it.

When I test it there are some undefined reference to `cvCreateMemStorage' or another function but I include the opencv .h and cvblobslib .h files, and of course I include the libraries that I have compiled before. That's no sense for me. In fact, when I use the IDE I can jump to the header where the function is defined. I appreciate some help. Thanks.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-07-01 05:16:28 -0600

Seen: 862 times

Last updated: Jul 01 '13