[Trilinos-Users] Windows XP 64-bit VS 2008 compile time error
Paul LaMotte
pml at thermoanalytics.com
Mon Jul 23 13:57:18 MDT 2012
Hello,
We've been attempting to compile Trilinos 10.10.2 on Windows XP 64-bit
using Visual Studio 2005/2008 and have run into the compile time error
below. This error only appears when compiling a 64-bit version of the
library; compiling a 32-bit version of Trilinos builds fine. It appears
in both VS2005 and 2008. Are there any suggestions as to how we might
remedy this issue?
Thanks
Console output:
============================================================
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTraits.hpp(6
3) : error C2825: 'T': must be a class or namespace when followed by '::'
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTrai
ts.hpp(63) : while compiling class template member function 'unsigned
__int64 Te
uchos::UndefinedSerializationTraits<T>::notDefined(void)'
with
[
T=unsigned __int64
]
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTrai
ts.hpp(89) : see reference to class template instantiation
'Teuchos::UndefinedSe
rializationTraits<T>' being compiled
with
[
T=unsigned __int64
]
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTrai
ts.hpp(89) : while compiling class template member function 'int
Teuchos::Serial
izationTraits<Ordinal,T>::fromCountToDirectBytes(const Ordinal)'
with
[
Ordinal=int,
T=unsigned __int64
]
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTrai
tsHelpers.hpp(236) : see reference to class template instantiation
'Teuchos::Ser
ializationTraits<Ordinal,T>' being compiled
with
[
Ordinal=int,
T=unsigned __int64
]
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTrai
tsHelpers.hpp(233) : while compiling class template member function
'Teuchos::Co
nstValueTypeSerializationBuffer<Ordinal,T>::ConstValueTypeSerializationBuffer(co
nst Ordinal,const T [])'
with
[
Ordinal=int,
T=unsigned __int64
]
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_CommHelpers.hpp(1
207) : see reference to class template instantiation
'Teuchos::ConstValueTypeSer
ializationBuffer<Ordinal,T>' being compiled
with
[
Ordinal=int,
T=unsigned __int64
]
D:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_PerformanceMonito
rBase.cpp(151) : see reference to function template instantiation 'void
Teuchos:
:send<int,unsigned __int64>(const Teuchos::Comm<Ordinal> &,const
Ordinal,const P
acket [],const int)' being compiled
with
[
Ordinal=int,
Packet=unsigned __int64
]
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTraits.hpp(6
3) : error C2039: 'this_type_is_missing_a_specialization' : is not a
member of '
`global namespace''
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTraits.hpp(6
3) : error C2146: syntax error : missing ')' before identifier
'this_type_is_mis
sing_a_specialization'
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTraits.hpp(6
3) : error C2059: syntax error : ')'
d:\work\trilinos\trilinos\packages\teuchos\src\Teuchos_SerializationTraits.hpp(6
3) : error C3861: 'this_type_is_missing_a_specialization': identifier
not found
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe'
: return
code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 9.0\
VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 9.0\
VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
============================================================
Paul LaMotte, Software Engineering Intern
ThermoAnalytics, Inc
(906) 482-9650 x119
23440 Airpark Blvd, Calumet, MI 49913
More information about the Trilinos-Users
mailing list