[PD] compiling pix_opencv on debian (lmde)

Antoine Villeret antoine.villeret at gmail.com
Thu Jun 20 15:04:13 CEST 2013


thanks for this

I just tested your patch with a fresh install of Ubuntu and it doesn't work
pix_opencv still depends both on opencv 1.5 and 2.3
it's a shame but I'll fix this later
the svn version works on ubuntu after installing legacy packages :
sudo apt-get install libopencv-dev libcv-dev libhighgui-dev libcvaux-dev

libopencv-dev is version 2.3.1
the others are legacy and install among others cv.h

concerning, pix_opencv_blobtrack, which version of opencv are you using ?
check it with : echo $(pkg-config --modversion opencv)

cheers

a


--
do it yourself
http://antoine.villeret.free.fr


2013/6/19 yvan volochine <yvan.pd at gmail.com>

> FYI it does not build on archlinux (with opencv2).
>
> I fixed some of it with the following patch:
> https://gist.github.com/**gusano/5814205<https://gist.github.com/gusano/5814205>
>
> and now all externals build fine except for `pix_opencv_blobtrack` which
> gives the following error:
>
>
> blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector1()’:
> blobtrack.h:20:113: warning: control reaches end of non-void function
> [-Wreturn-type]
>  static CvFGDetector* cvCreateFGDetector1      () { return
> cvCreateFGDetectorBase(CV_BG_**MODEL_MOG,        NULL); }
>
>                                           ^
> blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector0Simple()’:
> blobtrack.h:19:113: warning: control reaches end of non-void function
> [-Wreturn-type]
>  static CvFGDetector* cvCreateFGDetector0Simple() { return
> cvCreateFGDetectorBase(CV_BG_**MODEL_FGD_SIMPLE, NULL); }
>
>                                           ^
> blobtrack.h: In function ‘CvFGDetector* cvCreateFGDetector0()’:
> blobtrack.h:18:113: warning: control reaches end of non-void function
> [-Wreturn-type]
>  static CvFGDetector* cvCreateFGDetector0      () { return
> cvCreateFGDetectorBase(CV_BG_**MODEL_FGD,        NULL); }
>
>                                           ^
> make: *** [pix_opencv_blobtrack.o] Error 1
>
>
> ciao,
> y
>
> --
> http://yvanvolochine.com
> http://soundcloud.com/**yvanvolochine<http://soundcloud.com/yvanvolochine>
> http://soundcloud.com/**elgusanorojo <http://soundcloud.com/elgusanorojo>
> http://vimeo.com/yv
>
>
> ______________________________**_________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130620/416ab105/attachment.htm>


More information about the Pd-list mailing list