Closed marcfielding1 closed 3 years ago
So I got this working by brew installing qt opencv then downloading from the releases page :-) Would still be interested to see how you fix this though.
Ah this is a quick fix - std::clamp is a c++17 thing and I didn't realise. The automatic mac build uses c++14 I think. So you can just remove those calls for the moment (in the darknet export code)
On Mon, Aug 24, 2020, 13:24 Marc Fielding notifications@github.com wrote:
So I got this working by brew installing qt opencv then downloading from the releases page :-) Would still be interested to see how you fix this though.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jveitchmichaelis/deeplabel/issues/22#issuecomment-679094765, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYDMJ5CCQ6FHDHAZ5FVBTTSCJLXBANCNFSM4QJNYYQA .
Ahh gotcha, yeah I can have a go! It's been years since I touched C++ but i'll see if I can knock up a PR also!
I've added c++17 to the .pro file - you can try that as well. We'll see if Travis likes it :)
Heya I'm trying to compile for MacOS I'm getting...