Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 88
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: Sun Apr 11 08:46:58 CEST 2021

Total time taken to generate the page: 0.02865 seconds