Ask Your Question

ducalru's profile - activity

2013-07-01 08:05:58 -0500 commented question Can I compile cvBlobslib with OpenCV 2.4.5 and QTCreator?

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.

2013-07-01 05:31:51 -0500 received badge  Critic (source)
2013-07-01 05:18:51 -0500 received badge  Organizer (source)
2013-07-01 05:16:28 -0500 asked a question Can I compile cvBlobslib with OpenCV 2.4.5 and QTCreator?

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.

2013-06-27 04:52:59 -0500 commented answer link opencv 2.4.2 with QT

Well, I have a lot of problems trying to use OpenCV 2.4.5 with QT 5.0.2 with Windos 7, and I solved it building opencv from source. The links are the tutorial from Lagarniere mentioned above and this other tutorial.

http://stackoverflow.com/questions/14919186/qt-creator-5-0-1-with-opencv-2-3-4-on-windows/15268560#15268560

I answer it because I can't use openCV2.4.5 simply adding the openCV include and lib dirs, there are some weird problem with the dependencies and the version of MinGW. And I only had the PATH variable of my building libraries.

When I was trying to fix it, I haven't found out some answer like this so I write this answer if someone is having the same problems.

Regards.