Ask Your Question
0

Windows RT Demo not Working

asked 2013-09-19 17:57:03 -0600

updated 2013-09-22 02:34:42 -0600

berak gravatar image

Hi, I tried to run Windows RT Demo with the OCV 2.4.6 on Win8.1. The project is builded and the preview works. But when i click the apply button it crash with the following call stack:

msvcr110d.dll!Concurrency::details::_ReportUnobservedException() Line 2455 C++

MediaCapture.exe!Concurrency::details::_ExceptionHolder::~_ExceptionHolder() Line 882 C++ MediaCapture.exe!Concurrency::details::_ExceptionHolder::scalar deleting destructor'(unsigned int) C++ MediaCapture.exe!std::_Ref_count_obj<Concurrency::details::_ExceptionHolder>::_Destroy() Line 885 C++ MediaCapture.exe!std::_Ref_count_base::_Decref() Line 120 C++ MediaCapture.exe!std::_Ptr_base<Concurrency::details::_ExceptionHolder>::_Decref() Line 347 C++ MediaCapture.exe!std::shared_ptr<Concurrency::details::_ExceptionHolder>::~shared_ptr<Concurrency::details::_ExceptionHolder>() Line 624 C++ MediaCapture.exe!Concurrency::details::_Task_impl_base::~_Task_impl_base() Line 1294 C++ MediaCapture.exe!Concurrency::details::_Task_impl<unsigned char>::~_Task_impl<unsigned char>() Line 1972 C++ MediaCapture.exe!Concurrency::details::_Task_impl<unsigned char>::scalar deleting destructor'(unsigned int) C++ MediaCapture.exe!std::_Ref_count_obj<concurrency::details::_task_impl<unsigned char=""> >::_Destroy() Line 884 C++ MediaCapture.exe!std::_Ref_count_base::_Decref() Line 120 C++ MediaCapture.exe!std::_Ptr_base<concurrency::details::_task_impl<unsigned char=""> >::_Decref() Line 347 C++ MediaCapture.exe!std::shared_ptr<concurrency::details::_task_impl<unsigned char=""> ::~shared_ptr<concurrency::details::_task_impl<unsigned char=""> >() Line 624 C++ MediaCapture.exe!Concurrency::task<unsigned char="">::~task<unsigned char="">() C++ MediaCapture.exe!Concurrency::task<void>::~task<void>() C++ MediaCapture.exe!SDKSample::MediaCapture::AdvancedCapture::Button_Click(Platform::Object ^ sender, Windows::UI::Xaml::RoutedEventArgs ^ e) Line 606 C++ MediaCapture.exe!Windows::UI::Xaml::RoutedEventHandler::RoutedEventHandler<SDKSample::MediaCapture::AdvancedCapture,void (__cdecl SDKSample::MediaCapture::AdvancedCapture::*)(Platform::Object ^,Windows::UI::Xaml::RoutedEventArgs ^)>'::3'::__abi_PointerToMemberWeakRefCapture::Invoke(Platform::Object ^ __param0, Windows::UI::Xaml::RoutedEventArgs ^ __param1) C++ MediaCapture.exe!Windows::UI::Xaml::RoutedEventHandler::Invoke(Platform::Object ^ __param0, Windows::UI::Xaml::RoutedEventArgs ^ __param1) C++ MediaCapture.exe!Windows::UI::Xaml::RoutedEventHandler::[Windows::UI::Xaml::RoutedEventHandler::__abi_IDelegate]::__abi_Windows_UI_Xaml_RoutedEventHandler___abi_IDelegate____abi_Invoke(Platform::Object ^ __param0, Windows::UI::Xaml::RoutedEventArgs ^ __param1) C++

Any ideas ? Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-22 01:47:10 -0600

My problem(OpenCV 2.4.6 on WindowsRT) is similar to your problem. http://answers.opencv.org/question/20592/winrt-sample-crashed-in-opencv-246/

This problem was solved by adding a "tbb.dll" to MediaCapture project.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-19 17:57:03 -0600

Seen: 432 times

Last updated: Sep 22 '13