Hello Frank,

 

When I build with the version 1.17 that fix all my trouble thanks !

With the 1.14 even If I change all export by VCL_TEMPLATE_EXPORT definition as explain here:

    https://lists.sourceforge.net/lists/confirm/vxl-users/66a80887be93f17de0e4689e0f0da04924b66f41

 

I stay have some trouble as vnl_sse< float >::arg_max/min undefined… etc

 

[SOVLED]

 

Regards

 

Soufiane KHIAT

 

From: Frank Tanner [mailto:frank_tanner@hotmail.com]
Sent: 2 juillet 2013 18:44
To: Soufiane Khiat; vxl-users@lists.sourceforge.net
Subject: RE: [Vxl-users] Visual Studio 2012 - x64 - EMIT WARNING C4005

 

Soufiane,

 

Yes, VS 2011 and above doesn't like that VXL redefines the export keyword.  I fixed this for some of the libraries but may not have gotten them all.  I basically replaced references to "export" with a new VCL_TEMPLATE_EXPORT keyword (which is just #define'd to export anyhow).  

 

But from the output, it looks like you have not updated your code in quite some time (I don't think there should be an error in vcl_compiler.h if you have the latest code).  I committed the change on 17-May to the GIT repo.  Please update to the latest and let me know if you still have problems.   

-Frank


From: soufiane.khiat@ubisoft.com
To: vxl-users@lists.sourceforge.net
Date: Tue, 2 Jul 2013 09:35:52 -0400
Subject: [Vxl-users] Visual Studio 2012 - x64 - EMIT WARNING C4005

Dear All,

 

I try to build VXL library. The configuration was pass correctly.

But when I try to build my project with Visual Studio 2012 – x86 – Release, I have thousands error like:

Error      2608      error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h  242

Error      2610      error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h  242

 

135>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h(191): warning C4005: 'export' : macro redefinition

135>          d:\cpplibs\vxl-1.14.0\vcl\vcl_compiler.h(269) : see previous definition of 'export'

135>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h(242): fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.

135>  vpgl_poly_radial_distortion+double.1-.cxx

135>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h(191): warning C4005: 'export' : macro redefinition

135>          d:\cpplibs\vxl-1.14.0\vcl\vcl_compiler.h(269) : see previous definition of 'export'

135>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h(242): fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.

 

Have you already meet this trouble? How you solve it?

 

Cheers

 

Soufiane KHIAT

Software Engineer

 


------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev
_______________________________________________ Vxl-users mailing list Vxl-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vxl-users