Hi Sylvain,
I think you need to define __NO_VC_CRTDBG__ somewhere, along with
wxUSE_GLOBAL_MEMORY_OPERATORS and wxUSE_MEMORY_TRACING set to 0 in
your msw/setup.h file.
The end goal is that wxUSE_VC_CRTBG must *not* be defined in wx/msw/
msvcrt.h.
That + rebuild wxWidgets, and you should be on your way to success.
Ciao,
Paul
Paul de Repentigny
Graph Synergie Inc.
tel: (418) 659-5611 #103
derep a.t. graphsynergie.com
On 30-Nov-06, at 5:23 AM, Sylvain MARIE wrote:
Hi,
Help! I think I'm going crazy here. Please tell me where I goofed,
as I am
puzzled.
I'm using the (very helpful!) wxOsgCanvasTest example
(http://openscenegraph.org/osgwiki/uploads/Community/
wxOsgCanvas-0.2.zip),
with OSG 1.2 and wxWidgets 2.6.3 on VS 2003.
Everything works great, but when I choose a DXF file to load, I get
tons of
memory leaks. The funny part is that I get no memory leak when I
open a 3ds
file instead, nor when I use the osgviewer application to load a
DXF file...
Can somebody replicate the problem when opening a DXF file with
wxOsgCanvasTest ? Any idea why these memory leaks show up with
wxWidgets but
not with osgviewer ?
Thank you very much in advance,
Sylvain
Sylvain MARIE
NexGen Ergonomics Inc.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/