Also, check if you have installed all or just one of the opencv dev packages, on debian/ubuntu systems there are three
libcv-dev - development files for libcv
libcvaux-dev - development files for libcvaux
libhighgui-dev - development files for libhighgui

It is possible you have one of them installed which is making the test pass but not the others so the build fails.

Toby

2008/5/1 Brian Gerkey <brian@gerkey.org>:

On Apr 30, 2008, at 11:20 AM, anterma wrote:

>
> thank you very much Brian. Now I've the same problem but with all
> drivers
> using opencv (imageseq, simpleshape, shapetracker....... and more).
> How I
> can disable all drivers which depends on opencv). I tried ./configure
> --disable-opencv, but failed. Thanks Brian

Unfortunately, each driver tests independently for OpenCV.  This test
uses pkg-config, like so:
$ pkg-config --libs opencv
This test is succeeding on your machine, but subsequently compiling
against OpenCV is failing.

So I see two solutions:
1. Explicitly --disable each driver that uses OpenCV.  Tedious, but
will work
2. Remove OpenCV from your system.  Or at least remove its pkg-config
file, opencv.pc (probably in /usr/lib/pkgconfig).

       brian.

>
> Brian Gerkey wrote:
>>
>>
>> On Apr 30, 2008, at 11:05 AM, anterma wrote:
>>
>>>
>>> thank you very much Brian. Now this error message has disappeared.
>>> But i
>>> didn't look further up the screen. If I look further up the screen,
>>> the
>>> first error is this:
>>> upcbarcode.cc:111:23: error: opencv/cv.h : No such file or directory
>>> upcbarcode.cc:111:28: error: opencv/highgui.h : No such file or
>>> directory
>>
>> Hmm.   That driver shouldn't be built unless OpenCV is found during
>> configuration.  Perhaps there's something wrong with your OpenCV
>> installation.
>>
>> The easiest workaround, assuming that you don't actually want to use
>> the upcbarcode driver, is to disable it during configuration:
>> $ ./configure --disable-upcbarcode
>> $ make
>>
>>      brian.
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save
>> $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> Playerstage-users mailing list
>> Playerstage-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>>
>>
>
> --
> View this message in context: http://www.nabble.com/error-compiling-again%21%21-tp16987999p16988765.html
> Sent from the playerstage-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save
> $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
This email is intended for the addressee only and may contain privileged and/or confidential information