Jump to content
The Dark Mod Forums

Recommended Posts

Posted

I get an error message on opening the "choose model" window the second time. (It works well the first time I open it)

 

darkradianterrorrj3.jpg

 

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:

darkradianterror2ze2.jpg

darkradianterror3oj4.jpg

 

I'm using the latest compile of DarkRadiant. (from today, around 3 hours ago)

Posted

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).

Posted

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.

Posted
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).

Posted
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?

Posted

It looks like this:

 

darkradiantmodelfg0.jpg

 

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?

Posted

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.

Posted
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.

Posted

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?

Posted

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.

Posted
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)

Posted

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?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Terribly difficult juggling map designing with work, but I'm still alive and chipping away at something very special. I'm actually making a collaboration of sorts with a friend, I make the map itself and he acts as my "Chief Scope Creep Consultant" that checks in every so often to make sure this project isn't getting out of hand. It's a good system!
      · 0 replies
    • JackFarmer

      We don't need artificial intelligence; we need artistic intelligence. 
      Ralf Hütter, Kraftwerk
      · 5 replies
    • taaaki

      The post editor for the dark themes should be working again. Apologies for the inconvenience.
      · 1 reply
    • jaxa

      Talk GabeCube:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/39/#findComment-508710
      · 3 replies
    • The Black Arrow

      Things have been so bad these days for me...
      Just a year ago, I've been feeling dizzy, I thought it was nothing, today's stress, that type of thing, went to sleep...Still dizzy! 9 more days dizzy, went to doctor (I would have gone on the first day if NOT for the long appointment time)
      Said it may be Neck Dizziness...I did exercises for 6 months, no changes.
      Went to a Physical Therapist, went to another, no changes.
      I've asked my doctor for a full check this time.
      I hated yesteryear so much due to personal reasons, this year might be the same.
      To be brutally honest, I'd rather have cancer or/and chronic pain than suffer dizziness any second longer, especially when nothing helps.
      Hard to enjoy Thief when you're dizzy so I was hoping this year, Winter will be best for me.
      · 7 replies
×
×
  • Create New...