[Trilinos-Users] Building trilinos
Heroux, Michael A
maherou at sandia.gov
Thu Oct 8 15:38:19 MDT 2009
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20091008/099091e3/attachment.html
More information about the Trilinos-Users
mailing list