4

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.

1
  • 4
    You 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
    Apr 7 '14 at 16:16
2

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.

1
  • 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
    Jul 29 '14 at 13:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.