I'm stuck in cross-compilation my RPi with OpenCV, my project just one file main.cpp and build success in my computer by this tut. I want to run it in RPi. I read this tut but can't understand much, and have some questions:

- Is this tut true for all ARM architecture include RPi?
- Why we have to make folder build_hardfp?
- In this line : cmake -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake ../../..
    I dont understand "../arm-gnueabi.toolchain.cmake ../../.. " could you explain them?
  • Before you get stuck in the cross-compiling mindset, is there some reason you can't compile on the Pi directly? – Fred Mar 18 '14 at 11:52
  • Because it took so much time. – Nhan Ly Mar 18 '14 at 13:22
  • It may still be faster than trying to cross-compile. – Fred Mar 18 '14 at 13:38

Your Answer

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

Browse other questions tagged or ask your own question.