Ask Your Question
1

Opencv for Windows 8 Tablet

asked 2013-03-21 09:40:40 -0600

UserOpenCV gravatar image

updated 2020-10-05 06:47:59 -0600

I need to develop an application for Windows 8 tablet where I am in a need to use opencv. Is it possible to use opencv for windows 8 tablet environment. And can I get some useful links on it?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
7

answered 2013-03-21 10:55:34 -0600

updated 2013-03-26 08:36:08 -0600

OpenCV development team is working on port for Windows RT. Here is current development branch for WinRT. You can build it for ARM using Visual Studio Express for Windows 8 and Platform SDK (ARM versions of run time libraries are needed).

  1. Open Visual Studio development console.
  2. Setup environment for cross compilation by command "C:\Program Files\Microsoft Visual Studio 11.0\VC\bin\x86_arm\vcvarsx86_arm.bat"
  3. cd <opencv_source_dir>/platforms/winrt/
  4. run scripts/cmake_winrt.cmd
  5. run ninja

Alternatively you can use nmake instead ninja. You need to edit cmake_winrt.cmd and change project generator fro -GNinja to -G "NMake Makefiles". Only algorithmic part of the library is supported now, no tbb, no UI, no video IO.

edit flag offensive delete link more

Comments

Hi, I'm new to building stuff from source, I'm getting error while linking it. http://pastebin.com/XWrJ0ADS the link contains the error details..
Actually I did this using "vcvars32.bat", but when I did it using "vcvarsx86_arm.bat" it gave me http://pastebin.com/m3RBvX4p.

It would be really nice if you can help through this.

jaydeep17 gravatar imagejaydeep17 ( 2013-03-23 22:24:00 -0600 )edit

It look like arm versions of run time libraries are missing on your computer. You need to install the latest platforf SDK.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-03-25 13:46:09 -0600 )edit

I have the latest platform SDK v8.0a installed.

jaydeep17 gravatar imagejaydeep17 ( 2013-03-25 18:07:04 -0600 )edit

I update branch on github. Try it again. Also, I Use CMake 2.8.10.2. Try to update it.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-03-26 08:45:51 -0600 )edit

I'm using CMake 2.8.10.2, I downloaded the updated zip, but still getting linking error in opencv_highgui244d.dll.

jaydeep17 gravatar imagejaydeep17 ( 2013-03-26 17:51:34 -0600 )edit

Hi~ the build is not generated correctly. In inclue Folder, opencv, opencv2 Folder not maked So error occurs. 'opencv2/core/core_c.h': No such file or directory d:\opencv\opencv-winrt\include\opencv\cv.h

It would be really nice if you can help through this.

gang gravatar imagegang ( 2013-03-27 00:15:00 -0600 )edit

What branch do you try to build? The right one is winrt.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-03-27 00:33:28 -0600 )edit

bulid completed winrt. but windows runtion component Project error import dlls & libs

gang gravatar imagegang ( 2013-03-27 00:43:36 -0600 )edit

after build, do we have to install it or something ? because the include folder doesn't contains the header files.

jaydeep17 gravatar imagejaydeep17 ( 2013-03-27 13:53:46 -0600 )edit

It is development branch. It is experimental and some features may not work. Installation can work incorrectly, I try to fix this issue in day or two. You need to do it manually.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-03-27 14:00:56 -0600 )edit
0

answered 2014-01-18 12:39:09 -0600

Ettore gravatar image

Hi! Sorry for the trivial question but I'm having real problem with the build. Where should I run the scripts (scripts/cmake_winrt.cmd)? From <opencv_source_dir>/platforms/winrt/ (so >..\scripts/cmake_winrt.cmd) or in a new console?

In the first case I have to edit cmake_winrt.cmd changing the last line from cmake.exe ... -DCMAKE_TOOLCHAIN_FILE=..\winrt\arm.winrt.toolchain.cmake ..\ ..

to

cmake.exe ... -DCMAKE_TOOLCHAIN_FILE=..\winrt\arm.winrt.toolchain.cmake ..\ ..\ ..

otherway it can't find CMakeLists.txt But after I have maked this I got a lot of "Missing variable" from CMake

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-21 09:40:40 -0600

Seen: 4,586 times

Last updated: Jan 18 '14