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.

techraf
4,35310 gold badges33 silver badges43 bronze badges
asked Apr 7, 2014 at 16:01
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. Commented Apr 7, 2014 at 16:16

1 Answer 1

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.

answered Apr 23, 2014 at 23:15
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. Commented Jul 29, 2014 at 13:40

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.