I want to build a C++ program for face detection using Visual Studio and OpenCV.
I already installed the Visual Studio 2013 Express Edition and the OpenCV 2.4.8 on my Windows 8 computer and linked the libraries of the OpenCV and it's working.
Now I want to know what do I need to compile any program I build on the Raspberry Pi (raspbin), knowing that my Raspberry Pi SD card is working.
I found this tutorial, but I don't want to change the things installed on the SD card.
-
4You want to compile binaries that are run on arm-hf or use MONO to run EXE's? Doing the binary compilation is very difficult on Windows, because you need to set up a cross compile environment, include source files and header from any libraries you are using, etc, into ARM architecture on a x86 compiler.Piotr Kula– Piotr Kula2014年04月07日 16:16:59 +00:00Commented Apr 7, 2014 at 16:16
1 Answer 1
MONO doesn't run a file with third party libraries like opencv .I just udated my c++ file using cross compiling (MinGW) on eclipse to be able to run it on linux and I compile the .cpp file on the pi.
-
Still, it's not that way. Note that
MinGW
will produce Windows Intel binaries. The simples way is to compile from Raspberry Pi, or installing Linux on PC and setting up cross-compiler.enedil– enedil2014年07月29日 13:40:21 +00:00Commented Jul 29, 2014 at 13:40