Skip navigation.
Home
The QNX Community Portal

View topic - Execution problem with OpenCV library on OMAP3530

Execution problem with OpenCV library on OMAP3530

For discussion of realtime and/or embedded programming.

Execution problem with OpenCV library on OMAP3530

Postby Ericxx » Mon Dec 17, 2012 1:45 pm

Hello all,

I am debugging an opencv application on the OMAP3530 processor with QNX 6.5.0. I have managed to build the OpenCV 2.3 library and compiled the program. When i tried to debug the application in the QNX Momentics IDE, a SIGBUS error happened which was shown in the screen shot i have attached. I guess there was some inherent link errors in the OpenCV library I built? How should I check where the error happened? Would like to seek your suggestions. Thank you.


Eric
Attachments
debugWithLib.png
(36.93 KiB) Not downloaded yet
Ericxx
Senior Member
 
Posts: 158
Joined: Mon Jun 09, 2008 1:38 pm

Re: Execution problem with OpenCV library on OMAP3530

Postby mario » Mon Dec 17, 2012 5:32 pm

SIGBUS usually means it's trying to access physical memory but I cannot, because of some hardware related issue, like the memory doesn't exists. Sorry don't have any other suggestion ;-!
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Re: Execution problem with OpenCV library on OMAP3530

Postby Ericxx » Tue Dec 18, 2012 2:07 pm

Finally solved the problem. It was a build problem. After specifying the -Ygpp option in the library link option and rebuilt, the program can be executed correctly with the OpenCV library.

Regards,
Eric
Ericxx
Senior Member
 
Posts: 158
Joined: Mon Jun 09, 2008 1:38 pm


Return to Realtime and Embedded

Who is online

Users browsing this forum: No registered users and 10 guests