command to cross compiling opencv on Ubuntu

asked 2015-05-11 09:14:33 -0600

rayren gravatar image

The cross compiler am using is sparc-elf-gcc (3.4.4) on Ubuntu 14.04 LTS , I need a help on how to cross compile Opencv application for LEON3 target. The program I am intending to cross compile is a C code which includes Opencv header files for built-in functions that are included in the program. The program runs successfuly in gcc compiler, I also have tested the cross-compiler's functionality by compiling few C codes. What is the command line to cross-compile opencv application for the specified target? is it possible to do cross compilation using few specific libraries (header files) of Opencv packages by just including in the command line?

edit retag flag offensive close merge delete