aboutsummaryrefslogtreecommitdiff
path: root/README.txt
blob: f877d2840604755e38fdd1ec7de8f269b202a114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
updated for Linux on 03/01/2013

get the source version through svn :

svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data pure-data
cd pure-data/trunk/externals/pix_opencv

you need a working build toolchain

pix_opencv depends on OpenCV 2.x and >1.5 (for old externals)

===== GNU/Linux ===== 

# (actually only tested in GNU/Linux Ubuntu)
# this new version requiered OpenCV 2.3, available with apt-get since 12.04 :
apt-get install libopencv-dev libcv-dev libhighgui-dev libcvaux-dev

# for other systems, you can build the lib from source, see this :
# http://opencv.willowgarage.com/wiki/InstallGuide

# get the source : 
svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/pix_opencv pix_opencv

cd pix_opencv
make 

# To use the binaries you can either put them into the same folder as your patch or to add this folder to the search paths of Pd

===== MAC OSX (intel and powerPC) =====

# install opencv with fink :
fink install opencv-dev

# if you don't have fink, you can build it from source by following this guide :
# http://opencv.willowgarage.com/wiki/InstallGuide

# then get the sources and compile :
svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/pix_opencv pix_opencv
cd pix_opencv
make PD_PATH=/path/to/pdextended-app/Contents/Resources/

# PD_PATH should be ended by something like that : Pd-0.43.4-extended-20121231.app/Contents/Resources/