Package Details: krislibrary-git r331.c8ff3fe-1

Git Clone URL: https://aur.archlinux.org/krislibrary-git.git (read-only, click to copy)
Package Base: krislibrary-git
Description: Basic math, geometry, and robotics, and other routines used in projects from Kris Hauser's lab
Upstream URL: https://github.com/krishauser/KrisLibrary
Licenses: BSD
Conflicts: krislibrary
Provides: krislibrary
Submitter: bchretien
Maintainer: None
Last Packager: bchretien
Votes: 1
Popularity: 0.000000
First Submitted: 2015-10-07 11:48 (UTC)
Last Updated: 2015-10-07 15:54 (UTC)

Latest Comments

MarsSeed commented on 2024-02-27 12:43 (UTC) (edited on 2024-02-27 12:43 (UTC) by MarsSeed)

Fails to build, both on my KDE Desktop system (makepkg), and in clean chroot (log is from the latter):

[ 22%] Building CXX object CMakeFiles/KrisLibrary.dir/GLdraw/GLRenderToImage.cpp.o
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLOffscreenContext.cpp:10:10: fatal error: GL/glew.h: No such file or directory
   10 | #include <GL/glew.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/KrisLibrary.dir/build.make:664: CMakeFiles/KrisLibrary.dir/GLdraw/GLOffscreenContext.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp: In member function ‘void 
    GLDraw::GLRenderToImage::GetRGBA(std::vector<unsigned int>&)’:
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp:269:7: error: ‘glBindFramebufferEXT’ was not declared in this scope
  269 |       glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fb);
      |       ^~~~~~~~~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp:274:7: error: ‘glBindFramebuffer’ was not declared in this scope
  274 |       glBindFramebuffer(GL_FRAMEBUFFER, fb);
      |       ^~~~~~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp: In member function ‘void 
    GLDraw::GLRenderToImage::GetRGBA(std::vector<unsigned char>&)’:
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp:311:7: error: ‘glBindFramebufferEXT’ was not declared in this scope
  311 |       glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fb);
      |       ^~~~~~~~~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp:316:7: error: ‘glBindFramebuffer’ was not declared in this scope
  316 |       glBindFramebuffer(GL_FRAMEBUFFER, fb);
      |       ^~~~~~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp: In member function ‘void 
    GLDraw::GLRenderToImage::GetRGB(std::vector<unsigned char>&)’:
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp:367:7: error: ‘glBindFramebufferEXT’ was not declared in this scope
  367 |       glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fb);
      |       ^~~~~~~~~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp:372:7: error: ‘glBindFramebuffer’ was not declared in this scope
  372 |       glBindFramebuffer(GL_FRAMEBUFFER, fb);
      |       ^~~~~~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp: In member function ‘void GLDraw::GLRenderToImage::GetRGB(Image&)’:
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp:410:7: error: ‘glBindFramebufferEXT’ was not declared in this scope
  410 |       glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fb);
      |       ^~~~~~~~~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/GLdraw/GLRenderToImage.cpp:415:7: error: ‘glBindFramebuffer’ was not declared in this scope
  415 |       glBindFramebuffer(GL_FRAMEBUFFER, fb);
      |       ^~~~~~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp: In member function ‘void 
    Geometry::DenseTSDFReconstruction::Fuse(const Math3D::RigidTransform&, const Meshing::PointCloud3D&, Math::Real)’:
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:507:69: warning: ‘rgb[0]’ may be used uninitialized 
    [-Wmaybe-uninitialized]
  507 |             vox.rgb[c] = (unsigned char)(vox.rgb[c] + usurf*(rgb[c] - vox.rgb[c]));
      |                                                             ~~~~~~~~^~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:414:8: note: ‘rgb[0]’ was declared here
  414 |   Real rgb[3];
      |        ^~~
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:507:69: warning: ‘rgb[1]’ may be used uninitialized 
    [-Wmaybe-uninitialized]
  507 |             vox.rgb[c] = (unsigned char)(vox.rgb[c] + usurf*(rgb[c] - vox.rgb[c]));
      |                                                             ~~~~~~~~^~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:414:8: note: ‘rgb[1]’ was declared here
  414 |   Real rgb[3];
      |        ^~~
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:507:69: warning: ‘rgb[2]’ may be used uninitialized 
    [-Wmaybe-uninitialized]
  507 |             vox.rgb[c] = (unsigned char)(vox.rgb[c] + usurf*(rgb[c] - vox.rgb[c]));
      |                                                             ~~~~~~~~^~~~~~~~~~~~~
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:414:8: note: ‘rgb[2]’ was declared here
  414 |   Real rgb[3];
      |        ^~~
make[2]: *** [CMakeFiles/KrisLibrary.dir/build.make:678: CMakeFiles/KrisLibrary.dir/GLdraw/GLRenderToImage.cpp.o] Error 1
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp: In function ‘void DoFuse(FuseThreadData*, const std::vector<long 
    unsigned int>&)’:
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:1025:68: warning: ‘pointRgb[0]’ may be used uninitialized 
    [-Wmaybe-uninitialized]
 1025 |                 rgb[c] = (unsigned char)(rgb[c] + usurf*(pointRgb[c] - rgb[c]));
      |                                                          ~~~~~~~~~~^
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:905:17: note: ‘pointRgb[0]’ was declared here
  905 |   unsigned char pointRgb[3];
      |                 ^~~~~~~~
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:1025:68: warning: ‘pointRgb[1]’ may be used uninitialized 
    [-Wmaybe-uninitialized]
 1025 |                 rgb[c] = (unsigned char)(rgb[c] + usurf*(pointRgb[c] - rgb[c]));
      |                                                          ~~~~~~~~~~^
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:905:17: note: ‘pointRgb[1]’ was declared here
  905 |   unsigned char pointRgb[3];
      |                 ^~~~~~~~
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:1025:68: warning: ‘pointRgb[2]’ may be used uninitialized 
    [-Wmaybe-uninitialized]
 1025 |                 rgb[c] = (unsigned char)(rgb[c] + usurf*(pointRgb[c] - rgb[c]));
      |                                                          ~~~~~~~~~~^
/build/krislibrary-git/src/KrisLibrary/geometry/TSDFReconstruction.cpp:905:17: note: ‘pointRgb[2]’ was declared here
  905 |   unsigned char pointRgb[3];
      |                 ^~~~~~~~
make[1]: *** [CMakeFiles/Makefile2:153: CMakeFiles/KrisLibrary.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...