Jump to content
The Dark Mod Forums

Getting 2.05-beta To Compile and Run Under Linux


NightStalker

Recommended Posts

SVN revision: 6735

Duzenko,

 

Your patch looks perfect and tested just as nicely! Thank you!

 

For the record, I built TDM from latest SVN (#6735), with Hamlet's published patch to 'idlib/geometry/RenderMatrix.cpp' (because I like his patch better than mine) and with my published patch to the DevIL library header files (because, for now, I like my patch well enough) using 32-bit Slackware 14.2. The video card is a GeForce 7600GT with the nVidia 32-bit 304.132 driver.

 

I used the same 2 missions that I've been using for testing this: "Closemouthed Shadows" and "The Outpost". Both are running fine, so I can say with confidence that the patch is, unsurprisingly, working as intended.

 

I have not (yet) applied the patch to my 2.05-beta tree and built from that because I'm still finalizing my testing of Baal's Linux crashes and I don't want to corrupt that (local) tree any more than I already have. So give me another day to apply your patch to 2.05-beta, re-test (with more missions too), then I will report back, at which time I would "ack" the patch, FWIW, for inclusion into the official 2.05 tree in SVN.

 

Thanks again for the patch! One less GL "time bomb" awaiting the unwary! :D

  • Like 1
Link to comment
Share on other sites

I have not (yet) applied the patch to my 2.05-beta tree and built from that because I'm still finalizing my testing of Baal's Linux crashes and I don't want to corrupt that (local) tree any more than I already have. So give me another day to apply your patch to 2.05-beta, re-test (with more missions too), then I will report back, at which time I would "ack" the patch, FWIW, for inclusion into the official 2.05 tree in SVN.

OK, I've finally had time to test this patch (from SVN #6735, as referred to in post #25 of this thread) against my actual 2.05-beta tree and run it (under 32-bit Slackware 14.2). And, again unsurprisingly, it works great (under "Closemouthed Shadows", "Coercion", "Flakebridge Monastery", and "WS1: In The North"). Sorry for the delay on this test, duzenko.

 

@grayman: Assuming you are the one applying changes to the 2.05 tree, at your next opportunity, please apply duzenko's patch since it fixes "breakage" introduced between 2.04 and 2.05 for users with video hardware+driver that does not support the OpenGL "pixel buffer object" extension.

Link to comment
Share on other sites

@NightStalker,

 

I added you to a PM between myself and duzenko from a few weeks back re: linux build errors I was seeing in the trunk.

 

I'm trying to build from the head of the trunk source again and am getting the errors noted in my Dec 15 5:10PM note in that PM, the one that begins with "I added RenderMatrix to Sconscript.idlib:".

 

Could you please coordinate duzenko's work on fixing those errors with the work you're doing?

 

Thanks.

Link to comment
Share on other sites

I added you to a PM between myself and duzenko from a few weeks back re: linux build errors I was seeing in the trunk.

OK, good, thanks. Give me a chance to read it all and digest it a bit and I'll get back to you guys soon.

Could you please coordinate duzenko's work on fixing those errors with the work you're doing?

Gladly. Will report when I know more.

 

As for the 2.05 tree, I agree with everything duzenko said in his post #29. That is, I was only recommending that you add his #6735 commit to the 2.05 tree.

Link to comment
Share on other sites

I'm trying to build from the head of the trunk source again and am getting the errors noted in my Dec 15 5:10PM note in that PM, the one that begins with "I added RenderMatrix to Sconscript.idlib:".

@Grayman: OK, I've properly digested that PM now.

 

Quick Answer: Please sit tight for a day or two. After that, I'll PM you asking you to re-attempt your Linux compile.

 

Longer Story:

 

One of Hamlet's patches should fix that part of your Linux-compile dilemma. His patch is essentially an elegant version of an unpublished quick hack I made weeks ago to get TDM to compile under Linux.

 

Hamlet and duzenko have already "weighed in", essentially approving my latest collection of Hamlet's patches and one of my own patches.

 

Grayman, if you are interested in the details and haven't already read it, you might want to read from this post onward.

 

So I expect to commit these patches to SVN 'trunk' within a day or two. I'm wanting to give all Linux compilers a chance to comment, but I may accelerate that process based on Hamlet's and duzenko's comments.

 

Hope that helps....

 

@Grayman: Is it possible, and if so, is it permitted for me to create a public branch in SVN for this patchset, as suggested by Hamlet in that thread? If the answer to either of those questions is "No", then I will simply commit the patchset to SVN 'trunk' reasonably soon.

Edited by NightStalker
Link to comment
Share on other sites

OK, folks... I've finally committed the appropriate changes to SVN trunk. This includes 4 revisions, 6738 - 6741.

I believe this will make "latest SVN" compile-able for all GCC users (4.4.3 to 6.2.x), but if not, please let me know.

My thanks to all who tested this, especially duzenko for compiling it under Windows and Hamlet for supplying the bulk of the fixes.

I've PMed grayman to ask him to test this newest code under Linux.

I appreciate everyone's patience on this!

  • Like 1
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

    • 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!
      · 0 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
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...