[Gmsh] How to compile Qt interface and Python interface

Karin&NiKo niko.karin at gmail.com
Thu Jan 19 15:30:13 CET 2012


Hi all.

I can compile without problems gmsh-2.5.1-svn-20120119-source on Ubuntu 9.04.

But I just cannot compile the Qt interface. I got the error :
======================================================
cd Qt
ccmake .
======================================================
 CMake Error at CMakeLists.txt:18 (append_gmsh_src):
   Unknown CMake command "append_gmsh_src".
======================================================

The same with the Python interface
======================================================
cd gmshpy
ccmake .
======================================================
 CMake Error at CMakeLists.txt:72 (include):
   include called with wrong number of arguments.  Include only takes one
   file.



 CMake Error at CMakeLists.txt:45 (FILE):
   file Internal CMake error when trying to open file:
   /home/tardieu/Perso/gmsh-2.5.1-svn-20120119-source/gmshpy/swig_gmshCommon_deps.txt
   for reading.
 Call Stack (most recent call first):
   CMakeLists.txt:79 (swig_get_wrapper_dependencies)



 CMake Error at CMakeLists.txt:82 (swig_add_module):
   Unknown CMake command "swig_add_module".
======================================================

Any help?

Nik