From 1a20f9a54e86a5b9b96f595f094419cc7cc3dc7f Mon Sep 17 00:00:00 2001 From: "N.N." Date: Thu, 27 Aug 2009 17:04:17 +0000 Subject: updated installation instruction for MAC OSX svn path=/trunk/externals/pdp_opencv/; revision=12118 --- INSTALL | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 75ff14d..02e8297 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -GNU/Linux +===== GNU/Linux ===== (actually only tested in GNU/Linux Ubuntu Gutsy) @@ -9,7 +9,6 @@ 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 @@ -17,17 +16,11 @@ is different ) then compile the externals : -cd pix_opencv - -or - cd pdp_opencv -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 +edit the Makefile to fit your pd and PDP sources paths : -for pix_opencv edit the Makefile and change the values for PD_DIR and PDP_DIR variables +edit the Makefile and change the values for PD_DIR and PDP_DIR variables then, compile it :: @@ -38,4 +31,27 @@ 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 :: + cp -Rf /Volumes/OpenCV\ Private\ Framework/OpenCV.framework /System/Library/Frameworks/ + +cd into the library folder :: + + cd pdp_opencv + +edit the Makefile to fit your system and sources folders: + +edit the Makefile and change the values for PD_DIR and PDP_DIR variables + +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/ for example -- cgit v1.2.1