[Trilinos-Users] Building trilinos
Bill Spotz
wfspotz at sandia.gov
Thu Oct 8 20:21:51 MDT 2009
I assume by "Bill", you were referring to Bill Hoffman, but I can
confirm that David Cole said CMake did not support shared libraries on
Windows as of August 25.
On Oct 8, 2009, at 10:15 PM, James Willenbring wrote:
> Jason,
>
> Very recently another developer said that CMake does not support
> shared libraries for Windows. I have not tried myself.
>
> Bill,
>
> Can you confirm?
>
> Jim
>
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-bounces at software.sandia.gov
> ] On Behalf Of Heroux, Michael A
> Sent: Thursday, October 08, 2009 4:38 PM
> To: Shepherd, Jason F; trilinos-users at software.sandia.gov
> Subject: Re: [Trilinos-Users] Building trilinos
>
> Jason,
>
> I just tried this set of options and ran into what appears to be the
> same problem. I am new to Visual Studio so I don’t have any
> suggestions. I was able to build everything fine with shared
> libraries turned off. On Linux, shared libraries need the
> LD_LIBRARY_PATH defined in order to have the linker find the
> libraries, if the libraries are not in a standard location. Could
> there be a similar issue with Windows?
>
> Mike
>
>
> On 10/8/09 3:26 PM, "Shepherd, Jason F" <jfsheph at sandia.gov> wrote:
>
> Hi all,
>
> I'm trying to build trilinos on WinXP using Cmake 2.8b with the
> following settings:
>
> * BUILD_SHARED_LIBS = ON
> * TPL_ENABLE_BLAS = ON
> * TPL_ENABLE_LAPACK = ON
> * TPL_ENABLE_MPI = ON
> * Trilinos_ENABLE_Anasazi = ON
> * Trilinos_ENABLE_Epetra = ON
> * Trilinos_ENABLE_Fortran = OFF
> * Trilinos_ENABLE_Teuchos = ON
>
> Clapack was built previously using clapack-3.2.1-CMAKE
>
> I'm getting the following linking errors. Are the relative paths
> setup correctly?
>
> Jason
>
>
>
> LINK : fatal error LNK1104: cannot open file '..\..\epetra\src\Debug
> \epetra.lib'
> Build log was saved at "file://c:\Software\Trilinos_repository
> \trilinos_build\packages\anasazi\src\anasazi.dir\Debug\BuildLog.htm<file://c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\src\anasazi.dir\Debug\BuildLog.htm
> > "
> anasazi - 1 error(s), 0 warning(s)
>
> LINK : fatal error LNK1104: cannot open file '..\..\..\src\Debug
> \anasazi.lib'
> Build log was saved at "file://c:\Software\Trilinos_repository
> \trilinos_build\packages\anasazi\epetra\util\ModeLaplace
> \ModeLaplace.dir\Debug\BuildLog.htm<file://c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\epetra\util\ModeLaplace\ModeLaplace.dir\Debug\BuildLog.htm
> > "
> ModeLaplace - 1 error(s), 2 warning(s)
>
> LINK : fatal error LNK1104: cannot open file '..\..\src\Debug
> \anasazi.lib'
> Build log was saved at "file://c:\Software\Trilinos_repository
> \trilinos_build\packages\anasazi\epetra\src\anasaziepetra.dir\Debug
> \BuildLog.htm<file://c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\epetra\src\anasaziepetra.dir\Debug\BuildLog.htm
> > "
> anasaziepetra - 1 error(s), 0 warning(s)
>
>
> <ATT00002.txt>
** Bill Spotz **
** Sandia National Laboratories Voice: (505)845-0170 **
** P.O. Box 5800 Fax: (505)284-0154 **
** Albuquerque, NM 87185-0370 Email: wfspotz at sandia.gov **
More information about the Trilinos-Users
mailing list