Scarfy.png giving me "exception has occurred. segmentation fault"

Hey, i did not really know where to go, i checked forums for a solution to my problem and i couldnt find any answers, would you be able to answer a question on the basic cpp course you guys provide? if so my question is why am i getting an “exception has occurred segmentation fault” error by trying to call the scarfy.png using load texture and setting it to the variable of 2D scarfy

Hi Cade,

While I would need to see your code to make sure. A segmentation could be happening if you’re trying to load any textures before InitWindow has been called.

4 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms