[Gmsh] Can Gmsh be compiled as .lib file?
Laurent Van Miegroet
l.vanmiegroet at ulg.ac.be
Mon Dec 19 17:56:46 CET 2011
Hi Rakesh,
You can compile gmsh without any external lib. But Blas/Lapack is
mandatory for 3D meshing if i'm not wrong and opencascade for CAD geo files.
Laurent
Le 19/12/2011 12:26, rakesh patil a écrit :
> Hey Laurent,
>
> Thanks for your reply. Just before compiling the nightly build, I
> wanted to know the minimum supporting libraries required to compile
> gmsh as a .lib file. (such as blas, lapack etc). What other libraries
> I need to have before compiling it as a static library?
>
> Thanks in advance
>
> Regards
> Rakesh Patil
>
> On Sat, Dec 17, 2011 at 6:18 PM, Laurent Van Miegroet
> <l.vanmiegroet at ulg.ac.be <mailto:l.vanmiegroet at ulg.ac.be>> wrote:
>
> Rakesh,
>
> I corrected the source for msvc. It compile if you uncheck blossom
> and fltk. There is also a project shared for the dll version.
> Download nightly source tomorrow.
>
> Laurent
> Le 17/12/2011 11:03, Laurent Van Miegroet a écrit :
>> Hello Rakesh,
>>
>> 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)
>> The ENABLE_MSVC_STATIC_RUNTIME is used to switch between /MD and /MT.
>> 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).
>>
>> Laurent
>>
>> PS: up to date svn version does not built on msvc 2008, some
>> fixes are needed. Download an older version.
>>
>> Le 17/12/2011 6:37, rakesh patil a écrit :
>>> Hello,
>>>
>>> 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.
>>>
>>> Thanks in advance
>>>
>>> Regards
>>> Rakesh Patil
>>>
>>>
>>> _______________________________________________
>>> gmsh mailing list
>>> gmsh at geuz.org <mailto:gmsh at geuz.org>
>>> http://www.geuz.org/mailman/listinfo/gmsh
>>
>>
>> --
>> Laurent Van Miegroet
>> Research Engineer
>> Department of Aerospace & Mechanical Engineering
>> University of Liege - Belgium
>> Phone : +32.4.366.92.70
>> Fax: +32.4.366.91.59
>>
>>
>> _______________________________________________
>> gmsh mailing list
>> gmsh at geuz.org <mailto:gmsh at geuz.org>
>> http://www.geuz.org/mailman/listinfo/gmsh
>
>
> --
> Laurent Van Miegroet
> Research Engineer
> Department of Aerospace & Mechanical Engineering
> University of Liege - Belgium
> Phone : +32.4.366.92.70
> Fax: +32.4.366.91.59
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org <mailto:gmsh at geuz.org>
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
--
Laurent Van Miegroet
Research Engineer
Department of Aerospace & Mechanical Engineering
University of Liege - Belgium
Phone : +32.4.366.92.70
Fax: +32.4.366.91.59
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111219/2e86b419/attachment.html>