Modern OpenGL 3.0+ Tutorial 16

  • alximika1
    Likes 0

    Problem Description

    Hello, 

    After following this tutorial I faced some errors that couldn’t fix. Can someone help me to fix it?
    The errors are: https://ibb.co/e0m097

    Thanks.

  • Sonar Systems admin
    Likes 0

    Have you tried the code form the github page?


    This reply has been verified.
  • alximika1
    Likes 0

    Yes, I tried it and I receive the same error.


    This reply has been verified.
  • alximika1
    Likes 0

    Fixed. Needed to add const in the following code:
     

    class Model
      {
      public:
      /* Functions */
      // Constructor, expects a filepath to a 3D model.
      Model( const GLchar *path )

     


    This reply has been verified.
  • Sonar Systems admin
    Likes 0

    Good to hear you solved it.

Login to reply