Public bug reported:

The compilation of `examples.tar.gz` in package `libcgal-demo` fails:

```
Scanning dependencies of target deform_mesh_for_botsch08_format_sre_arap
[ 89%] Building CXX object 
examples/Surface_mesh_deformation/CMakeFiles/deform_mesh_for_botsch08_format_sre_arap.dir/deform_mesh_for_botsch08_format_sre_arap.cpp.o
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp: In 
function ‘unsigned int intersect(const Mesh&, const Mesh&)’:
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:90:40: 
error: no matching function for call to ‘transform(std::vector<Box>::iterator, 
std::vector<Box>::iterator, std::back_insert_iterator<std::vector<const Box*> 
>, <unresolved overloaded function type>)’
                  &boost::addressof<Box>);
                                        ^
In file included from /usr/include/c++/7/algorithm:62:0,
                 from 
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:1:
/usr/include/c++/7/bits/stl_algo.h:4295:5: note: candidate: template<class 
_IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, 
_IIter, _OIter, _UnaryOperation)
     transform(_InputIterator __first, _InputIterator __last,
     ^~~~~~~~~
/usr/include/c++/7/bits/stl_algo.h:4295:5: note:   template argument 
deduction/substitution failed:
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:90:40: 
note:   could not resolve address from overloaded function ‘& addressof<Box>’
                  &boost::addressof<Box>);
                                        ^
In file included from /usr/include/c++/7/algorithm:62:0,
                 from 
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:1:
/usr/include/c++/7/bits/stl_algo.h:4332:5: note: candidate: template<class 
_IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter 
std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
     transform(_InputIterator1 __first1, _InputIterator1 __last1,
     ^~~~~~~~~
/usr/include/c++/7/bits/stl_algo.h:4332:5: note:   template argument 
deduction/substitution failed:
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:90:40: 
note:   could not resolve address from overloaded function ‘& addressof<Box>’
                  &boost::addressof<Box>);
                                        ^
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:96:40: 
error: no matching function for call to ‘transform(std::vector<Box>::iterator, 
std::vector<Box>::iterator, std::back_insert_iterator<std::vector<const Box*> 
>, <unresolved overloaded function type>)’
                  &boost::addressof<Box>);
                                        ^
In file included from /usr/include/c++/7/algorithm:62:0,
                 from 
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:1:
/usr/include/c++/7/bits/stl_algo.h:4295:5: note: candidate: template<class 
_IIter, class _OIter, class _UnaryOperation> _OIter std::transform(_IIter, 
_IIter, _OIter, _UnaryOperation)
     transform(_InputIterator __first, _InputIterator __last,
     ^~~~~~~~~
/usr/include/c++/7/bits/stl_algo.h:4295:5: note:   template argument 
deduction/substitution failed:
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:96:40: 
note:   could not resolve address from overloaded function ‘& addressof<Box>’
                  &boost::addressof<Box>);
                                        ^
In file included from /usr/include/c++/7/algorithm:62:0,
                 from 
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:1:
/usr/include/c++/7/bits/stl_algo.h:4332:5: note: candidate: template<class 
_IIter1, class _IIter2, class _OIter, class _BinaryOperation> _OIter 
std::transform(_IIter1, _IIter1, _IIter2, _OIter, _BinaryOperation)
     transform(_InputIterator1 __first1, _InputIterator1 __last1,
     ^~~~~~~~~
/usr/include/c++/7/bits/stl_algo.h:4332:5: note:   template argument 
deduction/substitution failed:
/home/christian/Downloads/cgal_examples/Surface_mesh/sm_do_intersect.cpp:96:40: 
note:   could not resolve address from overloaded function ‘& addressof<Box>’
                  &boost::addressof<Box>);
                                        ^
```

** Affects: cgal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863933

Title:
  compiling 'examples' fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgal/+bug/1863933/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to