strange error with ts module [closed]
Hi guys, I am trying to use the ts module in order to apply some google unit tests on some functions. However, when I include the opencv2/ts.hpp
header I am getting the following strange error:
any hint? Do I miss something? I could not figure out what the problem might be.
I am with the v3.0.0 beta from the master branch.
cvconfig.h is autogenerated from cmake. it is not in one of the usual include folders, but in the main opencv src dir, so you probably have to adjust your include path to that.
@berak I did not get clearly what you mean by "so you probably have to adjust your include path to that". Can you be more specific ;-)
like : g++ -I /path/to/opencv/src
thanks @berak I got it now, though I find it a bit awkward as a solution it worked. However, now I get the following errors:
any idea to that?
ok problem solved by adding "-l pthread" to the included libs path, thanks for the help though ;-)