[Trilinos-Users] Compile problem Visual Studio 2010 and 11.0
Baker, Christopher G.
bakercg at ornl.gov
Tue Oct 23 06:26:45 MDT 2012
Can you give us any more of the error than that?
Also, I'm not sure whether Tpetra builds under Visual Studio.
Chris
From: Einar Sørheim <einar at ife.no<mailto:einar at ife.no>>
Date: Tuesday, October 23, 2012 7:47 AM
To: "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: [Trilinos-Users] Compile problem Visual Studio 2010 and 11.0
Hi
I have a problem compiling trilinos on the windows platform using Visual Studio 2010, I have used the cmake-gui to configure the solution files. The problem occurs when reaching the tpetra package in the build process, where I get the following error compiling the Tpetra_Distributor.cpp file :
Error 486 error C2825: 'T': must be a class or namespace when followed by '::' d:\programming\gittrilinos\publictrilinos\packages\teuchos\src\Teuchos_OrdinalTraits.hpp 76 1 tpetra
The offending line in Teuchos_OrdinalTraits.hpp is:
staticinline T notDefined() { return (T::this_type_is_missing_a_specialization()); }
Any ideas as to what the problem is?
Regards
Einar Sorheim
More information about the Trilinos-Users
mailing list