WinRT sample in OpenCV2.4.6

asked 2013-07-16 00:09:03 -0600

Allen Liu gravatar image

updated 2013-07-16 02:07:30 -0600


I've downloaded the opencv2.4.6 and attempt to run the WinRT sample, it's a Metro App and I build it and run it successfully. But when I try to click the button on the APP to add some effects like GrayScale、Canny...etc. the program was crash. Did I miss anything?

My environment is a Win32 solution platforms in Windows 8.

BR, Allen

edit retag flag offensive close merge delete


Go into debug mode, fire up the debugger and report the exact error or line of code where it crashes. Else it is guessing what we must do to get the reason behind failure.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-16 06:57:47 -0600 )edit

Steven, thanks for your reply. OK, I run it step by step, and the program crash at line 553 in AdvancedCapture.xmal.cpp, in other words, it failed at function AddEffectAsync() which to add effect to image(like GrayScale、Canny...etc.) this sample can be downloaded :


Allen Liu gravatar imageAllen Liu ( 2013-07-16 07:54:10 -0600 )edit

I am not an expert in the windowsRT department, but I am sure now people know what goes wrong, they can help you figure it out. Are you sure all the parameters passed to the function actually exist?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-16 08:18:00 -0600 )edit

Can you please share, i failed to compiled the solution ?

Angels200 gravatar imageAngels200 ( 2013-10-09 21:02:34 -0600 )edit