Author Topic: Slackware -current (kinda 13.0+) x64 build/startup/mods issues  (Read 1978 times)

0 Members and 1 Guest are viewing this topic.

Offline kkmic

  • 26
Slackware -current (kinda 13.0+) x64 build/startup/mods issues
Several days ago I managed to install the -current Slackware x64 on my machine and I thought I should give FSO a go (since OpenGL support was  broken on my old installation).

The result? Nothing less than  :mad: and :hopping:!

First, the 3.6.12 SVN failed to build. Miserably, I'd say. The same problem as Armchair Commander reported in this port.

Per Iss Mneur's instructions, I modified the code/pngutils/pngutils.cpp by adding the code below after the last #include present in the SVN version:

Code: [Select]
#ifndef png_infopp_NULL
#define png_infopp_NULL NULL
#endif
#ifndef png_voidp_NULL
#define png_voidp_NULL NULL
#endif

Then the thing managed to build itself.

Since the problem is having a too NEW package installed (probably the latest version available?) I have to ask this: Why is the SCP basing the code on an older version of a certain library? I know that sometimes newer does not necessarily means better, but having the 1.4.1 libpng present by default in my Slackware installation makes me pretty confident that the 1.4 version does it's job well.

You are welcome to prove me wrong, of course.

Second, after building the binary with --enable-debug and --enable-inferno, it crashes if I load any mod - even if I load only the mediavps (it works  if I start the game without any mod selected).

Log below:

Look here for the log since including it in the post exceeds the maximum allowed characters.


Since the log contains a lot of these:

Code: [Select]
BMPMAN: Found EFF (exp20.eff) with 64 frames at 30 fps.
DDS ERROR: Couldn't open 'exp20_0000' -- DDS is compressed but compression support is not enabled
WARNING: "EFF: No frame images were found.  EFF, exp20.eff, is invalid." at bmpman.cpp:934
WARNING: "Weapon explosion 'exp20' does not have an LOD0 anim!" at weapons.cpp:180

I assume it might be related to the modifications I made earlier to the code - I'm not a coder but I suppose I disabled the required compression support by modifying pngutils.cpp.

What should I do?
  • Downgrade libpng to 1.2 - affects my entire system
  • Wait for the SCP to upgrade the code - might happen later than sooner
  • Beg around for someone to provide a compatible binary - maybe i'll get lucky
  • Set up a special build environment just for one application - what?
  • Get the pre-compiled binary offered on the announcement page - it's not my flavor

Any other suggestions?
I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I've watched C-beams glitter in the dark near the Tannhäuser Gate. All those... moments will be lost in time... like... tears... in rain. (pause) Time... to die.

wxLauncher 0.9.4 Beta | wxLauncher 2.0 Request for Comments

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: Slackware -current (kinda 13.0+) x64 build/startup/mods issues
Don't ask me about anything else, but

Code: [Select]
DDS ERROR: Couldn't open 'exp20_0000' -- DDS is compressed but compression support is not enabled
should mean that there are problems with the GPU and/or its drivers, since it doesn't seem to be able to figure out what to do with compressed DDS textures.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Re: Slackware -current (kinda 13.0+) x64 build/startup/mods issues
I have to ask this: Why is the SCP basing the code on an older version of a certain library?
It's probably based on the versions that were out when the code was written. Is there some other way to do it?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Slackware -current (kinda 13.0+) x64 build/startup/mods issues
PNG support development began during a time when 1.4.0 was just stabilizing, so 1.2.x was the way to go.  We haven't yet taken the time to verify the changes made fully work with the PNG test suite, in fact the user reported that after applying those changes there were some issues in the main hall with some animations.  So, officially libpng 1.4.x is not supported yet.  We have not modified the build tools to check for specifically 1.2.x yet but hopefully we can just get 1.4.x support and not worry about it.  Can you not install both versions of libpng?  The .so should be a different version and the two should be installable concurrently.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays