[Gmsh] python example files?

David Colignon David.Colignon at ulg.ac.be
Mon Mar 28 09:37:15 CEST 2011


>> Hi Perrin - If you have swig>= 2.0 installed on your system the
>> wrappers should be automatically built (make _gmshpy). Attached is a
>> small example.
>
> In debian sid, the default swig is 1.3. There's a swig 2.0 but the
> binary is called swig2.0. Cmake can only find the default version. How
> can I instruct cmake to find the required version 2.0?
>
> Regards,
> ST


Hi,

try with:

cmake -DCMAKE_PREFIX_PATH:string="/path/to/swig2/"

Regards,

Dave

-- 
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Sart-Tilman B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW:    http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com