opengl access violation

  • matan22
    Likes 0

    Problem Description

    I got access violation on the glcreateshader  when I try to load the shader and I did use glew init before I use the load

    how can I fix it?

    here is my code

    https://github.com/matan45/opengl

    image: https://ibb.co/kCFfsv

  • Sonar Systems admin
    Likes 0

    Does it work with a simple main.cpp only

  • matan22
    Likes 0

    nope even on main is thorw the exception

    i try also to use the lwjgl i got the same exception 

    i cant use

    glCreateProgram();

    glCreateShader(type);

    when i copy you code from the github it work


  • Sonar Systems admin
    Likes 0

    Have you tried our tutorials?

Login to reply