Dear Christophe,

Good evening from San Jose, California.
I am hoping you have a little spare time to help me out with my Gmsh problem,
namely, my built Gmsh on a RHEL4 (Redhat Enterprse Linux v4) has no GUI!
The problem is most likely due to my unfamiliarity with Gmsh as well as cmake,
but I hope you can graciously tell me how I can solve the problem.
Thanks in adavance for all your help.

Following is a somewhat detailed description of the problem.
The Linux binary on the Gmsh site failed to run on my Linux machine with the
following message:
   ... /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found ...
I suspect this is due to Gmsh binary being built with a newer version
of library.
My linux is an old machine running 32bit RHEL4. Here is uname -a
Linux localhost.localdomain 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT
2006 i686 i686 i386 GNU/Linux

I thought no problem and went ahead and built Gmsh from its source
file (version 2.5.0).
In building Gmsh, I used all defaults; all seemed to go well and gmsh executable
was created. However, my resulting gmsh executable has no GUI!
For example, trying the follwoing:
  gmsh PanelPatch.bdf
the follwoing are displayed:
_____________________________________________________________________________________________________________________________
Info    : Running
'/tmp/scsi1/z-ztmpdir/z-t1/gmsh-2.5.0-source/z-build/gmsh
PanelPatch.bdf' [1 node(s), max. 1 thread(s)]
Info    : Started on Thu Feb 16 13:56:47 2012
Info    : Reading 'PanelPatch.bdf'...
Info    : 18 vertices
Info    : Done reading 'PanelPatch.bdf'
Info    : Stopped on Thu Feb 16 13:56:47 2012
_____________________________________________________________________________________________________________________________

I dug into stuff on Gmsh webpage and internet, and found that Gmsh uses
FLTK for its GUI. I then checked the log file of Gmsh nighhtly build and saw
in the file, there are references to Fltk being looked for and its objects being
created. For example:
-- Found Fltk
-- Using fltk-config script for Fltk 1.3

However, when I examined my cmake results (copy attached for your inspection),
I noticed that there is NO reference to Fltk stuff at all, which I
suppose is the
reason reason why my built Gmsh has no GUI.
As you can see from the attached log file, my Gmsh configuration does NOT
have any reference to Fltk, whereas the Gmsh nightly log does.

What am I doing wrong? Could the problem be that FLTK is pehaps not
installed on my machine? How can check this out?
I greatly appreciate any help you can give me to fix this problem and
get my Gmsh
to have the GUI as it should.
Thanks.

Best Regards,

Jamshid gharib
###################################
date
Thu Feb 16 12:16:41 PST 2012

  #Build Gmsh from command line
  #-----------------------------------------------------------------------------------------------------------------------------
  #Note that file:
  #  README.txt
  #describes the steps to Build Gmsh from the command line.
  #=================================================================================================================================
  cd /tmp/scsi1/z-ztmpdir/z-t1/gmsh-2.5.0-source
  mkdir -p /tmp/scsi1/z-ztmpdir/z-t1/gmsh-2.5.0-source/z-build
  cd /tmp/scsi1/z-ztmpdir/z-t1/gmsh-2.5.0-source/z-build
  # cmake ../
  # /opt/cmake/bin/cmake ../ > zz-GmshBuild_01-cmake-20120216.log
  /opt/cmake/bin/cmake ../
_____________________________________________________________________________________________________________________________
-- The CXX compiler identification is GNU
-- The C compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/g77
-- Check for working Fortran compiler: /usr/bin/g77  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/g77 supports Fortran 90
-- Checking whether /usr/bin/g77 supports Fortran 90 -- no
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- A library with BLAS API found.
-- Found Blas
-- A library with BLAS API found.
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- A library with LAPACK API found.
-- Found Lapack
-- Found Mesh
-- Found Solver
-- Found Post
-- Found Plugins
-- Found Parser
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/X11R6/lib/libX11.so
-- Found OpenGL: /usr/lib/libGL.so
-- Could NOT find FLTK (missing:  FLTK_LIBRARIES)
-- Found Ann
-- Found Chaco
-- Found DIntegration
-- Found Gmm
-- Found Kbipack
-- Found GMP
-- Found MathEx
-- Found Mpeg
-- Found Metis
WARNING: By including Metis you have to comply with Metis' special licensing requirements stated in contrib/Metis/README.txt.
-- Found Netgen
-- Found Bamg
-- Found Tetgen
WARNING: By including Tetgen you have to comply with Tetgen's special licensing requirements stated in contrib/Tetgen/LICENSE.
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Found Dlopen

Gmsh has been configured for Linux with the following options: Ann Bamg Blas Chaco DIntegration Dlopen GMP Gmm Kbipack Lapack MathEx Mesh Metis Mpeg Netgen Parser Plugins Post Solver Tetgen

C compiler: /usr/bin/gcc
C++ compiler: /usr/bin/c++
Build type: RelWithDebInfo
Install prefix: /usr/local

Run 'ccmake /tmp/scsi1/z-ztmpdir/z-t1/gmsh-2.5.0-source' to fine-tune the configuration.

-- Configuring done
WARNING: Target "lib" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.  CMake does not define behavior for this case.
WARNING: Target "shared" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.  CMake does not define behavior for this case.
-- Generating done
-- Build files have been written to: /tmp/scsi1/z-ztmpdir/z-t1/gmsh-2.5.0-source/z-build

_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to