U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » OpenGL demo resulting in Fatal error, Heap leaks detected! error...
OpenGL demo resulting in Fatal error, Heap leaks detected! error... [message #48357] Mon, 26 June 2017 05:03 Go to previous message
ptkacz is currently offline  ptkacz
Messages: 89
Registered: March 2017
Member
Hi Guys,

Upon bringing up TheIDE, I launch the OpenGL demo from the reference section.

Upon compiling the running the program, the program is launched followed by window popping up with the following message:

Fatal error
Heap leaks detected!

Upon selecting the, "okay" button, all windows are closed.


The issue appears to be happening on the win.Open():

GUI_APP_MAIN
{
	Ctrl::GlobalBackPaint();
	TopWindow win;
	OpenGLExample gl;
	gl.SetFrame(InsetFrame());
	win.Add(gl.HSizePos(10, 10).VSizePos(10, 10));
	win.Sizeable().Zoomable();
    win.Open();
	// win.Run();
}


Anyone have some code that works demoing a simple OpenGL program?


Peter
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Getting the width of a layout?
Next Topic: gcc 4.4 compatible version?
Goto Forum:
  


Current Time: Fri Oct 30 19:17:08 GMT+1 2026

Total time taken to generate the page: 0.75008 seconds