1 | initial version |
Just in case anyone else is dumb like me and somehow finds this: after messing around with this for 9 hours, somehow after posting this question I realized that despite the property sheets using the correct include and lib folders, and having added the bin to the system path, there was a previous opencv bin also in the path which hadn't been built with OpenGL. So it was using the libraries and headers from the new build but the dll's from the old. Deleting that fixed it.