Ask Your Question

AjayOpen's profile - activity

2012-10-18 07:07:01 -0600 commented question Undefined reference error while cross compling opencv with qt4.7

My host pc is x86 i.e pentium4, while, the board on which i want to run opencv has ARM processor, so i need to crosscompile it for ARM. I have already compiled it for x86 and its running fine. By cross-compiling, i mean to compile the libraries for ARM architecture, but this compilation will be done on a machine which has pentium processor. Libraries which are compiled for x86 system don't run on any other architechture, hence the need for cross-compilation.

2012-10-17 11:28:39 -0600 received badge  Editor (source)
2012-10-12 01:52:02 -0600 asked a question Undefined reference error while cross compling opencv with qt4.7

Hello, I am trying to cross compile opencv 2.4.0 for arm with qt4.7 and with ffmpeg option enabled. I have already cross compiled the ffmpeg.0-11 for arm (linux). My host pc is Ubuntu 12.04 Every thing runs fine when i issue the make command in build directory of opencv untill about 98% job is done, but then i get a lot of undefined reference errors like ../../libopencv_highgui.so.2.4.0 undefined reference to QCheckBox::paintevent(QpaintEvent*). after that make step stops I am unable to resolve this error. the strange thing is that CMake is able to point to correct paths of libQtCore.so, libQtGui.so and libQtTest.so which are listed as dependencies for highgui. Please suggest a way out. Thanks a lot