[Trilinos-Users] Windows build using VS 2005

Michael.Sielemann at dlr.de Michael.Sielemann at dlr.de
Wed Oct 21 01:36:34 MDT 2009




Dear all,
I am switching from Trilinos 9 and Cygwin to Trilinos 10 and Visual
Studio. I tried VS 2005 with the build batch file given below. Without
the implementations of the Nox abstract interface, everything works fine
(the CLAPACK build is found automatically, all tests pass etc). Using
Epetra and Lapack implementations of the NOX abstract interface however,
error C 2259 pops up at many places ("cannot instantiate abstract
class"). This is not resolved by /Zc:wchar_t-. I understand that
NOX/LOCA were tested with and adapted to Windows/Visual Studio, so I am
wondering whether there is a particular version of Visual Studio that
you recommend? Did I miss something else in the release notes? I am
mostly sticking to trilinos-10.0.1-Source/cmake/README.windows and
http://trilinos.sandia.gov/Trilinos10CMakeQuickstart.txt. I am running
Windows XP and Cmake 2.8.0 rc3. If there is no "easy solution" I may
also start fixing it myself. Just let me know.

[I sent this message two days ago already but apparently it did not make
it to the list]

Best regards,

Michael


----- do-configure.bat -----

set TRILINOS_HOME=F:/F_Source/trilinos-10.0.1-source

cmake ^
  -D Trilinos_ENABLE_NOX:BOOL=ON ^
  -D NOX_ENABLE_ABSTRACT_IMPLEMENTATION_EPETRA:BOOL=ON ^
  -D NOX_ENABLE_ABSTRACT_IMPLEMENTATION_LAPACK:BOOL=ON ^
  -D Trilinos_ENABLE_AztecOO:BOOL=ON ^
  -D Trilinos_ENABLE_Ifpack:BOOL=ON ^
  -D Trilinos_ENABLE_TESTS:BOOL=ON ^
  -D Trilinos_ENABLE_EXAMPLES:BOOL=ON ^
  -D DART_TESTING_TIMEOUT:STRING=600 ^
  -D CMAKR_INSTALL_PREFIX:STRING=F:/H_Install/trilinos-10.0.1-install ^
  %1 %2 %3 %4 %5 %6 %7 %8 %9 ^
  %TRILINOS_HOME




More information about the Trilinos-Users mailing list