|
Boost Users : |
Subject: Re: [Boost-users] boost::asio cross-library link issue
From: friesens_at_[hidden]
Date: 2016-10-04 14:51:27
From: Maarten de Vries <maarten_at_[hidden]>
To: boost-users_at_[hidden],
Date: 10/04/2016 01:42 PM
Subject: Re: [Boost-users] boost::asio cross-library link issue
Sent by: "Boost-users" <boost-users-bounces_at_[hidden]>
On 4 October 2016 at 14:00, Stanley Friesen <friesens_at_[hidden]> wrote:
Sigh. I thought so. I am having a dickens of a time getting libpcl to
compile with the --std=c++11 flag. It seems that libvtk, used heavily by
PCL, doesn't like C++11. (We can't compile our library without the flag
since we actually use many C++11 features). I will continue to work on
this.
Thanks, this discussion has at least pointed me in the direction I need to
go.
âI have no problem compiling PCL 1.8.0 and VTK 7.0.0 with C++11 support .
In the past VTK 6 (not sure on the exact version) and PCL 1.7.2 also
worked fine.
The VTK wiki seems to indicate VTK 6.1 is compatible with C++11 [1].
Maybe it is an issue with the compiler you're using. Some GCC versions had
incomplete C++11 support iirc.
--------------------
Quite right, as soon as I got VTK 7.0, the PCL library compiled fine (we
only had 5.8 and 6.0 until earlier today). Now my problem is purely with
our own library.
VTK 6.0 still had the issue in vtkMath.h where it used 'using namespace
std' and then tried to call isinf or isnan. VTK7.0 correctly omits the
using directive and calls std::isinf and std::isnan. It is possible this
was actually fixed in 6.2 or 6.3.
[1] http://www.vtk.org/Wiki/VTK/Wrapping_C%2B%2B11_Code[vtk.org]
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.boost.org_mailman_listinfo.cgi_boost-2Dusers&d=CwICAg&c=NGt3eTFKeC-HdGM3w9bJ1g&r=LzeLSpERL2klp086VczAzWzdVVuGtagGieCKbYxUQuw&m=lFTX63uRKR2F6syYk4L52XjxMHeJedZ92ln-U8YvNWs&s=NDMVH-y9ExBtqecshUXWCShs_v51sUpH6UIsCG_oMrw&e=
----------------------------------------------------------------------
This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.
&&
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net