Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-25 Thread yvan volochine

On 21/06/13 20:40, Antoine Villeret wrote:

i've made some change in the headers
it should not depends on libcv-dev libhighgui-dev and libcvaux-dev anymore
maybe this solve your problem too


I still get the aforementioned error but after all externals have been 
built fine.

but getting rid of dependencies is always nice =)

and here's another patch reflecting the new sf.net repo url in 
pix_opencv README:


https://gist.github.com/gusano/5857170

ciao
y

--
http://yvanvolochine.com
http://soundcloud.com/yvanvolochine
http://soundcloud.com/elgusanorojo
http://vimeo.com/yv

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-25 Thread Antoine Villeret
hello,

it should be fixed now,
i don't know from where the line 643 comes...
but my gcc 4.6.3 doesn't complain for that

thanks for reporting

a


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


2013/6/25 yvan volochine yvan...@gmail.com

 On 21/06/13 20:40, Antoine Villeret wrote:

 i've made some change in the headers
 it should not depends on libcv-dev libhighgui-dev and libcvaux-dev anymore
 maybe this solve your problem too


 I still get the aforementioned error but after all externals have been
 built fine.
 but getting rid of dependencies is always nice =)

 and here's another patch reflecting the new sf.net repo url in pix_opencv
 README:

 https://gist.github.com/**gusano/5857170https://gist.github.com/gusano/5857170

 ciao

 y

 --
 http://yvanvolochine.com
 http://soundcloud.com/**yvanvolochinehttp://soundcloud.com/yvanvolochine
 http://soundcloud.com/**elgusanorojo http://soundcloud.com/elgusanorojo
 http://vimeo.com/yv

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-25 Thread yvan volochine

On 25/06/13 14:27, Antoine Villeret wrote:

it should be fixed now,
i don't know from where the line 643 comes...
but my gcc 4.6.3 doesn't complain for that


I have 4.8.1


thanks for reporting


haha, funny that I missed that as well =)

thanks for fixing!

ciao
y

--
http://yvanvolochine.com
http://soundcloud.com/yvanvolochine
http://soundcloud.com/elgusanorojo
http://vimeo.com/yv

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-21 Thread yvan volochine

hi Antoine


I've push a fixed version to svn
it should work with both version

could you please test it with 2.4.5 ?


nice, it seems that all externals build fine now (except for 
pix_opencv_surf but it looks like it should not be build in the first 
place..).

I still get this error at the end of the build though:


blobtrack.cpp: At global scope:
blobtrack.cpp:643:1: error: ‘q’ does not name a type
 q
 ^
[snip]

  ^
make: *** [blobtrack] Error 1


ciao,
y

--
http://yvanvolochine.com
http://soundcloud.com/yvanvolochine
http://soundcloud.com/elgusanorojo
http://vimeo.com/yv

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-21 Thread Antoine Villeret
hum strange

i've made some change in the headers
it should not depends on libcv-dev libhighgui-dev and libcvaux-dev anymore
maybe this solve your problem too
i've only tested with OpenCV 2.3.1 from packages

++
a

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


2013/6/21 yvan volochine yvan...@gmail.com

 hi Antoine


  I've push a fixed version to svn
 it should work with both version

 could you please test it with 2.4.5 ?


 nice, it seems that all externals build fine now (except for
 pix_opencv_surf but it looks like it should not be build in the first
 place..).
 I still get this error at the end of the build though:


 blobtrack.cpp: At global scope:
 blobtrack.cpp:643:1: error: ‘q’ does not name a type
  q
  ^
 [snip]

   ^
 make: *** [blobtrack] Error 1



 ciao,
 y

 --
 http://yvanvolochine.com
 http://soundcloud.com/**yvanvolochinehttp://soundcloud.com/yvanvolochine
 http://soundcloud.com/**elgusanorojo http://soundcloud.com/elgusanorojo
 http://vimeo.com/yv

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-20 Thread Antoine Villeret
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...@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/5814205https://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/**yvanvolochinehttp://soundcloud.com/yvanvolochine
 http://soundcloud.com/**elgusanorojo http://soundcloud.com/elgusanorojo
 http://vimeo.com/yv


 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-20 Thread yvan volochine

On 20/06/13 15:04, Antoine Villeret wrote:

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


yep, I thought that this might be archlinux specific, that's why I 
didn't officialy submit my patch =)



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)


2.4.5

ciao,
y

--
http://yvanvolochine.com
http://soundcloud.com/yvanvolochine
http://soundcloud.com/elgusanorojo
http://vimeo.com/yv

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-20 Thread Antoine Villeret
2013/6/20 yvan volochine yvan...@gmail.com

 On 20/06/13 15:04, Antoine Villeret wrote:

 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


 yep, I thought that this might be archlinux specific, that's why I didn't
 officialy submit my patch =)


afaik not
this is related to opencv 2.4.5...




  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)


 2.4.5

i've just build it and yes it breaks compatibility...

I've push a fixed version to svn
it should work with both version

could you please test it with 2.4.5 ?

thanks for pointing that

a




 ciao,
 y

 --
 http://yvanvolochine.com
 http://soundcloud.com/**yvanvolochinehttp://soundcloud.com/yvanvolochine
 http://soundcloud.com/**elgusanorojo http://soundcloud.com/elgusanorojo
 http://vimeo.com/yv

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-19 Thread Jaime Oliver
I just ran into the same problem in ubuntu following:
http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv#packages_for_ubuntu_and_debian
J


On Wed, Jun 19, 2013 at 1:08 PM, Benjamin ~ 01xy ben...@free.fr wrote:

 Hello pd-list,

 I'm trying to compile pix_opencv on linux mint debian
 when :
 ./configure --with-pd=path_to_pd --with-gem=path_to_gem
 I get :
 checking for cvSobel in -lcv... no
 configure: error: you need to install opencv library (libcv)

 of course, I've previously installed libcv2.3 libcv-dev libcvaux-dev
 libhighgui-dev with the package manager
 locate libcv gives :
 ...
 /usr/lib/libcv.so.4
 /usr/lib/vlc/plugins/codec/**libcvdsub_plugin.so
 /usr/share/doc/libcv-dev
 /usr/share/doc/libcv2.3
 /usr/share/doc/libcvaux-dev
 /usr/share/doc/libcvaux2.3
 /usr/share/doc/libcv-dev/**README.Debian
 ...

 did anyone already managed to compile pix_opencv on debian testing ?
 any magic ln -s command ? maybe pix_opencv relies on opencv v1 ?

 thanks
 benjamin

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list




-- 
**
Jaime E Oliver LR
www.jaimeoliver.pe
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-19 Thread Antoine Villeret
hello,

you shouldn't have to run configure script on debian/ubuntu
just run make after installing the right package
see README.txt

pkg-config determines the Pd and Gem's path
if it doesn't work this is due to an old version or a bad installation and
I don't know an easier way to fix it than editing Makefile

cheers

a

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


2013/6/19 Jaime Oliver jaime.oliv...@gmail.com

 I just ran into the same problem in ubuntu following:

 http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv#packages_for_ubuntu_and_debian
 J


 On Wed, Jun 19, 2013 at 1:08 PM, Benjamin ~ 01xy ben...@free.fr wrote:

 Hello pd-list,

 I'm trying to compile pix_opencv on linux mint debian
 when :
 ./configure --with-pd=path_to_pd --with-gem=path_to_gem
 I get :
 checking for cvSobel in -lcv... no
 configure: error: you need to install opencv library (libcv)

 of course, I've previously installed libcv2.3 libcv-dev libcvaux-dev
 libhighgui-dev with the package manager
 locate libcv gives :
 ...
 /usr/lib/libcv.so.4
 /usr/lib/vlc/plugins/codec/**libcvdsub_plugin.so
 /usr/share/doc/libcv-dev
 /usr/share/doc/libcv2.3
 /usr/share/doc/libcvaux-dev
 /usr/share/doc/libcvaux2.3
 /usr/share/doc/libcv-dev/**README.Debian
 ...

 did anyone already managed to compile pix_opencv on debian testing ?
 any magic ln -s command ? maybe pix_opencv relies on opencv v1 ?

 thanks
 benjamin

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list




 --
 **
 Jaime E Oliver LR
 www.jaimeoliver.pe


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] compiling pix_opencv on debian (lmde)

2013-06-19 Thread yvan volochine

FYI it does not build on archlinux (with opencv2).

I fixed some of it with the following patch:
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/elgusanorojo
http://vimeo.com/yv

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list