OpenCV and Gumstix - Help Compiling

View: New views
3 Messages — Rating Filter:   Alert me  

OpenCV and Gumstix - Help Compiling

by Scott Kroll :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Has anyone had any success with OpenCV on a Verdex based Gumstix?  I've managed to compile the libraries, and the test programs that come from it.

However, any program I compile myself gives me a segfault.  I cannot figure out for the life of me what I need to do to cause it to compile correctly.  Even a simple "hello world" app that links to the OpenCV libraries cause the same issue.

Unfortunately the test programs are autotooled and it's impossible for me to figure out exactly what is going on in the Makefile.

Does anyone have any insight on any of this?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenCV and Gumstix - Help Compiling

by njgreenfield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry to bring back an old thread, but I'm looking to also add OpenCV to my buildroot gumstix. I have looked into embedCV but it is looking like I will need the extra functionality of OpenCV.

I opened up the makefile for OpenCV, but it is overwhelming compared to the simple ones I've successfully cross-compiled so far. Could anyone post the makefile they used to successfully add OpenCV to their verdex gumstix?

Thanks.

Scott Kroll wrote:
Has anyone had any success with OpenCV on a Verdex based Gumstix?  I've
managed to compile the libraries, and the test programs that come from it.

However, any program I compile myself gives me a segfault.  I cannot figure
out for the life of me what I need to do to cause it to compile correctly.
Even a simple "hello world" app that links to the OpenCV libraries cause the
same issue.

Unfortunately the test programs are autotooled and it's impossible for me to
figure out exactly what is going on in the Makefile.

Does anyone have any insight on any of this?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenCV and Gumstix - Help Compiling

by njgreenfield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, I was able to compile the opencv libraries for the gumstix. When I check the libraries using "file libcv.so" it states that it is for ARM. I then transferred the files to the gumstix and then added a simple image capture and save program that I compiled for the gumstix, but it fails with a "segmentation fault". Anyone out there have some tips?

Thanks.
njgreenfield wrote:
Sorry to bring back an old thread, but I'm looking to also add OpenCV to my buildroot gumstix. I have looked into embedCV but it is looking like I will need the extra functionality of OpenCV.

I opened up the makefile for OpenCV, but it is overwhelming compared to the simple ones I've successfully cross-compiled so far. Could anyone post the makefile they used to successfully add OpenCV to their verdex gumstix?

Thanks.
LightInTheBox - Buy quality products at wholesale price