[Trilinos-Users] Compiler error compiling teuchos in Windows 7

Bartlett, Roscoe A. bartlettra at ornl.gov
Thu Apr 19 09:19:27 MDT 2012


The compiler output should show the template type that is error is being generated off of.

-Ross


> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-
> bounces at software.sandia.gov] On Behalf Of Baker, Christopher G.
> Sent: Thursday, April 19, 2012 11:09 AM
> To: Mario Rodríguez
> Cc: trilinos-users at software.sandia.gov
> Subject: Re: [Trilinos-Users] Compiler error compiling teuchos in Windows 7
> 
> There's no more error than that?
> 
> From: Mario Rodríguez <shiv4k at gmail.com<mailto:shiv4k at gmail.com>>
> Date: Thu, 19 Apr 2012 11:05:46 -0400
> To: C G Baker <bakercg at ornl.gov<mailto:bakercg at ornl.gov>>
> Cc: "trilinos-users at software.sandia.gov<mailto:trilinos-
> users at software.sandia.gov>" <trilinos-
> users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
> Subject: Re: [Trilinos-Users] Compiler error compiling teuchos in Windows 7
> 
> In the code above the error, it says:
> 
> /// This class reports a compile-time error if you attempt to
> /// instantiate it.  We use this class to make it easy to detect a
> /// missing specialization of \c SerializationTraits.
> 
> And the whole error:
> 
> Teuchos_SerializationTraits.hpp(66): error C2039:
> 'this_type_is_missing_a_specialization' : is not a member of '`global
> namespace''
> Teuchos_SerializationTraits.hpp(66): error C2146: Sytax Error: Missing ')'
> before identifier 'this_type_is_missing_a_specialization'
> Teuchos_SerializationTraits.hpp(66): error C2059: Syntax error : ')'
> Teuchos_SerializationTraits.hpp(66): error C3861:
> 'this_type_is_missing_a_specialization': identifier not found
> 
> 
> 
> 2012/4/19 Baker, Christopher G.
> <bakercg at ornl.gov<mailto:bakercg at ornl.gov>>
> Can you give the rest of the error message? My guess would be that one of
> the scalar types that Anasazi is trying to build against isn't enabled in Teuchos
> (so that its serialization isn't processed.)
> 
> Chris
> 
> From: Mario Rodríguez
> <shiv4k at gmail.com<mailto:shiv4k at gmail.com><mailto:shiv4k at gmail.com<
> mailto:shiv4k at gmail.com>>>
> Date: Thu, 19 Apr 2012 10:53:32 -0400
> To: "trilinos-users at software.sandia.gov<mailto:trilinos-
> users at software.sandia.gov><mailto:trilinos-
> users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>"
> <trilinos-users at software.sandia.gov<mailto:trilinos-
> users at software.sandia.gov><mailto:trilinos-
> users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>>
> Subject: [Trilinos-Users] Compiler error compiling teuchos in Windows 7
> 
> 
> Hi,
> 
> Compiling the Anasazi package in Win7 with VS2010 x64 bits as a shared
> library, we are getting this error:
> 
> Teuchos_SerializationTraits.hpp(66): error C3861:
> 'this_type_is_missing_a_specialization': identifier not found
> 
> in teuchos library. What we should do with this specialization? I've read about
> this but I cant figure out what is this about yet,
> 
> Thanks in advance!
> 
> 
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users





More information about the Trilinos-Users mailing list