(0) TooN\SymEigen.h-->Uncomment
if(ev[0] > ev[1])
swap(ev[0], ev[1]);
if(ev[1] > ev[2])
swap(ev[1], ev[2]);
if(ev[0] > ev[1])
swap(ev[0], ev[1]);
Change to:
if(ev[0] > ev[1])
std::swap(ev[0], ev[1]);
if(ev[1] > ev[2])
std::swap(ev[1], ev[2]);
if(ev[0] > ev[1])
std::swap(ev[0], ev[1]);
(1) PTAM_PTAMM_Build\libcvd-20100511\build\vc2005:
Build libcvd.sln (VS2010)-->Copyfiles from PTAM_PTAMM_Build\libcvd-20100511\lib to PTAM_PTAMM_Build\lib.
NOTE: In the pnm_src direction of solution, add png.cc and cvdimage.cxx.
(2) PTAM_PTAMM_Build\gvars3\build\vc2005:
Build gvars3.sln(VS2010) --> Copyfiles from PTAM_PTAMM_Build\gvars3\lib to PTAM_PTAMM_Build\lib.
(3) Unzip PTAM.zip
Copy all files from PTAM\Build\Win32 to PTAM\ -->Open the project with VS2010 -->Change the include direction (PTAM_PTAMM_Build\include) -->Change the lib direction (PTAM_PTAMM_Build\lib)-->Release Build Solution.
NOTE: 1、blas_win32.lib miss, change to blas_win32_MT.lib; 2、Add the lib ws2_32.lib, otherwise there are some errors,unresolved external symbol__imp__htons@4Debug/CADTest.exe blabla..3、Add the libs of openCV: cv210.lib、cxcore210.lib、highgui210.lib.
Finally, change the src of VideoSource_Win32_CMU1394.cc, in order to use Webcamera to capture.
Actually, the process of PTAMM is the same with PTAM.