Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS2015(C++14 partly) cannot use this geometry #1272

Open
xiaofeiyun123 opened this issue Apr 6, 2024 · 1 comment
Open

VS2015(C++14 partly) cannot use this geometry #1272

xiaofeiyun123 opened this issue Apr 6, 2024 · 1 comment

Comments

@xiaofeiyun123
Copy link

xiaofeiyun123 commented Apr 6, 2024

Is there a way to use boost.geometry closest_points in VS2015(C++14 partly)?
Or other possible library has similar function with boost.geometry closest_points?
Because I indeed need to develop in the enviroment of VS2015.

Compile error when build with VS2015
#if defined(BOOST_NO_CXX14_CONSTEXPR)
#error "Use C++14 or higher to compile Boost.Geometry, or use Boost 1.72 or lower."
#endif

Compile passed when build with VS2017

@barendgehrels
Copy link
Collaborator

C++14 is the minimal requirement.
If that is not supported - then you have to use Boost 1.72 or lower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants