bijective-projection-shell icon indicating copy to clipboard operation
bijective-projection-shell copied to clipboard

Compile error in MSVC

Open XuRongYan opened this issue 3 years ago • 3 comments

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

XuRongYan avatar Sep 09 '21 13:09 XuRongYan

Hi,

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

jiangzhongshi avatar Oct 11 '21 14:10 jiangzhongshi

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

XuRongYan avatar Oct 11 '21 14:10 XuRongYan

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.

jiangzhongshi avatar Oct 11 '21 15:10 jiangzhongshi