c++ - Glew does not init -


i using following code check error:

glfwinit(); glewexperimental = gl_true; if (glewinit() != 0) {     std::cout << "failed initialize glew" << std::endl;     return -1; } 

i using non static version of glew , have included .dll file in debug folder. using visual studio community 2013. other solutions suggested set glewexperimental gl_true or check error checking, have done , still not work.

you don't have gl context glfwinit(), glew has nothing work on. must create gl context , make current thread, glfw implies creating window.


Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -