[Gmsh] local_compilation

Eligiusz Postek ewpostek at googlemail.com
Tue Aug 4 20:32:56 CEST 2015


Dear Colleagues,
I have to set manually most of variables
(no adm. rights) on a cluster.
The cmake looks as follows
(I would like to enable gmshpy).

cmake -DENABLE_WRAP_PYTHON=True -DPYTHON_LIBRARY:FILEPATH=/usr/lib64/
libpython2.7.so -DPYTHON_EXECUTABLE:FILEPATH=/usr/lib/python2.7/bin/python
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7
-DFLTK_BASE_LIBRARY=/home/epostek/fltk/fltk_inst/lib/libfltk.a
-DFLTK_FLUID_EXECUTABLE:FILEPATH=/home/epostek/fltk/fltk_inst/bin/fluid
-DFLTK_FORMS_LIBRARY:FILEPATH=/icm/home/ewpostek/fltk/fltk_inst/lib/libfltk_forms.a
-DFLTK_GL_LIBRARY:FILEPATH=/home/epostek/fltk/fltk_inst/lib/libfltk_gl.a
-DFLTK_IMAGES_LIBRARY:FILEPATH=/home/epostek/fltk/fltk_inst/lib/libfltk_images.a
-DFLTK_INCLUDE_DIR=/home/epostek/fltk/fltk_inst/include
-DSWIG_DIR:PATH=/home/epostek/swig2/swig2012/share/swig/2.0.12
-DSWIG_EXECUTABLE:FILEPATH=/home/epostek/swig2/swig2012/bin
-DSWIG_VERSION:STRING=2.0.12 -DENABLE_NUMPY=True
/home/epostek/tmp_gmsh/gmsh_dev

However, I still have an error
-- Found LinuxJoystick
CMake Error at wrappers/gmshpy/CMakeLists.txt:72 (include):
  include called with wrong number of arguments.  Include only takes one
  file.


CMake Error at wrappers/gmshpy/CMakeLists.txt:45 (FILE):
  file Internal CMake error when trying to open file:
  /home/epostek/tmp_gmsh/build/wrappers/gmshpy/swig_gmshCommon_deps.txt for
  reading.
Call Stack (most recent call first):
  wrappers/gmshpy/CMakeLists.txt:86 (swig_get_wrapper_dependencies)

Could you be so kind to give an advice ?
Unfortunately, the gmshpy is not available
in the "nightly"  compiled versions.

Thank you,
Elek Postek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150804/1ef64902/attachment.html>