[Gmsh] gmsh-4.0.1 : error during cmake

Christophe Geuzaine cgeuzaine at uliege.be
Wed Sep 26 09:48:13 CEST 2018



> On 25 Sep 2018, at 12:18, Ashwini D R <ashwinidr3 at gmail.com> wrote:
> 
> Hi 
> 
> Thanks for the help  ! 
>  gmsh was installed successfully, However i have trouble generating the cgns file. 
> 
> cmake -DENABLE_HXT=0 -DENABLE_CGNS=1 ..
> 

Do you have the CGNS library installed on your system? If you do, check the cmake log to see why it was not picked up.



> make
> 
> make install
> 
>  
> /gmsh-4.0.1-source/Gmsh401/gmsh spices.geo -1 -format cgns -o /Mesh/spices.cgns
> 
> Error   : This version of Gmsh was compiled without CGNS support
> 
> Kindly help
> 
> Thanks and Regards,
> Ashwini D R
> 
> On Mon, Sep 24, 2018 at 11:47 PM Christophe Geuzaine <cgeuzaine at uliege.be> wrote:
> 
> HXT is not yet support with Visual C++ : just disable it (cmake -DENABLE_HXT=0)
> 
> > On 24 Sep 2018, at 13:59, Max Orok <morok at mevex.com> wrote:
> > 
> > Hi Ashwini, 
> > 
> > Is there any more information about your build, like build options, system info, etc?
> > 
> > Sincerely,
> > Max Orok
> > 
> > On Mon, Sep 24, 2018 at 7:53 AM Ashwini D R <ashwinidr3 at gmail.com> wrote:
> > Hi,
> > 
> > I get the following error during the installation of gmsh, Kindly help
> > 
> > 
> > In file included from /opt/software/gmsh-4.0.1-source/contrib/hxt/hxt_linear_system.c:21:
> > 
> > /opt/software/gmsh-4.0.1-source/contrib/hxt/hxt_linear_system_lu.h:6: error: redefinition of typedef ‘HXTLinearSystemLU’
> > 
> > /opt/software/gmsh-4.0.1-source/contrib/hxt/hxt_linear_system.h:23: note: previous declaration of ‘HXTLinearSystemLU’ was here
> > 
> > make[2]: *** [CMakeFiles/gmsh.dir/contrib/hxt/hxt_linear_system.c.o] Error 1
> > 
> > make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2
> > 
> > make: *** [all] Error 2
> > 
> > 
> > 
> > 
> > 
> > Thanks and Regards,
> > 
> > Ashwini D R
> > 
> > _______________________________________________
> > gmsh mailing list
> > gmsh at onelab.info
> > http://onelab.info/mailman/listinfo/gmsh
> > 
> > 
> > -- 
> > Max Orok
> > Contractor
> > www.mevex.com
> > 
> > 
> > _______________________________________________
> > gmsh mailing list
> > gmsh at onelab.info
> > http://onelab.info/mailman/listinfo/gmsh
> 
>> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science 
> http://www.montefiore.ulg.ac.be/~geuzaine
> 
> Free software: http://gmsh.info | http://getdp.info | http://onelab.info
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list