aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorlluís gómez i bigordà <lluisbigorda@users.sourceforge.net>2008-05-25 21:51:21 +0000
committerlluís gómez i bigordà <lluisbigorda@users.sourceforge.net>2008-05-25 21:51:21 +0000
commit7b555924a46e83b194e5fab92fc6d6e564d6a5ab (patch)
tree997ca243ee15cf92ce96305a5d8607d8e065623b /INSTALL
svn path=/trunk/externals/pix_opencv/; revision=9913svn2git-root
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL105
1 files changed, 105 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..e7e537f
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,105 @@
+
+
+
+Download the package here : [[http://hangar.org/wikis/lab/pd/pdp_opencv-0.1a.tar.gz|pdp_opencv-0.1a.tar.gz]] [[http://hangar.org/wikis/lab/pd/pix_opencv-0.1a.tar.gz|pix_opencv-0.1a.tar.gz]]
+
+===== GNU/Linux =====
+
+(actually only tested in GNU/Linux Ubuntu Gutsy)
+
+unpack it ::
+
+ tar xzvf pix_opencv-0.1a.tar.gz
+
+cd into the library folder ::
+
+ cd pix_opencv
+
+or
+
+ cd pdp_opencv
+
+edit the Makefile to fit your system and sources folders:
+
+for pix_opencv edit the Makefile and change the values for PD_DIR and GEM_DIR variables
+
+for pdp_opencv edit the Makefile.config and change the values for OPENCV_CPPFLAGS, PD_CPPFLAGS, PDP_CFLAGS variables
+
+then, compile it ::
+
+ make clean
+ make
+
+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 there is no MACOSX makefile for pdp_opencv.)
+
+Just overwrite the Makefile with this one : [[http://hangar.org/wikis/lab/pd/opencv/Makefile.darwin|Makefile.darwin]]
+
+then follow the same steps of the GNU/Linux Install (but with pd_darwin instead of pd_linux)
+
+
+
+
+===== MAC OSX (powerPC) =====
+
+• Download this three libraries with Fink : libjpeg + libpng3 + libtiff
+
+• In Terminal :
+cvs -d:pserver:anonymous@opencvlibrary.cvs.sourceforge.net:/cvsroot/opencvlibrary login
+----> then hit 'enter' on your keyboard
+cvs -z3 -d:pserver:anonymous@opencvlibrary.cvs.sourceforge.net:/cvsroot/opencvlibrary co
+-P opencv
+----> download opencv sources
+
+• with a text editor, open the file : cvcap_qt.cpp
+look for '__BEGIN__' and change it by '__BEGIN__{'
+look for '__END__' and change it by '}__END__'
+----> save
+
+• In Terminal
+----> go to your opencv folder you just download and create a new folder 'build' :
+cd blabla/opencv
+mkdir build
+cd build
+../configure CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib"
+make
+sudo make install
+----> enter your password
+
+• With you browser go to :
+http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv
+----> download pix_opencv-0.1a.tar.gz and decompress all :
+http://hangar.org/wikis/lab/pd/pix_opencv-0.1a.tar.gz
+----> download PD-extended sources and decompress all :
+http://downloads.sourceforge.net/pure-data/Pd-0.39.3-extended.tar.bz2
+----> download the makefile for macosx :
+http://hangar.org/wikis/lab/pd/opencv/Makefile.darwin
+
+• In the Finder :
+----> change 'Makefile.darwin' by 'Makefile' and then overwrite the 'Makefile' in
+'pix_opencv' folder you just download
+
+• With a text editor :
+----> open this new 'Makefile' and change :
+PD_DIR = /*/Pd-0.39.3-extended/pd (enter the path of the 'pd' folder in
+'Pd-0.39.3-extended' folder you just download from sourceforge)
+GEM_DIR = /*/Pd-0.39.3-extended/Gem (enter the path of the 'Gem' folder in
+'Pd-0.39.3-extended' folder you just download from sourceforge)
+----> save
+
+• In Terminal :
+----> go to the folder 'pix_opencv' with 'cd '
+export MACOSX_DEPLOYMENT_TARGET=10.4
+make clean
+make
+
+• Then copy the '.pd_darwin' create in the 'pix_opencv' folder in your
+'/Applications/Pd-0.40.3-extended-20080315.app/Contents/Resources/extra/Gem/' for exemple
+