Implement external static library

Hi. I would like to write an “ofPolyfitEyetracker” project based on hospbene/HighSpeedEyeTracker ( I would like to use “borelib.lib” for pupil detection (available on Private Seafile (, file
It worked fine in openframeworks’s emptyExample when I set ‘’“Whole Program Optimization” to “No”. However, when I created a project using ofxGui and ofxKinect, I got a error: “Error C1047: …borelib.lib created with an older compiler than other objects”.
I am using visual studio 2017 and openframeworks v0.11.0. How can I implement this external static library in openframeworks?