openGL 1.5 or higher required (your version is (nul))

I have Windows 10, and NVidia 525M, and openGL 4.5. When I build and run the Cocos2d-x cpp-tests or my own app I get the error in the Topic subject. This only started happening after upgrading from Windows 7 to Windows 10. Previously my install of Cocos2d-x 3.6 worked fine on this machine.

Obviously something in Cocos2d-x can no longer properly get the openGL version. I have verified that I definitely have openGL 4.5 so what is going on?

I grabbed Cocos2d-x 3.9 and tried running the cpp-tests. Similar error, but instead of the error in my first post I get this:

Has anyone figured out what cocos2dx 3.x cannot detected the video card correctly when you have both an integrated graphics card and a second video card (NVidia in my machine)?

Hard to believe no one else has had this issue; especially since I see people asking about the problem on StackOverflow.com