Ask Your Question
0

"No OpenGL support" error when using build on another computer

asked 2015-12-05 20:16:35 -0600

Brandon212 gravatar image

updated 2015-12-05 21:05:41 -0600

I'm not sure if anyone has had this same problem and found a solution, but I built OpenCV on one machine, and it functions completely normally with OpenGL. I've tried to copy the build to another computer where it runs normally with normal OpenCV functionality (including CUDA), but if I try to use OpenGL functionality (e.g. namedWindow options) then it gives the error that it wasn't built with OpenGL.

The property sheets in VS have all the same libraries included also.

Any advice would be much appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-05 21:02:55 -0600

Brandon212 gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-12-05 20:16:35 -0600

Seen: 562 times

Last updated: Dec 05 '15