<div dir="ltr">Hi, <div><br></div><div>concerning the configure step, you can use :</div><div><br></div><div>./configure --with-gem=/usr/local/include/Gem</div><div><br></div><div>and eventually add --with-pd if pkg-config can't find pd headers automatically.</div><div>afaik you don't need to add Gem's folder to LDFLAGS since it will link at runtime to Gem's DLL.</div><div><br></div><div>Concerning make step, if you speed up with -j x then build might fail because of unfinish job when linking but iirc, you can then run it once again without -j option.</div><div>then it takes advange of parallel compilation even if it fails.</div><div><br></div><div>I just bulid it this morning on Arch and I have to build opencv2 from source before, because pix_opencv doens't work with opencv3 and there is no plan to port it for now.</div><div><br></div><div>Best</div><div><br></div><div>Antoine</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div></div>
<br><div class="gmail_quote">2017-11-05 17:53 GMT+01:00 Federico Camara Halac <span dir="ltr"><<a href="mailto:camarafede@gmail.com" target="_blank">camarafede@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi all, <br><br></div>OK, I also could compile successfully on Debian stretch<br><br>1. I had to build opencv 2.4.13.4 myself, adapting this useful script [<a href="https://github.com/milq/milq/blob/master/scripts/bash/install-opencv.sh" target="_blank">https://github.com/milq/milq/<wbr>blob/master/scripts/bash/<wbr>install-opencv.sh</a>] to the mentioned version. Also, I compared Benjamin's opencv search and I had the same as his, and some other stuff as well.<br><br></div><div>2. followed steps here: <a href="https://github.com/avilleret/pix_opencv/wiki" target="_blank">https://github.com/avilleret/<wbr>pix_opencv/wiki</a>, with the following configure (because I had compiled Gem instead of using proper Debian package):<br><br>Invocation command line was<br><br>  $ ./configure GEM_CPPFLAGS=-I/usr/local/<wbr>include/Gem/  GEM_LDFLAGS=-L/usr/local/lib/<wbr>pd/extra/Gem <br></div><div><br></div>3. make* && sudo make install<br></div><div><br>4. Finally, on the pd console after "pd -lib Gem:pix_opencv -open"<br><br>pix_opencv 0.4 library by Antoine Villeret 2012-2016<span class=""><br>    based on work by Yves Degoyon and Lluis Gomez i Bigorda<br></span>    built on Nov  5 2017<br>    with non-free features<br>    with FaceTracker.<br><br></div><div>5. I also added extra/pix_opencv to the paths, and copied the 'model' and 'haarascade' directories into extra/pix_opencv<br></div><br>* I was using 'make -j5' to accelerate the process, but I think it was giving me problems because of unfinished jobs not being done in time and so having linking problems.<br><br></div>Hope this helps,<br><br></div>fd<br></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sun, Nov 5, 2017 at 6:53 AM, Benjamin ~ b01 <span dir="ltr"><<a href="mailto:benjah@free.fr" target="_blank">benjah@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Le 31/10/2017 à 13:45, Peter P. a écrit :<br>
> Could you let me know which opencv libraries you have installed on that<br>
> machine, for example by posting the output of the command<br>
>       aptitude search opencv | grep ^i<br>
> ?<br>
</span>well on another machine, also debian stretch 64 bits, I also managed to<br>
compile pix_opencv + FaceTracker (thanks for  the "model" directory tip,<br>
it works)<br>
<br>
the libs installed :<br>
<br>
sudo apt-cache search opencv | grep i<br>
libcv-dev - Translation package for libcv-dev<br>
libcv2.4 - computer vision library - libcv* translation package<br>
libcvaux-dev - Translation package for libcvaux-dev<br>
libcvaux2.4 - computer vision library - libcvaux translation package<br>
libhighgui-dev - Translation package for libhighgui-dev<br>
libhighgui2.4 - computer vision library - libhighgui translation package<br>
libopencv-calib3d-dev - development files for libopencv-calib3d<br>
libopencv-calib3d2.4v5 - computer vision Camera Calibration library<br>
libopencv-contrib-dev - development files for libopencv-contrib<br>
libopencv-contrib2.4v5 - computer vision contrib library<br>
libopencv-core-dev - development files for libopencv-core<br>
libopencv-core2.4v5 - computer vision core library<br>
libopencv-dev - development files for opencv<br>
libopencv-features2d-dev - development files for libopencv-features2d<br>
libopencv-features2d2.4v5 - computer vision Feature Detection and<br>
Descriptor Extraction library<br>
libopencv-flann-dev - development files for libopencv-flann<br>
libopencv-flann2.4v5 - computer vision Clustering and Search in<br>
Multi-Dimensional spaces library<br>
libopencv-gpu-dev - development files for libopencv-gpu2.4v5<br>
libopencv-gpu2.4v5 - computer vision GPU library<br>
libopencv-highgui-dev - development files for libopencv-highgui<br>
libopencv-highgui2.4-deb0 - computer vision High-level GUI and Media I/O<br>
library<br>
libopencv-imgproc-dev - development files for libopencv-imgproc<br>
libopencv-imgproc2.4v5 - computer vision Image Processing library<br>
libopencv-legacy-dev - development files for libopencv-legacy<br>
libopencv-legacy2.4v5 - computer vision legacy library<br>
libopencv-ml-dev - development files for libopencv-ml<br>
libopencv-ml2.4v5 - computer vision Machine Learning library<br>
libopencv-objdetect-dev - development files for libopencv-objdetect<br>
libopencv-objdetect2.4v5 - computer vision Object Detection library<br>
libopencv-ocl-dev - development files for libopencv-ocl2.4v5<br>
libopencv-ocl2.4v5 - computer vision OpenCL support library<br>
libopencv-photo-dev - development files for libopencv-photo2.4v5<br>
libopencv-photo2.4v5 - computer vision computational photography library<br>
libopencv-stitching-dev - development files for libopencv-stitching2.4v5<br>
libopencv-stitching2.4v5 - computer vision image stitching library<br>
libopencv-superres-dev - development files for libopencv-superres2.4v5<br>
libopencv-superres2.4v5 - computer vision Super Resolution library<br>
libopencv-ts-dev - development files for libopencv-ts2.4v5<br>
libopencv-ts2.4v5 - computer vision ts library<br>
libopencv-video-dev - development files for libopencv-video<br>
libopencv-video2.4v5 - computer vision Video analysis library<br>
libopencv-videostab-dev - development files for libopencv-videostab2.4v5<br>
libopencv-videostab2.4v5 - computer vision video stabilization library<br>
libopencv2.4-java - Java bindings for the computer vision library<br>
libopencv2.4-jni - Java jni library for the computer vision library<br>
opencv-doc - OpenCV documentation and examples<br>
python-opencv - Python bindings for the computer vision library<br>
php-facedetect - Detect faces with PHP<br>
libcv-bridge-dev - cv_bridge Robot OS package - development<br>
libcv-bridge1d - cv_bridge Robot OS package<br>
libimage-geometry-dev - image_geometry Robot OS package - development<br>
libimage-geometry0d - image_geometry Robot OS package - runtime<br>
python-cv-bridge - cv_bridge ROS package - Python bindings<br>
python-image-geometry - image_geometry Robot OS package - Python bindings<br>
<br>
++<br>
<span class="m_-3906219522098425427HOEnZb"><font color="#888888">Benjamin<br>
</font></span><div class="m_-3906219522098425427HOEnZb"><div class="m_-3906219522098425427h5"><br>
______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-3906219522098425427gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><a href="http://fdch.github.io/tv" target="_blank">http://fdch.github.io/tv</a></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>