[Gmsh] Error compiling static library

Christophe Geuzaine cgeuzaine at uliege.be
Mon Jul 9 21:17:40 CEST 2018


Did you find the problem?

CG

> On 1 Jul 2018, at 11:37, Luca Verzeroli <luca.verzeroli at serioplast.com> wrote:
> 
> Hi,
> 
> I'm trying to compile the static library but I obtain error such as 
> [  0%] Linking CXX static library libgmsh.a
> /usr/bin/ar: reopening CMakeFiles/lib.dir/Parser/Gmsh.yy.cpp.o: Operation not permitted
> 
> /usr/bin/ar: libgmsh.a: Error reading CMakeFiles/lib.dir/Parser/Gmsh.yy.cpp.o: Operation not permitted
> CMakeFiles/lib.dir/build.make:15330: recipe for target 'libgmsh.a' failed
> make[3]: *** [libgmsh.a] Error 1
> make[3]: *** Deleting file 'libgmsh.a'
> CMakeFiles/Makefile2:579: recipe for target 'CMakeFiles/lib.dir/all' failed
> make[2]: *** [CMakeFiles/lib.dir/all] Error 2
> CMakeFiles/Makefile2:591: recipe for target 'CMakeFiles/lib.dir/rule' failed
> make[1]: *** [CMakeFiles/lib.dir/rule] Error 2
> Makefile:405: recipe for target 'lib' failed
> make: *** [lib] Error 2
> 
> Any ideas to solve? I have tried with sudo but nothing to do. CMake compiles the files correctly and than... the error. I compiled successfully gmsh but not the static library
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180709/e3ee0d09/attachment.html>


More information about the gmsh mailing list