2008-10-02 20:20:29     Open CV compilation problem

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-10-02 20:20:29     Open CV compilation problem

ashwin b (INDIA)

Message: 63052   

 

I am trying to compile OpenCV 1.0.0 for  uClinux R06.

 

The configuration command I am using:

 

./configure --build=i686-pc-linux-gnu --host=bfin-uclinux LDFLAGS="-L/home/....../practice/uclinux/uClinux-dist/lib/ --without-gtk

 

However, the log after configure shows that it hasn't been able to find packages like libjpeg (present in the above directory specicfied during ./configure)

 

Also upon executing make, I get errors of failed dependencies of functions apparently defined in math.h. Thus it seems like files like math.h also arent being included.

QuoteReplyEditDelete

 

 

2008-10-02 20:31:09     Re: Open CV compilation problem

Mike Frysinger (UNITED STATES)

Message: 63056   

 

the latest release is 2008R1.5.  it supports staging libraries as documented here:

http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:existing_libraries#using_libs_in_external_applications

 

otherwise you need to handle all of the library/includes yourself

QuoteReplyEditDelete

 

 

2008-10-08 17:16:59     Re: Open CV compilation problem

ashwin b (INDIA)

Message: 63289   

 

Thanks a lot.

 

One more question: Is the uClinux kernel supposed to be compiled in order to execute the

 

make vendor_staging_install    

 

 

 

QuoteReplyEditDelete

 

 

2008-10-08 17:35:35     Re: Open CV compilation problem

Mike Frysinger (UNITED STATES)

Message: 63291   

 

the Linux kernel does not matter to staging libraries

 

the staging_install target will only install the libraries you've already built in uclinux-dist

QuoteReplyEditDelete

 

 

2008-10-09 10:34:21     Re: Open CV compilation problem

ashwin b (INDIA)

Message: 63337   

 

Thanks.

 

What is the exact procedure to build individual libraries in the uClinux dist?

QuoteReplyEditDelete

 

 

2008-10-09 10:35:12     Re: Open CV compilation problem

ashwin b (INDIA)

Message: 63338   

 

Pardon me, but I am very new to the whole linux, uClinux as well as Blackfin environments

QuoteReplyEditDelete

 

 

2008-10-09 12:37:04     Re: Open CV compilation problem

Mike Frysinger (UNITED STATES)

Message: 63345   

 

you want to compile existing ones or add your own ?

 

if you want to compile existings ones, just select it in the menuconfig settings and then run `make`

QuoteReplyEditDelete

 

 

2008-10-15 10:08:42     Re: Open CV compilation problem

Glauber Tadeu (BRAZIL)

Message: 63720   

 

Dear Ashwin.

 

I'm trying use OpenCv in uClinux too. I compiled the OpenCv but it doesn't work...   I'll see the parameter that I use in configure and I'll post here...

 

Which hardware plataform do you use? I'm using the BF537-STAMP-BOARD.

QuoteReplyEditDelete

Attachments

    Outcomes