[Trilinos-Users] Compile problem Visual Studio 2010 and 11.0

Hoemmen, Mark mhoemme at sandia.gov
Tue Oct 23 12:21:45 MDT 2012

On Oct 23, 2012, at 12:00 PM, <trilinos-users-request at software.sandia.gov>
> Message: 1
> Date: Tue, 23 Oct 2012 11:47:33 +0000
> From: Einar S?rheim <einar at ife.no>
> Subject: [Trilinos-Users] Compile problem Visual Studio 2010 and 11.0
> To: "trilinos-users at software.sandia.gov"
> 	<trilinos-users at software.sandia.gov>
> Message-ID:
> 	<6640B0F04B3B1049AD994802A59E39D99C50E940 at kj-exch-02.Kjeller.ife.no>
> Content-Type: text/plain; charset="iso-8859-1"
> 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:
> static inline T notDefined() { return (T::this_type_is_missing_a_specialization()); }
> Any ideas as to what the problem is?
> Regards
> Einar Sorheim

This looks like a problem that has been fixed recently.  Would you happen to know what version of Trilinos you are using?  Also, could you figure out what type T is causing the compile error?


More information about the Trilinos-Users mailing list