简体   繁体   中英

Cross compiling opencv project for ARM

How do I cross compile my opencv C++ program for ARM?

I have successfully compiled opencv for ARM, But I haven't run

make install

my understanding is that doing this will move the compiled opencv in my system directories. I already have opencv built and installed for my system. Will installing opencv compiled for ARM mess up my native opencv?

When I compile opencv project for my system I specify the opencv Library Path and header directories with -L and -I options. I want to compile the same project for arm, how do i go about doing this.

Doing a simple

make install

installs the OpenCV in the build directory inside a 'install' folder.

Works only for opencv versions above 2.4.x

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM