Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error
- Date: Fri, 3 Oct 2014 01:57:55 -0700
So I downloaded boost 1.56 and copied boost into /usr/local/include/
and now when I try and compile the example I get:
~/src/CGAL/CGAL-4.4/examples/Surface_reconstruction_points_3$ make
make[2]: *** No rule to make target `/usr/local/lib/libCGAL.so', needed by
`poisson_reconstruction'. Stop.
make[1]: *** [CMakeFiles/poisson_reconstruction.dir/all] Error 2
make: *** [all] Error 2
Thoughts? CGAL itself compiles just fine?
> On 10/03/2014 09:39 AM,
>
> wrote:
>> 1.55 - I tried a couple boost versions based on the error messages, is
>> there a preferred version?
>>
>
> In the file boost/thread/xtime.hpp of boost 1.55 I have
>
> 22: enum xtime_clock_types
> 23: {
> 24: TIME_UTC_=1
>
> No idea why you have such an error.
>
> Sebastien.
>
>> Thanks!
>>
>>> On 10/03/2014 09:18 AM,
>>>
>>> wrote:
>>>> 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!
>>>>
>>>
>>> Look like a pb with the boost library. What version are you using?
>>>
>>> Sebastien.
>>>
>>>> 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
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> You are currently subscribed to cgal-discuss.
>>> To unsubscribe or access the archives, go to
>>> https://sympa.inria.fr/sympa/info/cgal-discuss
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
>
- [cgal-discuss] Surface_reconstruction_points_3 compilation error, kevnull, 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, Sebastien Loriot (GeometryFactory), 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, kevnull, 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, Sebastien Loriot (GeometryFactory), 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, kevnull, 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, kevnull, 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, Sebastien Loriot (GeometryFactory), 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, kevnull, 10/04/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, Sebastien Loriot (GeometryFactory), 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, Sebastien Loriot (GeometryFactory), 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, kevnull, 10/03/2014
- Re: [cgal-discuss] Surface_reconstruction_points_3 compilation error, Sebastien Loriot (GeometryFactory), 10/03/2014
Archive powered by MHonArc 2.6.18.