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

Compile error in MSVC #10

Open
XuRongYan opened this issue Sep 9, 2021 · 3 comments
Open

Compile error in MSVC #10

XuRongYan opened this issue Sep 9, 2021 · 3 comments

Comments

@XuRongYan
Copy link

I try to compile it in MSVC but I met a compile error:

prism/geogram/AABB.hpp(23): error C2039: 'optional': is not a member of 'std'

However, if I set c++17 in the CMakeList.txt line 4, the geogram will report an error:

 error C2039: 'set_unexpected': is not a member of 'std'

It seems that set_unexpected had been deprecated in c++17

@jiangzhongshi
Copy link
Owner

Hi,

What version of VS are you using? Can you try VS2020?

@XuRongYan
Copy link
Author

I'm using VS2019. I'll try VS2020 later but now I just write code in ubuntu. Sorry...I haven't had time to try VS2020 recently

@jiangzhongshi
Copy link
Owner

jiangzhongshi commented Oct 11, 2021

Glad to know that you managed to work in Ubuntu. I do most of my development in Ubuntu and the windows support is not very comprehensive.

If you have any questions about our method, let me know.

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