Hi On Mon, 2008-05-05 at 22:28 +0200, Christoph Schäfer wrote: > Hi Gerrit, >
> Now I've got two more questions. I attached the code for the > 01-hello.cpp tutorial. The app runs fine. Only in the end, after closing > the app window there is a very big list of warnings as can be seen in > log.txt. Something serious? this means most likely your global app pointers are not all set to NULL prior to calling exit. Look at one of the tests (e.g. Source/WindowSystem/GLUT/testWindowGLUT.cpp) how to avoid objects still being alive at the end of the program. Currently there will still be the following 3 warnings but those are ok. WARNING: ThreadManager::shutdown: thread [OSGAppThread|0x700aa0] is still alive ([1]). WARNING: ThreadManager::shutdown: lock [OSG::Log::_pLogLock|0x765280] is still alive WARNING: ThreadManager::shutdown: lock [OSGTMStoreLock|0x7009e0] is still alive > Regarding the 08-materials.cpp (also attached) I have an other question. > In lines 213-231 a simple texture is read (or created) and applied to a > node. This works. After shutting down the app, I get an error saying > "Can't read on 0xblablabla". So there is something going badly wrong. > Which direction do I have to look to hunt down this nasty behavior? > Probably it's something related to the field containers and how to use them? Hmm, I'll have to hava a look at that. There still might be one or the other corner where things go wrong. kind regards, gerrit ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
