[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Linking Getfem++ library to a Microsoft Visual Studio

From: Jaime Armendáriz Villalba
Subject: Re: [Getfem-users] Linking Getfem++ library to a Microsoft Visual Studio C++ project
Date: Wed, 17 Mar 2010 15:39:53 +0100


I am trying to achive the same objective as you, however i have not been able to reproduce it.

Since getfem is licensed as LGPL, I'm trying to obtain a correct DLL  to link it from my c++ program (visual studio). I've followed the steps from the following link, but did not manage to link:

If you manage to link your program with getfem, please let me/us know.

Thank you, hope my info helps a bit.


On Wed, Mar 17, 2010 at 15:31, Andres Peratta <address@hidden> wrote:
Is there a way to link the Getfem library to a MVS C++ project that uses the
library? If so, could anyone put me in the right direction on how to do it?

I build the library with the following sequence:

./configure --enable-shared
make install

This produces "libgetfem.a" and "" among other things.
Linking to them statically from a c++ program works absolutely fine, provided
that the code that uses the library is also compiled with gcc (in my case
from mingw).

Despite the "--enable-shared" option passed to "configure", the
outcome "libgetfem.a" still seems to look like a static library, which as far
as I can tell can only be used by code compiled with the same version of gcc
(pls correct me if I'm wrong).

Do I need to produce a DLL? If so, how?

Note: I am using the release version of getfem++3.1

Many thanks in advance

Getfem-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]