First time here? Check out the FAQ!

Ask Your Question
0

Can I compile cvBlobslib with OpenCV 2.4.5 and QTCreator?

asked Jul 1 '13

ducalru gravatar image

updated Jul 1 '13

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.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Jul 1 '13

ducalru gravatar image

updated Jul 1 '13

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.

Preview: (hide)

Question Tools

Stats

Asked: Jul 1 '13

Seen: 872 times

Last updated: Jul 01 '13