On Mon, 31 Oct 2011, Andreas Günther wrote:
are you aware of any people, who have successfully build libMesh as dynamic
library in Microsoft Visual Studio under Windows?
No. The last person I know who tried failed, but they were using a
very old VC++ which didn't fully support the C++98 standards; with a
new Visual Studio your biggest problem ought to be our various POSIX
dependencies.
We are struggling with this issue. For external library use it seems to be
neccessary to "__declspec(dllexport)" all involved libMesh-classes and
-functions. But we do not intend to touch your code at all.
Good luck. Let us know if there's anything reasonable we can do to
patch the svn head to make that easier. E.g. obviously adding
compiler-specific non-C++-isms is a no-no, but (barring other
developers' disagreement) maybe adding a "LIBMESH_EXPORT" macro to
function declarations that you could then #define to what you needed
would be reasonable. We'd also like to add whatever Visual Studio
project file does the equivalent build setup of our autoconf scripts.
---
Roy
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World™ now supports Android™ Apps
for the BlackBerry® PlayBook™. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users