concaveman-cpp icon indicating copy to clipboard operation
concaveman-cpp copied to clipboard

Build issue

Open CEXT-Dan opened this issue 4 years ago • 2 comments

Hi, I get an error when compiling with visual studio 2019

1>C:\Users\Dan\source\repos\ArxBrxConcaveHull\ArxBrxConcaveHull\concaveman.h(215,1): error C2668: 'make_unique': ambiguous call to overloaded function

CEXT-Dan avatar Oct 29 '21 12:10 CEXT-Dan

this is a relevant question: https://stackoverflow.com/questions/28521822/c11-14-make-unique-ambigious-overload-for-stdstring I just changed the name of make_unique to something else in the source code and it compiles fine now.

aa1000 avatar May 12 '22 19:05 aa1000

just add 'std::' before the 'make_unique' and it will fix

vrmaurice avatar Jul 16 '22 20:07 vrmaurice