Error in blob class header file (openCV library)

I am using the blob library from openCV and I have included all the necessary libraries for this. But I get red lines under some function in the Blob.cpp class .. this is:

CV_READ_SEQ_ELEM( edgeactual, reader); CV_WRITE_SEQ_ELEM( edgeactual, writer ); 

I tried to include all possible headers in this class unnecessarily. if someone had previously worked with the opencv blob library, that would be very helpful to me.

+4
source share
1 answer

If you have an error log , it will be very useful, and if you can print screenshots of the inclusions and libraries of your IDE (I think VisualStudio or Eclipse). Such errors usually occur due to

#PATH environment variable includes libraries

I had to deal with these errors many times, and even I thought that everything was correct, it is easy to associate the library with OpenCV with an error.

+3
source

Source: https://habr.com/ru/post/1387319/


All Articles