[mapserver-users] mapserver 7.6.2

Stephane Poissant spoissantca at gmail.com
Tue Jan 5 01:55:12 PST 2021


Good day Andreas, 

Thank you for your suggestion.

Indeed, they are both installed. Both versions 1.53 & 1.75

SFCGAL is installed from yum repo with version 1.3.1.
Based on the log below, SFCGAL (from repo) is linked / compiled with the installed yum repository rpms boost version 1.53:

[root at mapserver-0290 mapserver-7.6.2]# ldd /usr/lib64/libSFCGAL.so.1
	linux-vdso.so.1 (0x00007ffd9958b000)
	libCGAL.so.11 => /usr/lib64/libCGAL.so.11 (0x00007f00d4b15000)
	libCGAL_Core.so.11 => /usr/lib64/libCGAL_Core.so.11 (0x00007f00d48dc000)
	libmpfr.so.4 => /usr/lib64/libmpfr.so.4 (0x00007f00d467e000)
	libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f00d4406000)
	libboost_date_time-mt.so.1.53.0 => /usr/lib64/libboost_date_time-mt.so.1.53.0 (0x00007f00d41f5000)
	libboost_thread-mt.so.1.53.0 => /usr/lib64/libboost_thread-mt.so.1.53.0 (0x00007f00d3fd3000)
	libboost_system-mt.so.1.53.0 => /usr/lib64/libboost_system-mt.so.1.53.0 (0x00007f00d3dcf000)
	libboost_serialization-mt.so.1.53.0 => /usr/lib64/libboost_serialization-mt.so.1.53.0 (0x00007f00d3b61000)
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f00d37df000)
	libm.so.6 => /usr/lib64/libm.so.6 (0x00007f00d349f000)
	libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f00d3289000)
	libc.so.6 => /usr/lib64/libc.so.6 (0x00007f00d2ede000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f00d5800000)
	librt.so.1 => /usr/lib64/librt.so.1 (0x00007f00d2cd6000)
	libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f00d2ab8000)
 
I tried compiling it separately but it ends up having issues as well:

SFCGAL compilation…

Make (stops at 26%...)

///snip///

[ 26%] Building CXX object src/CMakeFiles/SFCGAL.dir/algorithm/Intersection3D.cpp.o
In file included from /usr/local/include/CGAL/Polygon_mesh_processing/self_intersections.h:45:0,
                 from /root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:55,
                 from /root/inst/SFCGAL-v1.3.8/src/algorithm/Intersection3D.cpp:24:
/opt/boost/include/boost/function_output_iterator.hpp:14:72: note: #pragma message: This header is deprecated. Use <boost/iterator/function_output_iterator.hpp> instead.
 BOOST_HEADER_DEPRECATED("<boost/iterator/function_output_iterator.hpp>")
                                                                        ^
In file included from /root/inst/SFCGAL-v1.3.8/src/algorithm/Intersection3D.cpp:24:0:
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h: In member function ‘bool CGAL::Intersection_of_Polyhedra_3<Polyhedron, Kernel_, Node_visitor_, Node_storage_type_, Use_const_polyhedron_, PolyhedronPointPMap_>::Map_edge_facet_bbox_intersection_extract_coplanar_filter_self_intersections::self_intersections_found()’:
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1063:19: error: ‘Intersect_facets’ is not a member of ‘CGAL::internal’
         internal::Intersect_facets<Polyhedron,Kernel,
                   ^~~~~~~~~~~~~~~~
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1063:46: error: expected primary-expression before ‘,’ token
         internal::Intersect_facets<Polyhedron,Kernel,
                                              ^
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1063:53: error: expected primary-expression before ‘,’ token
         internal::Intersect_facets<Polyhedron,Kernel,
                                                     ^
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1064:39: error: expected primary-expression before ‘,’ token
                                    Box,OutputIterator,
                                       ^
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1064:54: error: expected primary-expression before ‘,’ token
                                    Box,OutputIterator,
                                                      ^
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1065:55: error: expected primary-expression before ‘>’ token
                                    PolyhedronPointPMap>
                                                       ^
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1068:70: error: ‘intersect_facets’ was not declared in this scope
         CGAL::box_self_intersection_d(box_ptr.begin(), box_ptr.end(),intersect_facets,cutoff);
                                                                      ^~~~~~~~~~~~~~~~
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1068:70: note: suggested alternative: ‘Project_facet’
         CGAL::box_self_intersection_d(box_ptr.begin(), box_ptr.end(),intersect_facets,cutoff);
                                                                      ^~~~~~~~~~~~~~~~
                                                                      Project_facet
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3.h:1071:41: error: ‘Throw_at_output_exception’ in ‘struct CGAL::internal::Throw_at_output’ does not name a type
       catch( internal::Throw_at_output::Throw_at_output_exception& )
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/inst/SFCGAL-v1.3.8/src/algorithm/Intersection3D.cpp:25:0:
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3_refinement_visitor.h: At global scope:
/root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3_refinement_visitor.h:340:79: warning: ‘No_intersection_tag’ is deprecated [-Wdeprecated-declarations]
   typedef CGAL::Constrained_Delaunay_triangulation_2<Exact_kernel,TDS_2,CGAL::No_intersection_tag> CDT;  //DO WE NEED DELAUNAY????
                                                                               ^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/CGAL/Constrained_Delaunay_triangulation_2.h:20:0,
                 from /root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/intersection_of_Polyhedra_3_refinement_visitor.h:31,
                 from /root/inst/SFCGAL-v1.3.8/src/algorithm/Intersection3D.cpp:25:
/usr/local/include/CGAL/Constrained_triangulation_2.h:48:24: note: declared here
 struct CGAL_DEPRECATED No_intersection_tag :
                        ^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/CGAL/AABB_traits.h:29:0,
                 from /usr/local/include/CGAL/Side_of_triangle_mesh.h:26,
                 from /root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/internal/corefinement/Combinatorial_map_output_builder.h:32,
                 from /root/inst/SFCGAL-v1.3.8/src/../CGAL_patches/CGAL/corefinement_operations.h:30,
                 from /root/inst/SFCGAL-v1.3.8/src/algorithm/Intersection3D.cpp:26:
/opt/boost/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
 )
 ^
make[2]: *** [src/CMakeFiles/SFCGAL.dir/algorithm/Intersection3D.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/SFCGAL.dir/all] Error 2
make: *** [all] Error 2

SP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210105/585c1478/attachment-0001.html>


More information about the mapserver-users mailing list