It takes me 2 days to compile 3 projects of handvu.
(xp sp2,visual studio 2008,opencv1.0)
First of all,make sure all the packages(opencv,DXSDK)which needed is installed.
now,begin:
1.compile "cubicles",if you choose "debug MFC"
here comes the error:you must define II_TYPE,
add "#define II_TYPE_FLOAT" in front of "#ifdef...."
now,the another error comes: PVOID....int
add"/wd4430"to the c/c++ ->command line of the project.
successed!
if you choose non-bebug MFC,no trouble comes.
2. compile the handvu,mostly,it is said,error:..nothrow....
fine,add #incldue<new> and /* */ #ifdef DEGUG.......NEW.....#endif.
other errors come,you can add #include "errno.h" and
find "unist.h"(it works in unix),// it!
now ,the project works!
3.now,compile hv_opencv.
the most most most important thing is find enough dlls!
you can download them from web.
ok,when you finish it,the project woks!
now, no problem exsits in vc6,enjoy it!
BUT do not too happy!,if you work with vs2008.
because,the biggest biggest trouble comes!
DLL HELL!
error: R6034! LOAD C RUNTIME LIBARARY!
I can not fix it! I have tried
//
1.mt.exe -manifest app.exe.manifest..
2.#pragma.... modify the version
and use the way given by microsoft. fat32...
//
if you can fix it ,tell me,thank you!
wangjun1025(at)live.cn
I sorry for my poor english!