Hi Octavio, This error is occurring in the build of the third party OpenCascade 0.17 library. It looks like the header file xlocale.h was removed from glibc with a recommendation to use locale.h instead (see https://sourceware.org/legacy-ml/libc-alpha/2017-08/msg00010.html <https://sourceware.org/legacy-ml/libc-alpha/2017-08/msg00010.html>, which I found via https://github.com/agracio/electron-edge-js/issues/16 <https://github.com/agracio/electron-edge-js/issues/16>). I assume you’re using a very recent version of Ubuntu (I think you may have said in a previous message to the list that you’re using 20.04?) Open Cascade 0.18.3 is packaged for Ubuntu so you should be able to just install the system packages and Nektar++ will detect them and won’t need to build OCE. If install the package “liboce-ocaf-dev” (e.g. sudo apt-get install liboce-ocaf-dev) then this should install the necessary OCE packages to build Nektar++ with mesh generation support. Regards, Jeremy
On 11 Nov 2020, at 04:59, Octavio Morales <oct_amg1289@hotmail.com> wrote:
This email from oct_amg1289@hotmail.com <mailto:oct_amg1289@hotmail.com> originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
De: Octavio Morales Enviado: martes, 10 de noviembre de 2020 10:56 p. m. Para: nektar-users@imperial.ac.uk <mailto:nektar-users@imperial.ac.uk> <nektar-users@imperial.ac.uk <mailto:nektar-users@imperial.ac.uk>> Asunto: Help MESHGEN
Hi again, I am trying to use the Mesh Generation option by setting the NEKTAR_USE_MESHGEN option to ON but when I try to compile it this pops up
In file included from /home/augustico/nektar-master/ThirdParty/oce-0.17/src/Standard/Standard_CLocaleSentry.cxx:16: /home/augustico/nektar-master/ThirdParty/oce-0.17/src/Standard/Standard_CLocaleSentry.hxx:39:12: fatal error: xlocale.h: No existe el archivo o el directorio 39 | #include <xlocale.h> | ^~~~~~~~~~~ compilation terminated. make[5]: *** [adm/cmake/TKernel/CMakeFiles/TKernel.dir/build.make:1688: adm/cmake/TKernel/CMakeFiles/TKernel.dir/__/__/__/src/Standard/Standard_CLocaleSentry.cxx.o] Error 1 make[4]: *** [CMakeFiles/Makefile2:1193: adm/cmake/TKernel/CMakeFiles/TKernel.dir/all] Error 2 make[3]: *** [Makefile:152: all] Error 2 make[2]: *** [CMakeFiles/oce-0.17.dir/build.make:115: ThirdParty/stamp/oce-0.17-build] Error 2 make[1]: *** [CMakeFiles/Makefile2:1373: CMakeFiles/oce-0.17.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
<Captura de pantalla de 2020-11-10 22-56-46.png><Captura de pantalla de 2020-11-10 22-49-37.png><Captura de pantalla de 2020-11-10 22-49-42.png>_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk <mailto:Nektar-users@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users <https://mailman.ic.ac.uk/mailman/listinfo/nektar-users>