Hi Christophe, Yes you are right, it does work using the latest nightly build.
[Actually in my original post I claimed to do this but in fact I mistakenly used the 2.8.3 source instead. Sorry, my mistake.] Thanks! Dave On Dec 3, 2013, at 11:33 PM, Christophe Geuzaine <[email protected]> wrote: > > On 04 Dec 2013, at 03:20, David Bernstein <[email protected]> wrote: > >> Hi Everyone, Using the nightly build the attached geo file runs fine through >> the GUI. However the C++ code I wrote shows a segfault when I try to use >> the API function readGEO. The entire C++ code is: >> >> GmshInitialize(); >> >> GModel *pGModel = new GModel(); >> >> pGModel->readGEO(geoFileName); >> >> pGModel->mesh(3); >> >> <do something with pGModel> >> >> delete pGModel; >> GmshFinalize(); >> >> Has something changed in 2.8.3? This worked in 2.8.2. >> > > Hi Dave - Can you try with the latest nightly build? We made a change in > 2.8.3 that could indeed crash some coumpound surfaces. > > >> Thanks, >> Dave >> >> <terafracmesh.geo>_______________________________________________ >> 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
