[Gmsh] Two problems from a student in China

shu wang rocksoil at yahoo.com.cn
Fri Mar 9 09:24:42 CET 2007


Dear Christophe Geuzaine and Jean-François Remacle,
  I am a student in Beijing, China. I am now learning your gmsh. It is very good. But I meet two problems.
One is about running GetDP or other solvers under Gmsh. My operating system is Windows XP SP2. I compiled Gmsh 1.63.2 sources under cygwin_NT 5.1, with FLTK 1.1.4 and GSL 1.8.2. Instead of running Gmsh under cygwin, I'd like to run it directly under windows xp for some reason, by simply double clicking the built gmsh.exe. It complains about missing some dlls, so I copy the dlls to the bin directory and it works. But when I try to run  GetDP in Gmsh, it doesn't response. So I wonder what else is needed to run GetDP in that case. Or how can I build gmsh's windows version from the sources? The dlls I copy to the bin directory includes 
cygblas.dll,
cygfltknox-0.dll,
cygfltknox_gl-0.dll,
cygfltknox_images-0.dll,
cyggsl-0.dll,
cygjpeg-62.dll,
cygpng12.dll,
cygwin1.dll,
cygz.dll. 
The other is about compiling Gmsh sources. Under the circumstances I just mentioned, I can compile 1.63.2 but 1.64.1 and the later version. It can't find header files of GSL and FL. That's weird. Are there any differences about compiling conditions between these versions? Here is an example of 1.64.1. It does't happen when compiling 1.63.2
  wsh at slope-8c4401112 /cygdrive/f/gmsh/gmsh-1.64.1/common
$ make
g++ -mno-cygwin -g -O2 -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN -DHAVE_METIS -D
HAVE_ANN_ -DHAVE_NO_SOCKLEN_T -DHAVE_LIBZ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FL
TK  -mwindows -DWIN32 -DHAVE_NO_DLL -I../Common -I../DataStr -I../Geo -I../Graph
ics -I../Mesh -I../Numeric -I../Parser -I../Plugin -I../Fltk -I../contrib/MathEv
al -c Context.cpp
In file included from Views.h:27,
                 from DefaultOptions.h:26,
                 from Context.cpp:25:
GmshMatrix.h:114:28: gsl/gsl_linalg.h: No such file or directory
GmshMatrix.h:115:28: gsl/gsl_matrix.h: No such file or directory
GmshMatrix.h:116:28: gsl/gsl_vector.h: No such file or directory
GmshMatrix.h:117:26: gsl/gsl_blas.h: No such file or directory
   
  I really appreciate your help. Thank you very much.
Best regards.
   
  Wang Shu

 		
---------------------------------
 Mp3疯狂搜-新歌热歌高速下   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20070309/f704656d/attachment.html>