[Gmsh] About Gmsh2.4.4 compile!!!

liang dong edongliang at yahoo.com
Mon Oct 12 04:25:43 CEST 2009


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)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".


--- 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://www.geuz.org/mailman/listinfo/gmsh




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