Hi Renesis,
[...] but now when the program runs I get this runtime error:
Code:
Windows has triggered a breakpoint in test.exe.
This may be due to a corruption of the heap, which indicates a bug in test.exe
or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while test.exe has focus.
The output window may have more diagnostic information.
And then it takes me to malloc.c.
This is typically because you have compiled your program in debug but
have linked to release libraries, or the opposite. If you're compiling
your project in debug you need to link to debug libraries (the OSG
libraries have a 'd' at the end when they're debug versions) and vice versa.
Check that your project matches what you're linking to. This always
something to check when compiling with Visual C++. You can search the
net or even this mailing list if you want more information on this, it's
been discussed at length in the past.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org