Hello
Thank you for your answer. the order was that you write : make clean make
here the messages of console 1/ after make clean; 2/ after make.
1/ after make clean new-host-4:~ philippeboisnard$ cd Desktop new-host-4:Desktop philippeboisnard$ cd pix_opencv new-host-4:pix_opencv philippeboisnard$ make clean rm -f *.o rm -f pix_opencv*.pd_darwin
2/ after make
g++ -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W
-Wno-unused -Wno-parentheses -Wno-switch -g -I/Users/philippeboisnard/
Applications/puredata/Pd-extentended/pd/src -I. -I/Users/
philippeboisnard/Applications/puredata/Pd-extentended/Gem/src -I/Users/
philippeboisnard/Applications/puredata/Pd-extentended/pd/src -I/opt/
local/var/macports/software/opencv/1.0.0_0/opt/local/include/opencv/ -
o pix_opencv_edge.o -c pix_opencv_edge.cpp
In file included from pix_opencv_edge.cpp:18:
pix_opencv_edge.h:19:28: error: Base/GemPixObj.h: No such file or
directory
pix_opencv_edge.h:22:16: error: cv.h: No such file or directory
pix_opencv_edge.h:38: error: invalid function declaration
pix_opencv_edge.cpp:20: error: expected constructor, destructor, or
type conversion before ‘(’ token
pix_opencv_edge.cpp:49: error: expected constructor, destructor, or
type conversion before ‘::’ token
pix_opencv_edge.cpp:64: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cpp:64: error: variable or field ‘processRGBAImage’
declared void
pix_opencv_edge.cpp:64: error: ‘imageStruct’ was not declared in this
scope
pix_opencv_edge.cpp:64: error: ‘image’ was not declared in this scope
pix_opencv_edge.cpp:65: error: expected ‘,’ or ‘;’ before ‘{’ token
pix_opencv_edge.cpp:113: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cpp:113: error: variable or field ‘processRGBImage’
declared void
pix_opencv_edge.cpp:113: error: ‘imageStruct’ was not declared in this
scope
pix_opencv_edge.cpp:113: error: ‘image’ was not declared in this scope
pix_opencv_edge.cpp:114: error: expected ‘,’ or ‘;’ before ‘{’ token
pix_opencv_edge.cpp:160: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cpp:160: error: variable or field ‘processYUVImage’
declared void
pix_opencv_edge.cpp:160: error: ‘imageStruct’ was not declared in this
scope
pix_opencv_edge.cpp:160: error: ‘image’ was not declared in this scope
pix_opencv_edge.cpp:161: error: expected ‘,’ or ‘;’ before ‘{’ token
pix_opencv_edge.cpp:164: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cpp:164: error: variable or field ‘processGrayImage’
declared void
pix_opencv_edge.cpp:164: error: ‘imageStruct’ was not declared in this
scope
pix_opencv_edge.cpp:164: error: ‘image’ was not declared in this scope
pix_opencv_edge.cpp:165: error: expected ‘,’ or ‘;’ before ‘{’ token
pix_opencv_edge.cpp:216: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cpp: In function ‘void floatThreshMess(float)’:
pix_opencv_edge.cpp:218: error: invalid use of ‘this’ in non-member
function
pix_opencv_edge.cpp: At global scope:
pix_opencv_edge.cpp:225: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cpp:225: error: variable or field ‘obj_setupCallback’
declared void
pix_opencv_edge.cpp:225: error: ‘t_class’ was not declared in this scope
pix_opencv_edge.cpp:225: error: ‘classPtr’ was not declared in this
scope
pix_opencv_edge.cpp:226: error: expected ‘,’ or ‘;’ before ‘{’ token
pix_opencv_edge.cpp:230: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cpp:230: error: ‘t_floatarg’ has not been declared
pix_opencv_edge.cpp: In function ‘void floatTreshMessCallback(void*,
int)’:
pix_opencv_edge.cpp:232: error: ‘GetMyClass’ was not declared in this
scope
make: *** [pix_opencv_edge.o] Error 1
3/ after this, I try to copy *.pd_darwin cp: *.pd_darwin: No such file or directory
I try this implement with this help http://hangar.org/wikis/lab/doku.php?id=start:puredata_opencv
thank you for help.
philippe
Le 13 mai 09 à 09:12, IOhannes m zmoelnig a écrit :
philippe boisnard wrote:
Hello I try to implement pix_opencv in Pd-extended, and I have many
problems when I make the external make make clean and after copy in Pd-extended, I have this message : cp: *.pd_darwin: No such file or directory and, in the folder, there isn't file "something".pd_darwin. It's my first time to try this, and I'm very beginner. I search help to realize this.i have no experiences with pix_opencv, but:
- if you are really doing "make && make clean" (in this order), then
the 2nd command will delete everything (or most) that has been
created by the 1st command: if "make" has created any .pd_darwin
files, than "make clean" will have them deleted; try reversing the 2
commands as suggested in the INSTALL file
- do you get errors at the build-stage? something?
fgamdr IOhannes