Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

i've setup the newest version of glfw & glew on mingw (i'm using windows 7). I've previously used freeglut & glew but i switched to glfw because i've heard it was better for games. So my problem is that when ever i use the function glCreateShader(GLenum mode) and compile&run my program instantly goes unresponsive. I have never had this problem on freeglut so i'm a bit confused because from what i understand glew is the one incharge of gl functions. please help. i have included glew.h before glfw3.h and i have called glewInit() after creating a context with glfw. thanks for reading i can include source code if necessary. btw i'm programing with c/c++

share|improve this question

put on hold as off-topic by Anko, Krom Stern, Trevor Powell, congusbongus, Josh Petrie 2 days ago

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about debugging a problem in your project must present a concise selection of code and context so as to allow a reader to diagnose the issue without needing to read all of your code or to engage in extensive back-and-forth dialog. For more information, see this meta thread." – Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

Have you tried using the debugger? Getting error codes from OpenGL? What have you tried? –  Byte56 Jun 17 '13 at 13:57
A small bit of isolated code which still causes the problem might be useful, also... –  Luke San Antonio Jun 18 '13 at 0:53
You don't give much information, but I suggest using glGetError(), glGetShaderInfoLog() and glGetProgramInfoLog(). –  SurvivalMachine Feb 18 at 18:25

Browse other questions tagged or ask your own question.