Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Q] "glcontext.cpp not found" when closing window  (Read 2447 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
[Q] "glcontext.cpp not found" when closing window
« on: August 27, 2018, 11:09:21 pm »
Hey guys!

So, I tried doing some digging on my own, but unless I missed something, I don't think this issue has been posted before. I apologize if I did miss something, but after trying to figure this out for a few hours, I figured it was time to reach out for help :P

It might sound odd, but when I try to close my projects window (be it by clicking the "x" or pressing "ESC"), I get a crash or something. I've attached an image of what pops up. I've set up my SFML project as I always have, using the same version of SFML. I've never had this issue before.

Thanks for all the help!

- Confirmed that I am using the correct Libraries
- Disabled my Anti Virus didn't help
- Tried upgrading the project to 2.5.1 and now Visual Studio's is asking me to "Find Source: glcontext.cpp"
- My project is linked statically
« Last Edit: August 28, 2018, 01:13:52 am by UchihaKite »


  • Hero Member
  • *****
  • Posts: 3362
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: [Q] "glcontext.cpp not found" when closing window
« Reply #1 on: August 29, 2018, 03:52:13 pm »
Some code would help, preferably a complete and minimal example.

The memory address is zero though so it's clear that this is a null pointer. This is the destruction of the texture causing this; how and where this happens is important.

Are any of your SFML objects in global scale by any chance?
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
 *Hapaxia Links*