How to use cvBlob in Borland C++ Builder

47 views
Skip to first unread message

Tien

unread,
Apr 25, 2012, 10:29:34 PM4/25/12
to cvBlob
Dear all;

Can cvBlob run in BCB (6.0) ?
I download the cvBlob source, and add in the my project. They can be
built, but when using

CvBlob blob;
unsigned int result = cvb::cvLabel(dst, labelImg, blob);

There are error messages as below:

1. [C++ Warning] Main.cpp(4206): W8030 Temporary used for parameter
'blobs' in call to 'cvLabel(const _IplImage *,_IplImage *,CvBlobs &)'
2. [C++ Error] Main.cpp(4206): E2064 Cannot initialize 'CvBlobs &'
with 'CvBlob'
3. [C++ Error] Main.cpp(4206): E2342 Type mismatch in parameter
'blobs' (wanted 'CvBlobs &', got 'CvBlob')

Please help

Tien

unread,
Apr 25, 2012, 11:21:24 PM4/25/12
to cvBlob
I found the error. thanks.
Reply all
Reply to author
Forward
0 new messages