angua Posted September 26, 2006 Report Posted September 26, 2006 I get an error message on opening the "choose model" window the second time. (It works well the first time I open it) I can continue to work, but the model preview is gone. I get the same message every time I open the model window afterwards. I get two more messages on closing DarkRadiant, don't know if those are related to the model problem: I'm using the latest compile of DarkRadiant. (from today, around 3 hours ago) Quote
OrbWeaver Posted September 26, 2006 Report Posted September 26, 2006 Strange, that sounds like the widget is getting destroyed, however there is no code to destroy the widget - in fact the dialog is a singleton which isn't destroyed until you exit the application. Do you get different behaviour depending on whether you choose OK, Cancel or click the close box? I can't recreate this error on Linux, although it could conceivably be Windows-specific. I know about the referenced model error, this is caused by the dialog not releasing the model's textures before exit (because the dialog is never destroyed). Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
New Horizon Posted September 26, 2006 Report Posted September 26, 2006 Could I get a copy of the latest build of the windows exe? I'll see if I can replicate it on my system. Quote
angua Posted September 26, 2006 Author Report Posted September 26, 2006 The behaviour is the same for all different cases. In fact, I get two similar error messages, one on line 455 (as shown above) and one on line 495. Quote
New Horizon Posted September 26, 2006 Report Posted September 26, 2006 Orb, just curious. Were you planning on posting an update for DR after the issues with the model viewer are sorted? I would love to see how it's working. Quote
OrbWeaver Posted September 27, 2006 Report Posted September 27, 2006 Could I get a copy of the latest build of the windows exe? I'll see if I can replicate it on my system. You'd be better off compiling it yourself, assuming your build environment is still set up. You would need to install the missing GLEW DLLs in either case. Orb, just curious. Were you planning on posting an update for DR after the issues with the model viewer are sorted? I would love to see how it's working. Yes, the Model Selector is the major feature for 0.6.0. There are a couple of bits left to do, including skin selection and the referenced shader error (and angua's error if I can reproduce it). Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
OrbWeaver Posted September 27, 2006 Report Posted September 27, 2006 The behaviour is the same for all different cases. In fact, I get two similar error messages, one on line 455 (as shown above) and one on line 495. That is strange. Unfortunately the line reference doesn't help because it doesn't identify the actual code causing the problem, just the GTK-internal code that encountered the error. When you say the model preview is missing, what does this look like exactly? Is it black, transparent, or does the widget disappear entirely and leave the dialog's grey background in its place? Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
angua Posted September 27, 2006 Author Report Posted September 27, 2006 It looks like this: The properties (like vertices, etc) can still be seen, but the preview itself is gone completely. I've maybe got an old version of the glew32.dll (330K, 29 August 2006), could this be related to the problem? Quote
OrbWeaver Posted September 27, 2006 Report Posted September 27, 2006 Yep, that widget has been destroyed. I will have to look at this on Windows, perhaps there are differences in GTK version or implementation that cause this. The only unusual thing about the dialog is that it enters a recursive gtk_main loop (i.e. blocks waiting for user input, rather than handing back control to the application), which might cause issues with the order in which things are done. I don't think GLEW would have anything to do with it, this seems like a GTK problem not an OpenGL one. Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
New Horizon Posted September 27, 2006 Report Posted September 27, 2006 You'd be better off compiling it yourself, assuming your build environment is still set up. You would need to install the missing GLEW DLLs in either case. I can try setting it up again. I've reformatted since then though. Quote
OrbWeaver Posted September 27, 2006 Report Posted September 27, 2006 OK, I just did a recompile on Windows in both Debug and Release mode, and could not replicate this error (although I did get an OpenGL illegal operation while closing, which I haven't seen before). A couple of suggestions: 1. Have you tried doing a complete refresh from SVN and a complete recompile by deleting the build directory? Have you compiled in both Release and Debug mode and does the error appear in both?2. Are there any other versions of GTK installed on your system that could be interfering in any way? Also, does greebo get this problem as well? Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
greebo Posted September 28, 2006 Report Posted September 28, 2006 Yes, I got the same problem, but I could resolve it. Short story: there was a wrong version of libgdkglext-win32-1.0-0.dll or libgtkglext-win32-1.0-0.dll installed in our systems. I overwrote those with the ones in the Darkradiant 0.5.3 package and now it's gone. Long story: When I first compiled DarkRadiant (that must've been at the beginning of July) those two files were not available and I had to download it from the depths of the internet, as those files are not included in the GTK+ package (strangely enough). DarkRadiant always complained that these files were missing, so I downloaded and stored them in my system32 folder - everything was fine until the model preview was introduced, which seems to rely on exactly those files. I compared the version I downloaded to the version you provided with DR 0.5.3 and they are in fact of different size, although the name and indicated version is completely identical. Just out of curiosity: where do these files originally come from? They are not included in GTK+ and I could not easily find them on the web. Quote
OrbWeaver Posted September 28, 2006 Report Posted September 28, 2006 Just out of curiosity: where do these files originally come from? They are not included in GTK+ and I could not easily find them on the web. They are part of GTKGLExt, which is not part of GTK itself. http://www.k-3d.org/gtkglext/Main_Page (This wiki page is often vandalised, you might need to view the history) Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
greebo Posted September 28, 2006 Report Posted September 28, 2006 No binary packages to download? It's mentioned in the Wiki article, but the downloadable archives do not contain any binaries. Would I have to compile if I wanted a recent binary? Quote
OrbWeaver Posted September 28, 2006 Report Posted September 28, 2006 You are right, it seems very hard to find any Windows binaries. This page at SourceForge has some for version 1.0.6, although none for the later versions. http://sourceforge.net/project/showfiles.php?group_id=54333 I don't actually know which version DarkRadiant uses, I think the package came from the GtkRadiant website. Quote DarkRadiant homepage ⋄ DarkRadiant user guide ⋄ OrbWeaver's Dark Ambients ⋄ Blender export scripts
greebo Posted September 28, 2006 Report Posted September 28, 2006 Nevermind, as long as this version is working, it should not be a problem. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.