From 61b79f7b03d053ffeeb2b16fe93a5bdf2bb43c7f Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 26 Sep 2009 16:04:54 +0000 Subject: added configure step svn path=/trunk/externals/pdp_opencv/; revision=12465 --- INSTALL | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/INSTALL b/INSTALL index cd83d44..f189bd2 100644 --- a/INSTALL +++ b/INSTALL @@ -24,20 +24,24 @@ is different ) then compile the externals : -cd pdp_opencv + cd pdp_opencv -edit the Makefile to fit your pd and PDP sources paths : +configure the package with the appropriate command for your system : -edit the Makefile and change the values for PD_DIR and PDP_DIR variables + ./configure --with-pd= --with-pdp= -then, compile it :: +for example : -make clean -make + ./configure --with-pd=/usr/local/pd --with-pdp=/usr/local/pd/pdp -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) ===== @@ -46,13 +50,22 @@ first install openCV MacOS framework copy the provided OpenCV.framework folder in your /System/Library/Frameworks/ directory :: cp -Rf /Volumes/OpenCV\ Private\ Framework/OpenCV.framework /System/Library/Frameworks/ +then get the _SOURCES_ of the pd you are using +and of the PDP that you are loading +( it might not work if the version +is different ) + cd into the library folder :: cd pdp_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-pdp= + +for example : -edit the Makefile and change the values for PD_DIR and PDP_DIR variables + ./configure --with-pd=/usr/local/pd --with-pdp=/usr/local/pd/pdp then, compile it :: -- cgit v1.2.1