Jump to content
The Dark Mod Forums

Darkradiant Under Linux


Recommended Posts

I've finally installed an ubuntu dapper drake and it took me less time than I expected (two to three hours I think till I could start to work on DarkRadiant). After downloading dozens of development packages DR compiled without errors, but it refuses to run displaying this:

 

/home/greebo/darkradiant/install/darkradiant: error while loading shared libraries: libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file or directory

I checked my PATH and it points directly to this file above (it's located in /usr/local/lib), and I even tried to copy over this shared object into the install/ folder of DarkRadiant, but it changes exactly nothing. Is there something I missed? Is it possible that the version of the libgtkglext file is different to the one DR expects? (I downloaded the gtkglext-1.2.0 package and compiled it).

 

My PATH is:

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin: ... /games:/usr/local/share/include/:/usr/local/lib/

Link to comment
Share on other sites

Doesn't work (package is not found/known) , that's why I compiled it myself in the first place. I will do a search on ubuntu forums and see if there is anything useful. The Synaptic package manager doesn't list anything like that either.

 

edit: Ok, I found this package on a debian site and could install it after installing the dependent gtkglext1 package. DarkRadiant is booting now, seems like I can be coding again soon.

Link to comment
Share on other sites

Ok, now this is new to me: I just right-clicked the orthogonal view and chose "Create Light..." and DR crashed saying:

 

terminate called after throwing an instance of 'EntityCreationException'
 what():  Unable to create entity "light", no brushes selected
Aborted

 

If I create a brush and then the light entity of this brush, it works. Has this changed lately? I did not need to have any brushes selected in my Windows build.

Link to comment
Share on other sites

Doesn't work (package is not found/known) , that's why I compiled it myself in the first place. I will do a search on ubuntu forums and see if there is anything useful. The Synaptic package manager doesn't list anything like that either.

 

You need to enable the Universe repository in your package manager before it becomes available.

 

edit: Ok, I found this package on a debian site and could install it after installing the dependent gtkglext1 package. DarkRadiant is booting now, seems like I can be coding again soon.

 

That's another way of doing it.

Link to comment
Share on other sites

Works fine for me in Rev 389

I just did a full, clean compile and it still produces this error (I am on rev. 389 too). Can't reproduce the error under Windows (also after a fresh compile), so there is something odd going on here. I will try and investigate this problem, perhaps there is something wrong with the modules.

 

Do I need a working Doom 3 install in Linux for DarkRadiant to work? I just left the Engine Path at "usr/local/doom3", as I don't need any shaders or such. Does DR rely on any light-specific assets from the D3 folder?

Link to comment
Share on other sites

Do I need a working Doom 3 install in Linux for DarkRadiant to work? I just left the Engine Path at "usr/local/doom3", as I don't need any shaders or such. Does DR rely on any light-specific assets from the D3 folder?

 

Oh yeah, you will need at least vanilla D3 otherwise you will have no entity defs (of which "light" is an example).

Link to comment
Share on other sites

Ah, so there is my problem. :)

 

I will try and experiment, which assets are "minimal" for DarkRadiant operation by copying them from my Windows install to my Linux partition. Maybe I can assemble a copyright-free minimum package that will be sufficient for Level Editing with DarkRadiant.

Link to comment
Share on other sites

I will try and experiment, which assets are "minimal" for DarkRadiant operation by copying them from my Windows install to my Linux partition. Maybe I can assemble a copyright-free minimum package that will be sufficient for Level Editing with DarkRadiant.

 

Certainly an interesting exercise, however I don't imagine that many people would install DarkRadiant if they didn't have an installed game to create maps for.

Link to comment
Share on other sites

This is a bug, technically speaking, because it involves a code dependency on external data which may not be present. Really DarkRadiant should query the game XML file for the name of the light entity, and if it cannot be found, disable the Create Light menu item (similarly with Create Model).

Link to comment
Share on other sites

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

    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 2 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
×
×
  • Create New...