Tesseract Init returns ld error

looks like general C++ programming to me. I see no hints of OpenCV in any of this.