From 21cb007dfce4ededf66f3714f56b1516c19dca94 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 26 Sep 2009 15:57:21 +0000 Subject: added configure step svn path=/trunk/externals/pix_opencv/; revision=12464 --- INSTALL | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 4f2a148..7d97bef 100644 --- a/INSTALL +++ b/INSTALL @@ -1,9 +1,7 @@ -Download the package here : [[http://hangar.org/wikis/lab/pd/pix_opencv-0.2.tar.gz|pix_opencv-0.2.tar.gz]] - -or get the latest version through svn : +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 @@ -24,27 +22,31 @@ and of the GEM that you are loading ( it might not work if the version is different ) -cd into the package folder :: +cd into the package folder : cd pix_opencv -edit the Makefile to fit your system and sources folders: +configure the package with the appropriate command for your system : -edit the Makefile and change the values for PD_DIR and GEM_DIR variables + ./configure --with-pd= --with-gem= -then, compile it :: +for example : - make clean - make +./configure --with-pd=/usr/local/pd --with-gem=/usr/local/pd/gem -and copy the .pd_linux to your externals folder :: +then, compile it : - cp *.pd_linux /usr/local/lib/pd/extra/ +make clean +make +and copy the .pd_linux to your externals folder :: + +cp *.pd_linux /usr/local/lib/pd/extra/ ===== MAC OSX (intel and powerPC) ===== + first install openCV MacOS framework download openCV private framework from http://www.ient.rwth-aachen.de/cms/software/opencv/ copy the provided OpenCV.framework folder in your /System/Library/Frameworks/ directory :: @@ -59,9 +61,13 @@ cd into the package folder :: cd pix_opencv -edit the Makefile to fit your system and sources folders: +configure the package with the appropriate command for your system : + + ./configure --with-pd= --with-gem= + +for example : -edit the Makefile and change the values for PD_DIR and GEM_DIR variables +./configure --with-pd=/usr/local/pd --with-gem=/usr/local/pd/gem then, compile it :: -- cgit v1.2.1