[Trilinos-Users] [EXTERNAL] CMake doesn't generate dll export macro

Perschbacher, Brent M bmpersc at sandia.gov
Mon Feb 13 11:29:48 MST 2012


Victor,
  Currently there are only 3 packages in Trilinos that support building in shared mode on Windows. Epetra, Anasazi and Teuchos. If you want to use Trilinos on Windows and need any package other than the three listed above you will have to build Trilinos as static libraries.

Brent


On 2/13/12 2:20 AM, "Борисов Виктор" <refactorman at gmail.com> wrote:

Hi,

I try to build trilinos 10.10 with BUILD_SHARED_LIBS option for windows using visual studio 2008 express.
CMake generates me several projects including teuchos, triutils, epetra and aztecoo.
So aztecoo and triutils have not dll export macro, by the way teuchos and epetra have that dll export macro.
In the end I have linker error "Error    49    fatal error LNK1104: cannot open file '..\..\src\Debug\triutils.lib'".

How to fix this dll export bug?


Victor Borisov

________________________________
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
http://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20120213/85437e55/attachment.html 


More information about the Trilinos-Users mailing list