SCI Seg3D Mailing List

Text archives Help


[Seg3D] building error and HDF5


Chronological Thread 
  • From: Petar Petrov <pip010@gmail.com>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] building error and HDF5
  • Date: Tue, 18 Nov 2014 14:27:28 +0100

Hello Seg3D users,
I have hard times trying to build seg3D on Ubuntu machine, currently 12.04 with gcc 4.8.2
but I recall I experienced the same issue even several years ago!

namely, HDF5 external library is not compiling and I found no way to disable it in CMake, since I couldn’t care less about HDF5.

Any other advice?

[ 60%] Building C object Externals/hdf5/src/CMakeFiles/hdf5.dir/H5F.c.o
/home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c: In function ‘H5F_build_actual_name’:
/home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2219:9: warning: implicit declaration of function ‘lstat’ [-Wimplicit-function-declaration]
         if(HDlstat(name, &lst) < 0)
         ^
/home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2223:12: error: ‘S_IFLNK’ undeclared (first use in this function)
         if(S_IFLNK == (lst.st_mode & S_IFMT)) {
            ^
/home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2223:12: note: each undeclared identifier is reported only once for each function it appears in
/home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2223:38: error: ‘S_IFMT’ undeclared (first use in this function)
         if(S_IFLNK == (lst.st_mode & S_IFMT)) {
                                      ^
/home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2228:27: error: ‘PATH_MAX’ undeclared (first use in this function)
             char realname[PATH_MAX];    /* Fully resolved path name of file */



Archive powered by MHonArc 2.6.18.

Top of page