aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2009-08-23 16:37:11 +0000
committerN.N. <sevyves@users.sourceforge.net>2009-08-23 16:37:11 +0000
commitd706a1dad495b7869e947469265983b49890f2c5 (patch)
treefbfa93930bfb57dfc3706d6c19654ec09f0e1905
parent9127e62865f6b178e0a8d2a570d425e0e2058c5b (diff)
version only for linux fore now
svn path=/trunk/externals/pdp_opencv/; revision=12044
-rw-r--r--INSTALL38
-rw-r--r--Makefile4
2 files changed, 16 insertions, 26 deletions
diff --git a/INSTALL b/INSTALL
index c715380..75ff14d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -2,9 +2,20 @@ GNU/Linux
(actually only tested in GNU/Linux Ubuntu Gutsy)
-unpack it ::
+first install opencv development packages,
+on ubuntu :
-cd into the library folder ::
+apt-get install libcv-dev
+apt-get install libcvaux-dev
+apt-get install libhighgui-dev
+
+
+then get the _SOURCES_ of the pd you are using
+and of the GEM or PDP that you are loading
+( it might not work if the version
+is different )
+
+then compile the externals :
cd pix_opencv
@@ -12,7 +23,7 @@ or
cd pdp_opencv
-edit the Makefile to fit your system and sources folders:
+edit the Makefile to fit your pd and GEM/PDP sources paths :
for pix_opencv edit the Makefile and change the values for PD_DIR and GEM_DIR variables
@@ -27,25 +38,4 @@ and copy the .pd_linux to your externals folder ::
cp *.pd_linux /usr/local/lib/pd/extra/
-MAC OSX (macintel)
-
-(This is only for pix_opencv Actually still there isn’t a MACOSX makefile for pdp_opencv.)
-
-cd pix_opencv
-
-Overwrite the Makefile with this one : Makefile.darwin
-
-edit the Makefile and change the values for PD_DIR and GEM_DIR variables
-and edit this lines : OPENCV_CFLAGS and OPENCV_LIBS
-Put something like that -I/opt/local/var/macports/software/opencv/1.0.0_0/opt/local/include/opencv/ and -L/opt/local/var/macports/software/opencv/1.0.0_0/opt/local/lib/ -lcxcore -lcv -lhighgui -lcvaux -lml
-
-then, compile it ::
-
-make clean
-make
-
-and copy the .pd_darwin to your externals folder ::
-
-cp *.pd_darwin /Applications/Pd-0.40.3-extended-20080315.app/Contents/Resources/extra/
-
diff --git a/Makefile b/Makefile
index 1e9642b..77c508f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-PD_DIR = ../../pd
-PDP_DIR = ../pdp
+PD_DIR = /usr/local/pd
+PDP_DIR = /usr/local/pd/pdp
GEM_OPENCV_VERSION = 0.1