|
I would like to install and compile HandVu under Window XP.I has
installed the direct9.0 SDK and OpenCV, environment variables for
the paths of the corresponding headers and library (.lib) files have
also been seted, But, there are some error information when I
compile and build the "cubicles" library.
The error information as follows:
Compiling...
Cascade.cpp
d:\handsdk\cubicles\integralimage.h(218) : fatal error C1189:
#error : you must define II_TYPE
CascadeFileScanner.c
c:\program files\microsoft visual studio\vc98\include\eh.h(32) :
fatal error C1189: #error : "eh.h is only for C++!"
Classifiers.cpp
d:\handsdk\cubicles\integralimage.h(218) : fatal error C1189:
#error : you must define II_TYPE
cubicles.cpp
d:\handsdk\cubicles\integralimage.h(218) : fatal error C1189:
#error : you must define II_TYPE
Image.cpp
d:\handsdk\cubicles\integralimage.h(218) : fatal error C1189:
#error : you must define II_TYPE
IntegralFeatures.cpp
d:\handsdk\cubicles\integralimage.h(218) : fatal error C1189:
#error : you must define II_TYPE
IntegralFeaturesSame.cpp
d:\handsdk\cubicles\integralimage.h(218) : fatal error C1189:
#error : you must define II_TYPE
IntegralImage.cxx
d:\handsdk\cubicles\integralimage.cxx(81) : error C2143: syntax
error : missing ';' before '<'
d:\handsdk\cubicles\integralimage.cxx(81) : error
2501: 'CIntegralImageT' : missing storage-class or type specifiers
d:\handsdk\cubicles\integralimage.cxx(81) : error C2059: syntax
error : ';'
d:\handsdk\cubicles\integralimage.cxx(81) : error C2143: syntax
error : missing ';' before '<'
d:\handsdk\cubicles\integralimage.cxx(92) : error
C2588: '::~CIntegralImageT' : illegal global destructor
d:\handsdk\cubicles\integralimage.cxx(92) : fatal error C1903:
unable to recover from previous error(s); stopping compilation
Scanner.cpp
d:\handsdk\cubicles\integralimage.h(218) : fatal error C1189:
#error : you must define II_TYPE
Error executing cl.exe.
CUBICLES.exe - 14 error(s), 0 warning(s)
Wish your help.
Best regards
Xiaodong.Shen
|