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

Mario Rodríguez shiv4k at gmail.com
Tue Apr 24 09:17:19 MDT 2012


So, is unsigned __int64  the data type without "specialization"? Where is
it?

2012/4/19 Mario Rodríguez <shiv4k at gmail.com>

>   More verbose info:
>
>   Teuchos_SerializationTraits.hpp(66) : durante la compilación de la
> función miembro de plantilla de clase 'unsigned __int64
> Teuchos::UndefinedSerializationTraits<T>::notDefined(void)'
> 2>          with
> 2>          [
> 2>              T=unsigned __int64
> 2>          ]
> 2>         Teuchos_SerializationTraits.hpp(192) : vea la referencia a la
> creación de instancias de plantilla de clase
> 'Teuchos::UndefinedSerializationTraits<T>' que se está compilando
> 2>          with
> 2>          [
> 2>              T=unsigned __int64
> 2>          ]
> 2>         Teuchos_SerializationTraits.hpp(190) : durante la compilación
> de la función miembro de plantilla de clase 'int
> Teuchos::SerializationTraits<Ordinal,T>::fromCountToIndirectBytes(const
> Ordinal,const T [])'
> 2>          with
> 2>          [
> 2>              Ordinal=int,
> 2>              T=unsigned __int64
> 2>          ]
> 2>         Teuchos_SerializationTraitsHelpers.hpp(506) : vea la referencia
> a la creación de instancias de plantilla de clase
> 'Teuchos::SerializationTraits<Ordinal,T>' que se está compilando
> 2>          with
> 2>          [
> 2>              Ordinal=int,
> 2>              T=unsigned __int64
> 2>          ]
> 2>         Teuchos_CommHelpers.hpp(1576) : vea la referencia a la creación
> de instancias de plantilla de clase
> 'Teuchos::ConstValueTypeSerializationBuffer<Ordinal,T>' que se está
> compilando
> 2>          with
> 2>          [
> 2>              Ordinal=int,
> 2>              T=unsigned __int64
> 2>          ]
> 2>         Teuchos_PerformanceMonitorBase.cpp(151) : vea la referencia a
> la creación de instancias de plantilla de función 'void
> Teuchos::send<int,unsigned __int64>(const Teuchos::Comm<Ordinal> &,const
> Ordinal,const Packet [],const int)' que se está compilando
> 2>          with
> 2>          [
> 2>              Ordinal=int,
> 2>              Packet=unsigned __int64
> 2>          ]
>
> 2012/4/19 Bartlett, Roscoe A. <bartlettra at ornl.gov>
>
> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20120424/aaea7e84/attachment.html 


More information about the Trilinos-Users mailing list