Question:
Why do I receive the error message "QglContext::chooseContext():wglCreateContext failed"when running demo cases?

Answer:
"QGLContext::chooseContext(): wglCreateContext failed" occurred due to prior installation of Matlab 6.5/7.0. Reason being, after the installation of Matlab, a service named matlabsever.exe will be turned on and running in the background of your computer (Please refer to Task Manager Process). Running such service (Matlab web server) not only takes out most of the memory resource, but it causes execution failure for most of the programs utilizing OpenGL. MATFOR is one of the examples. To avoid the problem, you can just disable Matlab web server under Control Panel-> System Management Tools -> Service before running MATFOR.