Difficulty using cvDisplayOverlay [closed]

asked 2014-01-30 08:13:49 -0500

Swati gravatar image

updated 2014-01-30 08:25:11 -0500

berak gravatar image

My code works perfectly fine. But just when I add the below line:

cvDisplayOverlay("Camera", "Hey", 4000);

I get this error: unresolved external symbol extern C void __cdecl

I am unable to understand how can I remove the error?


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by StevenPuttemans
close date 2014-01-31 01:54:32.141201


I have included the appropriate header file highgui_c.h

Swati gravatar imageSwati ( 2014-01-30 08:15:02 -0500 )edit

won't work without qt

berak gravatar imageberak ( 2014-01-30 08:23:52 -0500 )edit

so in more detail to berak his remark, you need to get the sourcecode of opencv, rebuilt it completely with Qt support and then your function will work perfectly.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-01-30 08:43:50 -0500 )edit

Thanks for your reply, berak and StevenPuttemans

Swati gravatar imageSwati ( 2014-01-30 23:05:10 -0500 )edit