|
Boost Users : |
Subject: Re: [Boost-users] [Geometry] Issues when registering a windows point type
From: Mateusz Åoskot (mateusz_at_[hidden])
Date: 2014-01-25 16:12:48
On 25 January 2014 20:49, Sean Farrow <sean.farrow_at_[hidden]> wrote:
>
> Iâm having an Issue when trying to register a windows POINT type.
>
> Iâm registering the Point structure from windef.h as follows:
>
> BOOST_GEOMETRY_REGISTER_POINT_2D(POINT, LONG,
> boost::geometry::cs::cartesian, x, y);
>
> Iâm getting the following in my build log:
>
> [...]
> 1>c:\work\pantheon studios\o2\disesupport\supportfunctions.cpp(37):
> error C3083: 'cs': the symbol to the left of a '::' must be a type
>
> 1>c:\work\pantheon studios\o2\disesupport\supportfunctions.cpp(37):
> error C2039: 'cartesian' : is not a member of 'boost::geometry'
Check if you include all required headers, if you include them selectively
or follow this example and include the two: all-in-one + registration header:
Best regards,
-- Mateusz Åoskot, http://mateusz.loskot.net
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