Cv::imread() fails when I use opencv and dlib in single c++ project edit

OpenCv is failing to read jpeg when working with Dlib

Similar symptoms as this post:

opencv 4.5
dlib 19.21

anyone else experiencing this issue and/or have solutions