Difficulty using cvDisplayOverlay [closed]

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

Swati gravatar image

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

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?

Thanks

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

Comments

I have included the appropriate header file highgui_c.h

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

won't work without qt

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

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 -0600 )edit

Thanks for your reply, berak and StevenPuttemans

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