[Trilinos-Users] Building trilinos

James Willenbring jmwille at sandia.gov
Thu Oct 8 20:15:37 MDT 2009


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>
<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\epet
ra\util\ModeLaplace\ModeLaplace.dir\Debug\BuildLog.htm
<file:///c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\epe
tra\util\ModeLaplace\ModeLaplace.dir\Debug\BuildLog.htm>
<file://c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\epet
ra\util\ModeLaplace\ModeLaplace.dir\Debug\BuildLog.htm
<file:///c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\epe
tra\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\epet
ra\src\anasaziepetra.dir\Debug\BuildLog.htm
<file:///c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\epe
tra\src\anasaziepetra.dir\Debug\BuildLog.htm>
<file://c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\epet
ra\src\anasaziepetra.dir\Debug\BuildLog.htm
<file:///c:\Software\Trilinos_repository\trilinos_build\packages\anasazi\epe
tra\src\anasaziepetra.dir\Debug\BuildLog.htm> > "
anasaziepetra - 1 error(s), 0 warning(s)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20091008/74b8b32f/attachment.html 


More information about the Trilinos-Users mailing list