<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Rakesh,<br>
<br>
Gmsh can be built as a .lib for sure under MSVC 2008. Generate your
project with cmake, uncheck FLTK in cmake and build the lib project
to obtain a library. (.lib)<br>
The ENABLE_MSVC_STATIC_RUNTIME is used to switch between /MD and
/MT.<br>
To obtain a dll file you may change the output configuration type of
the gmsh project to dll instead of exe (not the lib project).<br>
<br>
Laurent<br>
<br>
PS: up to date svn version does not built on msvc 2008, some fixes
are needed. Download an older version.<br>
<br>
Le 17/12/2011 6:37, rakesh patil a écrit :
<blockquote
cite="mid:CAOG35ckOiNdrc6V3vi26Le6S=8-1ypMiTAdxqw2vzUpjhZvr9w@mail.gmail.com"
type="cite">Hello,<br>
<br>
Can gmsh be compiled as static library (.lib) and dynamic
library(.dll) file? If so what is the procedure? I want to test it
with both 32bit and 64bit mode on windows 7 64bit OS, with visual
studio 2008 and CMAKE. <br>
<br>
Thanks in advance<br>
<br>
Regards<br>
Rakesh Patil<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gmsh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>
<a class="moz-txt-link-freetext" href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<small>Laurent Van Miegroet<br>
Research Engineer<br>
Department of Aerospace & Mechanical Engineering<br>
University of Liege - Belgium<br>
Phone : +32.4.366.92.70<br>
Fax: +32.4.366.91.59<br>
</small></div>
</body>
</html>