pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Can't get graphics/libgltf to compile



Merry Christmas!

I can't get graphics/libgltf to compile on a NetBSD/amd64 6.1.5
system with an up-to-date pkgsrc.  As this package is a
dependency for misc/libreoffice4, it might be useful to fix it.

The cause of the error seems to be (but I'm no C++ expert):

  CXX      Camera.lo
In file included from /usr/include/gcc-4.5/xmmintrin.h:39:0,
                 from /usr/include/gcc-4.5/emmintrin.h:36,
                 from /usr/pkgsrc/graphics/libgltf/work/.buildlink/include/glm/detail/setup.hpp:621,
                 from /usr/pkgsrc/graphics/libgltf/work/.buildlink/include/glm/detail/type_int.hpp:32,
                 from /usr/pkgsrc/graphics/libgltf/work/.buildlink/include/glm/fwd.hpp:32,
                 from /usr/pkgsrc/graphics/libgltf/work/.buildlink/include/glm/glm.hpp:88,
                 from Camera.h:14,
                 from Camera.cpp:10:
/usr/include/gcc-4.5/mm_malloc.h:34:64: error: declaration of 'int posix_memalign(void**, size_t, size_t) throw ()' throws different exceptions
/usr/include/stdlib.h:237:6: error: from previous declaration 'int posix_memalign(void**, size_t, size_t)'

Am I the only one to have this problem?


Home | Main Index | Thread Index | Old Index