Hi everybody!
I still suffer from 2 problems with building opencv and cvcell from the svn on a PS3 with Fedora9.
At first i cannot compile opencv with gtk+ 2.x support. I have all packages for gtk+2 installed and the devel packages also. But when i run configure there is always the message at the end: gtk+ 2.x .................. no
does anybody know which packages i need for gtk+ 2 support
My other problem is making the cvcell. I tried the following commands, like you did mentioned in the answer to my first mail.
aclocal
autoconf
autoheader
automake -a
That all works fine. I can also run the configure script without error. But when i run make, it cannot find the opencv library (which i have built without gtkü support for now) and gives me many error messages:
(At first there was a message that i cannot find the opencv library, but i could not copy that message)
[...]
../../include/apiparam.h:196: error: 'CvScalar' does not name a type
../../include/apiparam.h:197: error: 'CvScalar' does not name a type
../../include/apiparam.h:239: error: 'CvMat' does not name a type
../../include/apiparam.h:240: error: 'CvMat' does not name a type
../../include/apiparam.h:241: error: 'CvMat' does not name a type
../../include/apiparam.h:242: error: 'CvPoint' does not name a type
../../include/apiparam.h:251: error: ISO C++ forbids declaration of 'CvHistogram' with no type
../../include/apiparam.h:251: error: expected ';' before '*' token
../../include/apiparam.h:260: error: 'CvSize' does not name a type
../../include/apiparam.h:266: error: 'CvMat' does not name a type
../../include/apiparam.h:280: error: 'CvMat' does not name a type
../../include/apiparam.h:281: error: 'CvScalar' does not name a type
../../include/apiparam.h:305: error: 'CvMat' does not name a type
../../include/apiparam.h:306: error: 'CvSize' does not name a type
../../include/apiparam.h:307: error: 'CvRect' does not name a type
../../include/apiparam.h:460: error: 'CvSize' does not name a type
../../include/apiparam.h:486: error: 'CvSize' does not name a type
../../include/apiparam.h:492: error: 'CvPoint' does not name a type
apiparam-ppe.h: In function 'void cvCellRunElf(spe_context*, spe_program_handle_t*)':
apiparam-ppe.h:95: error: 'CV_StsError' was not declared in this scope
apiparam-ppe.h:95: error: 'cvError' was not declared in this scope
spe-executor.hpp: In function 'void arithm_partitionar(param_cvArithm*, int)':
spe-executor.hpp:14: error: 'CvMat' was not declared in this scope
spe-executor.hpp:14: error: 'src1' was not declared in this scope
spe-executor.hpp:14: error: 'struct param_cvArithm' has no member named 'src1'
spe-executor.hpp:15: error: 'dst' was not declared in this scope
spe-executor.hpp:15: error: 'struct param_cvArithm' has no member named 'dst'
spe-executor.hpp:24: error: 'struct param_cvArithm' has no member named 'src1'
spe-executor.hpp:25: error: 'struct param_cvArithm' has no member named 'src2'
spe-executor.hpp:26: error: 'struct param_cvArithm' has no member named 'dst'
spe-executor.hpp:27: error: 'struct param_cvArithm' has no member named 'src1'
spe-executor.hpp:28: error: 'struct param_cvArithm' has no member named 'src2'
spe-executor.hpp:29: error: 'struct param_cvArithm' has no member named 'dst'
spe-executor.hpp:31: error: 'struct param_cvArithm' has no member named 'src1'
spe-executor.hpp:32: error: 'struct param_cvArithm' has no member named 'src2'
spe-executor.hpp:33: error: 'struct param_cvArithm' has no member named 'dst'
spe-executor.hpp: In function 'void minmaxloc_partitionar(param_cvMinMaxLoc*, int)':
spe-executor.hpp:43: error: 'struct param_cvMinMaxLoc' has no member named 'src_size'
spe-executor.hpp:44: error: 'struct param_cvMinMaxLoc' has no member named 'src_size'
spe-executor.hpp:50: error: 'struct param_cvMinMaxLoc' has no member named 'src_size'
spe-executor.hpp:53: error: 'struct param_cvMinMaxLoc' has no member named 'src_size'
cvthresh.cpp: At global scope:
cvthresh.cpp:54: error: expected initializer before 'icvThresh_8u_C1R'
cvthresh.cpp:122: error: expected initializer before 'icvThresh_32f_C1R'
cvthresh.cpp:206: error: expected ',' or '...' before '*' token
cvthresh.cpp:206: error: ISO C++ forbids declaration of 'CvHistogram' with no type
cvthresh.cpp: In function 'double icvGetThreshVal_Otsu(int)':
cvthresh.cpp:210: error: 'CV_FUNCNAME' was not declared in this scope
cvthresh.cpp:212: error: '__BEGIN__' was not declared in this scope
cvthresh.cpp:223: error: 'hist' was not declared in this scope
cvthresh.cpp:223: error: 'CV_IS_HIST' was not declared in this scope
cvthresh.cpp:223: error: 'CV_IS_SPARSE_HIST' was not declared in this scope
cvthresh.cpp:224: error: 'CV_StsBadArg' was not declared in this scope
cvthresh.cpp:225: error: 'CV_ERROR' was not declared in this scope
cvthresh.cpp:227: error: 'hist' was not declared in this scope
cvthresh.cpp:228: error: 'cvPtr1D' was not declared in this scope
cvthresh.cpp:230: error: 'CV_HIST_HAS_RANGES' was not declared in this scope
cvthresh.cpp:230: error: 'CV_IS_UNIFORM_HIST' was not declared in this scope
cvthresh.cpp:274: error: 'MIN' was not declared in this scope
cvthresh.cpp:274: error: 'MAX' was not declared in this scope
cvthresh.cpp:292: error: '__END__' was not declared in this scope
cvthresh.cpp: At global scope:
cvthresh.cpp:298: error: 'icvAndC_8u_C1R_t' does not name a type
cvthresh.cpp:299: error: 'icvCompareC_8u_C1R_cv_t' does not name a type
cvthresh.cpp:300: error: 'icvThreshold_GTVal_8u_C1R_t' does not name a type
cvthresh.cpp:301: error: 'icvThreshold_GTVal_32f_C1R_t' does not name a type
cvthresh.cpp:302: error: 'icvThreshold_LTVal_8u_C1R_t' does not name a type
cvthresh.cpp:303: error: 'icvThreshold_LTVal_32f_C1R_t' does not name a type
cvthresh.cpp:305: error: variable or field 'cvThreshold_spu' declared void
cvthresh.cpp:305: error: 'CvMat' was not declared in this scope
cvthresh.cpp:305: error: 'src' was not declared in this scope
cvthresh.cpp:305: error: 'CvMat' was not declared in this scope
cvthresh.cpp:305: error: 'dst' was not declared in this scope
cvthresh.cpp:305: error: expected primary-expression before 'double'
cvthresh.cpp:305: error: expected primary-expression before 'double'
cvthresh.cpp:305: error: expected primary-expression before 'int'
cvthresh.cpp:305: error: initializer expression list treated as compound expression
cvthresh.cpp:306: error: expected ',' or ';' before '{' token
cvthresh.cpp:325: error: expected constructor, destructor, or type conversion before 'void'
cvthresh.cpp:206: warning: 'double icvGetThreshVal_Otsu(int)' defined but not used
cvthresh.cpp:305: warning: 'cvThreshold_spu' defined but not used
make[3]: *** [obj/cvthresh.o] Fehler 1
make[3]: Leaving directory `/home/LIPS/cvcell/cvcell/src/ppu'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/LIPS/cvcell/cvcell/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/LIPS/cvcell/cvcell'
make: *** [all] Fehler 2
Sorry for that stupid questions, but i am really stuck with my work now and need help. So please help me.
Regards
|