[Gmsh] Problems about build Gmsh using CMake's graphical user interface

Xi Zhiping 812726174 at qq.com
Wed Feb 16 04:24:46 CET 2011


Hello,I'm have complied gmsh(gmsh-2.5.0-source) with
cmake(cmake-2.8.3-win32-x86).There is a problem when I open it with Visual
studio 2008.The following is what I do.(I select the part of the Bold )

 

Build Gmsh using CMake's graphical user interface

 

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

 

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

 

* Click on "Configure" and choose your compiler (e.g. Visual Studio).

 

* Optionally change some configuration options (re-run "Configure"

  every time you change some options).

 

* Once you are happy with all the configuration options, click on

  "Generate".

 

* 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 open it and then debug it using "RelWithDebInfo" build type.A dialog
of Calling Executable file appears.which file I shoud select?I never use
executable file. 

 

Looking forward to your reply

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20110216/2859c0b1/attachment.html>