On 02 Mar 2012, at 18:06, trophime wrote: > On Fri, 2012-03-02 at 15:06 +0100, trophime wrote: >> ******************** message de l'anti-virus de messagerie >> ******************** >> * la (les) pieces jointes marquees "possiblevirus" ont ete videes >> * >> * [ attached file(s) tagged "possiblevirus" were emptied ] >> * >> * recuperer ici le mail original : / recover here the original mail : >> * >> https://grenoble.cnrs.fr/recuppj/recuppj.php?log=christophe.trophime&id=150707646297351 >> * pour plus d'informations : / for more information : >> * >> * http://cric.grenoble.cnrs.fr/users/antivirus/ * >> ******************************************************************************* >> >> >> Hi, >> I am trying to compile api_demos >> I add to apply some patches to get most of the codes compiling with gcc >> 4.6 (see the attached patch). But I still have a problem with >> mainGlut.cpp. Where do the Camera class comes from? > > A closer look at gmsh helps to find Camera.h in Graphics... > Here is a update of the changes to get examples to compile, > expect for mainLevelset : > > mainLevelset.cpp:15:24: fatal error: DILevelset.h: No such file or > directory > > I also have made a quick and dirty hack of CMakeLists.txt to use > an already installed gmsh... Is there a way to simplify this? >
Hi Christophe - This idea is that these "api_demos" are example of how to create a projet that uses Gmsh as a subproject, by including it directly (and completely) using cmake. We still need to do some major cleanup work to define a (restricted) a public API. It's basically impossible to do it at the moment with the rate of change in the codebase. >> >> Thanks for any hints >> Best >> C >> _______________________________________________ >> gmsh mailing list >> [email protected] >> http://www.geuz.org/mailman/listinfo/gmsh > > <api_demos_gcc4.6.patch>_______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
