Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Surface_reconstruction_points_3 (demo and example) building problem MacOS
Chronological Thread
- From: "Panos Giannopoulos" <>
- To:
- Subject: Re: [cgal-discuss] Surface_reconstruction_points_3 (demo and example) building problem MacOS
- Date: Mon, 9 Jul 2012 23:20:24 +0200
> On 07/09/2012 10:26 PM, Sebastien Loriot (GeometryFactory) wrote:
>> Someone already reported me a similar issue on windows with mingw with
>> the new boost 1.50.
>> It seems that one need to link with libboost_system.so since 1.50.
Yeap! I found that out that it's the libboost_system.dylib that one needs
to link to. And through the link.txt files, I found how to do the linking
manually :) and managed to build the Surface_reconstruction. Similar
problems I had with a few other demos which I solved in the same way.
>>
>> We'll try to provide a fix quickly.
> Can you try the following patch in the file
>
> cmake/modules/CGAL_SetupBoost.cmake
>
> line 6
> -find_package( Boost 1.33.1 REQUIRED thread )
> +find_package( Boost 1.33.1 REQUIRED thread system )
I will try this as well and let you know.
Thanks.
Panos
>
> Sebastien.
>
>>
>> Sebastien.
>>
>>
>>
>> On 07/09/2012 03:15 PM, Panos Giannopoulos wrote:
>>> Hi,
>>>
>>> I am trying to build the Surface_reconstruction_points_3 (demo and
>>> example) on MacOS (i686-apple-darwin10 , g++-4.2.1, CGAL 4.0.2, boost
>>> 1_50_0) and I get the following problem with boost after issuing make:
>>>
>>> (For the demo):
>>> ---
>>>
>>> [ 1%] Generating qrc_glsplat.cxx
>>> [ 3%] Building CXX object CMakeFiles/gl_splat.dir/GlSplat/GlSplat.cpp.o
>>> [ 5%] Building CXX object CMakeFiles/gl_splat.dir/GlSplat/Shader.cpp.o
>>> [ 7%] Building CXX object CMakeFiles/gl_splat.dir/qrc_glsplat.cxx.o
>>> Linking CXX shared library libgl_splat.dylib
>>> [ 7%] Built target gl_splat
>>> [ 9%] Generating Scene_item.moc
>>> [ 11%] Building CXX object
>>> CMakeFiles/PS_demo_scene_item.dir/Scene_item.cpp.o
>>> [ 13%] Building CXX object
>>> CMakeFiles/PS_demo_scene_item.dir/Scene_item_with_display_list.cpp.o
>>> [ 15%] Building CXX object
>>> CMakeFiles/PS_demo_scene_item.dir/Polyhedron_demo_plugin_helper.cpp.o
>>> Linking CXX shared library libPS_demo_scene_item.dylib
>>> ld: warning: duplicate dylib /opt/local/lib/libQtOpenGL.dylib
>>> ld: warning: duplicate dylib /opt/local/lib/libQtGui.dylib
>>> ld: warning: duplicate dylib /opt/local/lib/libQtCore.dylib
>>> [ 15%] Built target PS_demo_scene_item
>>> [ 17%] Generating Point_set_scene_item.moc
>>> [ 19%] Building CXX object
>>> CMakeFiles/point_set.dir/Point_set_scene_item.cpp.o
>>> Linking CXX shared library libpoint_set.dylib
>>> Undefined symbols:
>>> "boost::system::system_category()", referenced from:
>>> Point_set_scene_item::computes_local_spacing(int) in
>>> Point_set_scene_item.cpp.o
>>> boost::thread_exception::thread_exception(int, char const*)in
>>> Point_set_scene_item.cpp.o
>>> CGAL::Kd_tree<CGAL::Search_traits_3<CGAL::Epick>,
>>> CGAL::Sliding_midpoint<CGAL::Search_traits_3<CGAL::Epick>,
>>> CGAL::Plane_separator<double> >, CGAL::Boolean_tag<true>
>>>> ::const_build() constin Point_set_scene_item.cpp.o
>>> CGAL::Kd_tree<CGAL::Search_traits_3<CGAL::Epick>,
>>> CGAL::Sliding_midpoint<CGAL::Search_traits_3<CGAL::Epick>,
>>> CGAL::Plane_separator<double> >, CGAL::Boolean_tag<true>
>>>> ::const_build() constin Point_set_scene_item.cpp.o
>>> __static_initialization_and_destruction_0(int, int)in
>>> Point_set_scene_item.cpp.o
>>> "boost::system::generic_category()", referenced from:
>>> __static_initialization_and_destruction_0(int, int)in
>>> Point_set_scene_item.cpp.o
>>> __static_initialization_and_destruction_0(int, int)in
>>> Point_set_scene_item.cpp.o
>>> ld: symbol(s) not found
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [libpoint_set.dylib] Error 1
>>> make[1]: *** [CMakeFiles/point_set.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>> ----
>>>
>>> Any ideas what goes wrong here?
>>>
>>> Best,
>>>
>>> Panos
>>>
>>>
>>
>
>
> --
> 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 (demo and example) building problem MacOS, Panos Giannopoulos, 07/09/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3 (demo and example) building problem MacOS, Sebastien Loriot (GeometryFactory), 07/09/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3 (demo and example) building problem MacOS, Sebastien Loriot (GeometryFactory), 07/09/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3 (demo and example) building problem MacOS, Panos Giannopoulos, 07/09/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3 (demo and example) building problem MacOS, Sebastien Loriot (GeometryFactory), 07/09/2012
- Re: [cgal-discuss] Surface_reconstruction_points_3 (demo and example) building problem MacOS, Sebastien Loriot (GeometryFactory), 07/09/2012
Archive powered by MHonArc 2.6.18.