From: Shastry, A. C \(Research\) <ana...@ge...> - 2005-03-23 09:36:17
|
Hello, 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' vnl_matrix_fixed+double.2.1-.cxx C:\Dev\VXL\vxl\core\vnl\Templates\vnl_matrix_fixed+double.2.1-.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' vnl_matrix_fixed+double.2.3-.cxx .....(snip) Generating Code... Error executing cl.exe. ALL_BUILD - 22 error(s), 0 warning(s) Any help is appreciated. Thanks, Anand |
From: vanroose <Pet...@es...> - 2005-03-23 10:45:39
|
> vnl_matrix_fixed+double.1.3-.cxx(2): error C2371: 'outer_product' : redefinition; different basic types I realise that I'm probably responsible for this error, since I've made a change to the outer_product function a few days ago. The change did compile well on other platforms, but apparently gives problems with Visual-C++. Unfortunately I have no possibility to use Visual-C++ and try out possible solutions to this. Probably this error will be solved soon, but meanwhile I would suggest you to download an older CVS version of vxl, or at least of just vnl. The change is from Mar 17 20:09:49 2005 UTC, so e.g. downloading the CVS version of Mar 17 00:00 should compile OK. -- Peter Vanroose. |
From: Amitha P. <pe...@cs...> - 2005-03-23 14:27:29
|
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. Amitha. |
From: Amitha P. <pe...@cs...> - 2005-03-24 17:49:55
|
On Wed 23 Mar 2005, Shastry, Anand C (Research) wrote: > 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' > vnl_matrix_fixed+double.2.1-.cxx > C:\Dev\VXL\vxl\core\vnl\Templates\vnl_matrix_fixed+double.2.1-.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' > vnl_matrix_fixed+double.2.3-.cxx > .....(snip) > Generating Code... > Error executing cl.exe. Anand, VNL should now compile cleanly under VC6. Amitha. |