Hello,

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:

http://www.mingw.org/wiki/MSVC_and_MinGW_DLLs

<http://www.mingw.org/wiki/MSVC_and_MinGW_DLLs>If you manage to link your
program with getfem, please let me/us know.

Thank you, hope my info helps a bit.

Jaime

On Wed, Mar 17, 2010 at 15:31, Andres Peratta <[email protected]> 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
> make install
>
> This produces "libgetfem.a" and "libgetfem.la" 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
> Andres
>
> _______________________________________________
> Getfem-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/getfem-users
>
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to