Mutex and AutoLock are not member of CV cpp

I am trying to add opencv-4.9.0 to my c++ dll project on windows (visual studio) but when I get these errors:
Mutex and AutoLock are not member of CV' AutoLock and AutoLock are not member of CV’
this is coming from heap.h file.
Any ideas?

the exact, complete error msg, please ?

what exactly are you doing ? what did you install ? how ? from where ?

I missed some includes, this issue is solved. tnx