Can't load textures

  • Catalin
    Likes 0

    Problem Description

    I am trying to load a image as a texture,but the console is printing weird symbols

    In the console i get,in the window created the white color and this in the output:

    'Startsfml.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\version.dll'
    'Startsfml.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ole32.dll'
    Exception thrown at 0x0F4EE337 (vcruntime140.dll) in Startsfml.exe: 0xC0000005: Access violation reading location 0x002F3000.

    Important to know that I setup my project corectly and the folder from where I am trying get the image is correct.

    The code runs without the texture section

    https://ibb.co/gsUGSo a link to a printscreen that I made

     

     

  • Sonar Systems admin
    Likes 0

    Is this a simple SFML or openGL project?

Login to reply