[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-users] Linking Getfem++ library to a Microsoft Visual Studio C++
From: |
Andres Peratta |
Subject: |
[Getfem-users] Linking Getfem++ library to a Microsoft Visual Studio C++ project |
Date: |
Wed, 17 Mar 2010 14:31:15 +0000 |
User-agent: |
KMail/1.9.6 (enterprise 20070904.708012) |
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] Linking Getfem++ library to a Microsoft Visual Studio C++ project,
Andres Peratta <=