On Wed 23 Mar 2005, Shastry, Anand C (Research) wrote:
> I'm new to VXL. I downloaded the latest version of VXL through CVS and used cmake 1.8.3 to create the project file, with default options turned on. I'm using Visual Studio 6.0 on a Windows 2000 system with SP4. I checked to see that multi threaded debug dll is the option in Visual Studio.
> While building VXL, I get 22 of these errors:
> C:\Dev\VXL\vxl\core\vnl\Templates\vnl_matrix_fixed+double.1.3-.cxx(2) : error C2371: 'outer_product' : redefinition; different basic types
> C:\Dev\VXL\vxl\core\vnl/vnl_matrix_fixed.h(872) : see declaration of 'outer_product'
Unfortunately, you checked out of the CVS repository at a time when
the code is broken on VC6 and on Borland 5.1. (It works on other, more
standards compliant compilers.) We are working to try to fix
it. Meanwhile, an option is to revert to an older version of the
problem files. In src/core/vnl, if you run
rm vnl_vector_fixed.h vnl_matrix_fixed.h vnl_matrix_fixed.txx
cvs update -D "2005-03-17 10:09" vnl_vector_fixed.h vnl_matrix_fixed.h vnl_matrix_fixed.txx
you should get a working vnl.