Hello! Sorry for my english. I use Google Translate.
I downloaded GLEW 1.10.0 and added path
c:\glew\include in code::blocks
Build options -> Search directories.
main.cpp#define GLEW_STATIC
#include <GL/glew.h>
#include <SFML/Graphics.hpp>
//.............
int main()
{
GLenum err = glewInit();
if (GLEW_OK != err)
{
fprintf(stderr, "Error: %s\n", glewGetErrorString(err));
return 1;
}
fprintf(stdout, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
//..........
}
The application compiles, but a warnings is issued:
Warning: resolving _glewInit@0 by linking to _glewInit
Warning: resolving _glewGetString@4 by linking to _glewGetString
Warning: resolving _glewGetErrorString@4 by linking to _glewGetErrorStringPrompt please, what's the problem?