[Gmsh] About Gmsh2.4.4 compile!!!

liang dong edongliang at yahoo.com
Wed Oct 14 12:58:47 CEST 2009


Thank your !! The problem have solved!!

--- 09年10月13日,周二, Christophe Geuzaine <cgeuzaine at ulg.ac.be> 写道:


发件人: Christophe Geuzaine <cgeuzaine at ulg.ac.be>
主题: Re: [Gmsh] About Gmsh2.4.4 compile!!!
收件人: "liang dong" <edongliang at yahoo.com>
抄送: "David Colignon" <David.Colignon at ulg.ac.be>, gmsh at geuz.org
日期: 2009年10月13日,周二,上午3:58


liang dong wrote:
> hello everyone:
>        Thanks your your apply .But i cannot underatand what you said .http://geuz.org/gmsh/bin/Windows/gmsh-2.4.2-Windows.zip is an implementation documentation ,but i want to compile it by myself. "readme.txt "is contained in the gmsh2.4.2-source. I write my compilming procudures and please tell me where i make a  mistake.Thank your.
>  1  Launch CMake and fill-in the two top input fields (telling where the Gmsh source directory is located and where you want the Gmsh binary
>   to be created).
> 2 Click on "Add entry" and define the variable CMAKE_PREFIX_PATH, of type "PATH",pointing to the location(s) of any external package(s)
>   (FLTK, BLAS/LAPACK, etc.) installed in non-standard directories.
>   (If you are using our pre-compiled "gmsh dependencies" package
>   ( <http://geuz.org/gmsh/bin/Windows/gmsh-dep-msvc2008-release.zip>http://geuz.org/gmsh/bin/Windows/gmsh-dep-msvc2008-release.zip <http://geuz.org/gmsh/bin/Windows/gmsh-dep-msvc2008-release.zip)with>)with Visual Studio on Windows simply point CMAKE_PREFIX_PATH to the"gmsh-dep" directory.)
>    This Procudure i used your pre-compiled "gmsh dependencies" package,so i only do "simply point CMAKE_PREFIX_PATH to the"gmsh-dep" directory."   Is it ok?
>  3 Click on "Configure" and choose your compiler (e.g. Visual Studio).
> 4 Optionally change some configuration options (re-run "Configure" every time you change some options).
> This procudure i only run "Configure" one time,and donnot change some confifuration options.  Then click on "Generate ". Is it ok?
>  5 Once you are happy with all the configuration options, click on "Generate".
>   6  Go to the build directory and build Gmsh using your chosen compiler. (With Visual Studio double-click on "gmsh.sln".If you are using our pre-compiled "gmsh dependencies" package you must use the "Release"or "RelWithDebInfo" build type.)
> 
> When i do all procedures ,it generated "gmsh.exe".But i cannot import stp file uesing this "gmsh.exe".
> 

That's normal: our gmsh-dep package does not contain OpenCascade. To
enable STEP import you should download the Windows version of OpenCascade from

http://www.opencascade.org/getocc/download/loadocc/

then install it and reconfigure & recompile Gmsh.



> 
> --- *09年10月11日,周日, David Colignon /<David.Colignon at ulg.ac.be>/* 写道:
> 
> 
>     发件人: David Colignon <David.Colignon at ulg.ac.be>
>     主题: Re: [Gmsh] About Gmsh2.4.4 compile!!!
>     收件人: "liang dong" <edongliang at yahoo.com>
>     抄送: gmsh at geuz.org
>     日期: 2009年10月11日,周日,下午12:27
> 
> 
>     liang dong wrote:
>      > Dear sir:
>      >          I Build Gmsh2.4.2-windows using CMake's graphical user
>     interface,and used your pre-compiled "gmsh dependencies" package.It
>     can generate "Gmsh.exe" .But I cannot import stp file ,it said Gmsh
>     must be compile with Opencascade support to load"*.stp".
>      > What can i do if i want import Step file?
> 
>     Hi,
> 
>     a) the easiest way: use the precompiled binary:
>     http://geuz.org/gmsh/bin/Windows/gmsh-2.4.2-Windows.zip
> 
>     b) as stated in http://geuz.org/gmsh/#Links , start with installing     OpenCascade : http://www.opencascade.org/
> 
>     Cheers,
> 
>     Dave
> 
>      >                                                                                         dongliang
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      > 好玩贺卡等你发,邮箱贺卡全新上线!
>     <http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/>
> 
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > gmsh mailing list
>      > gmsh at geuz.org
>     <http://cn.mc356.mail.yahoo.com/mc/compose?to=gmsh@geuz.org>
>      > http://www.geuz.org/mailman/listinfo/gmsh
> 
> 
> ------------------------------------------------------------------------
> 好玩贺卡等你发,邮箱贺卡全新上线! <http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine




      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20091014/5656aae5/attachment.html>