coost icon indicating copy to clipboard operation
coost copied to clipboard

When the coost library is used with opencv3.x-4.x,

Open huangzhibear opened this issue 1 year ago • 2 comments

When the coost library is used with opencv3.x-4.x, I don't know what the problem is
error: reference to ‘log’ is ambiguous result += *a * log(ratio); ^~~ 1

huangzhibear avatar Oct 16 '24 00:10 huangzhibear

try include opencv headers before include coost headers

izhengfan avatar Oct 16 '24 01:10 izhengfan

and don't use using namespace std / using namespace cv etc

izhengfan avatar Oct 16 '24 01:10 izhengfan