Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Surface_reconstruction_points_3 compilation error

Subject: CGAL users discussion list

List archive

[cgal-discuss] Surface_reconstruction_points_3 compilation error


Chronological Thread 
  • From:
  • To:
  • Subject: [cgal-discuss] Surface_reconstruction_points_3 compilation error
  • Date: Fri, 3 Oct 2014 00:18:39 -0700

Hello,

I am a new user and have tried to compile this example from a number of
CGAL releases, I have also installed the requirements and "reinstalled"
boost... Can someone please help me out? I'm not quite sure what the
hang-up is. Thank you in advance!

kc

===========================================
~/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3$ make
Scanning dependencies of target poisson_reconstruction
[ 50%] Building CXX object
CMakeFiles/poisson_reconstruction.dir/poisson_reconstruction.cpp.o
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Kd_tree.h:34,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/K_neighbor_search.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Orthogonal_k_neighbor_search.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/AABB_tree/AABB_search_tree.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/AABB_tree.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/poisson_reconstruction.cpp:12:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier
before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before
numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id
before numeric constant
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier
before ‘system_time’
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Kd_tree.h:34,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/K_neighbor_search.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Orthogonal_k_neighbor_search.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/AABB_tree/AABB_search_tree.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/AABB_tree.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/poisson_reconstruction.cpp:12:
/usr/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*,
int)’:
/usr/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was
not declared in this scope
/usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/include/boost/thread/locks.hpp:12:0,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Kd_tree.h:34,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/K_neighbor_search.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Orthogonal_k_neighbor_search.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/AABB_tree/AABB_search_tree.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/AABB_tree.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/poisson_reconstruction.cpp:12:
/usr/include/boost/thread/thread_time.hpp:19:24: note:
‘boost::get_system_time’
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Kd_tree.h:34,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/K_neighbor_search.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Orthogonal_k_neighbor_search.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/AABB_tree/AABB_search_tree.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/AABB_tree.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/poisson_reconstruction.cpp:12:
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration
before ‘}’ token
make[2]: ***
[CMakeFiles/poisson_reconstruction.dir/poisson_reconstruction.cpp.o] Error
1
make[1]: *** [CMakeFiles/poisson_reconstruction.dir/all] Error 2
make: *** [all] Error 2
kc@oblivion-tre:~/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3$
make
[ 50%] Building CXX object
CMakeFiles/poisson_reconstruction.dir/poisson_reconstruction.cpp.o
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Kd_tree.h:34,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/K_neighbor_search.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Orthogonal_k_neighbor_search.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/AABB_tree/AABB_search_tree.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/AABB_tree.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/poisson_reconstruction.cpp:12:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier
before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before
numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id
before numeric constant
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier
before ‘system_time’
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Kd_tree.h:34,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/K_neighbor_search.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Orthogonal_k_neighbor_search.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/AABB_tree/AABB_search_tree.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/AABB_tree.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/poisson_reconstruction.cpp:12:
/usr/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*,
int)’:
/usr/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was
not declared in this scope
/usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/include/boost/thread/locks.hpp:12:0,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Kd_tree.h:34,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/K_neighbor_search.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Orthogonal_k_neighbor_search.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/AABB_tree/AABB_search_tree.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/AABB_tree.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/poisson_reconstruction.cpp:12:
/usr/include/boost/thread/thread_time.hpp:19:24: note:
‘boost::get_system_time’
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Kd_tree.h:34,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/K_neighbor_search.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/Orthogonal_k_neighbor_search.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/internal/AABB_tree/AABB_search_tree.h:24,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/../../include/CGAL/AABB_tree.h:28,
from
/home/kc/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3/poisson_reconstruction.cpp:12:
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration
before ‘}’ token
make[2]: ***
[CMakeFiles/poisson_reconstruction.dir/poisson_reconstruction.cpp.o] Error
1
make[1]: *** [CMakeFiles/poisson_reconstruction.dir/all] Error 2
make: *** [all] Error 2





Archive powered by MHonArc 2.6.18.

Top of Page