Some functions not available

asked 2015-04-29 16:09:58 -0500

bear35645 gravatar image

I have built OpenCV with QT support with MingW32. There are a couple functions I am trying to use, but they don't seem to be declared. One is putText the other is getTextSize. At the beginning of my source code I have "using namespace cv;"

I am at a loss as to why these functions are not declared with other OpenCV functions are.

edit retag flag offensive close merge delete


please add the code, you're trying to use.

there are indeed some functions only available when using qt support, but 'putText' and 'getTextSize' are none of them, so you're doing something trivial wrong.

berak gravatar imageberak ( 2015-04-29 16:19:26 -0500 )edit

First guess, he is not adding the correct includes next to the namespace declaration ...

StevenPuttemans gravatar imageStevenPuttemans ( 2015-04-30 02:39:58 -0500 )edit