hi all,
i need to cross compile opencv for ARM 9 processor. I have the tool chain for the processor but don't know how to cross compile. Can some on please tell me the procedure of cross compiling it for the arm board.
Thank you all in advance
hi all,
i need to cross compile opencv for ARM 9 processor. I have the tool chain for the processor but don't know how to cross compile. Can some on please tell me the procedure of cross compiling it for the arm board.
Thank you all in advance
Look at this reference for a explanation of cross compiling. If the source to be compiled supports the GNU build system it should be as easy as typing ./configure --host=arm-none-linux-gnueabi
instead of ./configure
, but all types of problems can occur (e.g. that the build system tries to run compiled code during the build process which is not possible since you are building ARM code on a X86 (I assume) machine).
That said I looked at the recipe for opencv in OpenEmbedded and it has an impressive number of dependencies (stuff you need to build first); e.g. python, swig, glib (1). So I would say that you have some work ahead of you;)
(1) : These dependencies are those given by OpenEmbedded and you might be able to get away with fewer than those specified.