Raptor Computing Systems Community Forums (BETA)
Software => Applications and Porting => Topic started by: Hasturtium on June 10, 2023, 12:56:41 am
-
So I'm trying to build DXX-Rebirth on Fedora 37, following the official directions posted here (https://github.com/dxx-rebirth/dxx-rebirth/blob/master/INSTALL.markdown), and using the build instructions
scons 'CXXFLAGS=-O3 -mcpu=power9 -DNO_WARN_X86_INTRINSICS' 'CPPFLAGS=-O3 -mcpu=power9 -DNO_WARN_X86_INTRINSICS' opengl=1
yields this error terminating compilation:
scons: *** Rebirth configured with OpenGL enabled, but SDL configured with OpenGL disabled. Disable Rebirth OpenGL or install an SDL with OpenGL enabled. See build/sconf.log for details. Stop.
I've tried a few Google searches but nothing conclusively indicates what I should do to configure or replace SDL2. I have not built it from source or installed it from alternative repos - this is stock Fedora.
-
Here is someone with a similar issue:
https://github.com/dxx-rebirth/dxx-rebirth/issues/689
I have not looked at it in detail.
-
I installed d1x-rebirth and d2x-rebirth out of the Fedora repos and those worked fine. Any particular reason you want to build them?
-
I installed d1x-rebirth and d2x-rebirth out of the Fedora repos and those worked fine. Any particular reason you want to build them?
Honestly, I didn't assume a package would be available, so I didn't look. But now I can't find a package by the name of dxx-rebirth, d1x-rebirth, or d2x-rebirth for F37.
edit: After various travails, determined the package names are literally "d1x" and "d2x." Well, at least that fixes things up. Now to test...
edit the second: Well, it's working. MIDI could sound better, but I'm an old OPLhead. What's the best solution for pointing the executable to the registered version - should I overwrite the contents of the demo files provided with the packages, or add a path entry to the dxx ini?
-
Good, you found it (for others curious - RPMFusion).
As far as the registered files:
% ls /usr/share/d1x
d1shar d1x-rebirth.bmp full
% ls /usr/share/d2x
d2shar d2x-rebirth.bmp full
% ls /usr/share/d1x/full
descent.hog descent.pig
% ls /usr/share/d2x/full
alien1.pig d2chaos.mn2 descent2.s22 ice.pig readme.txt
alien2.pig d2icons.dll descentg.ini intro-h.mvl robots-h.mvl
ben-h.mve descent2.dem endnote.txt intro-l.mvl robots-l.mvl
d2-2plyr.hog descent2.exe eregcard.exe modem.lst water.pig
d2-2plyr.mn2 descent2.ham eregcard.ini other-h.mvl
d2.bat descent2.hog fire.pig other-l.mvl
d2chaos.hog descent2.s11 groupa.pig pcxview.exe
/usr/bin/d[12]x-rebirth are shell scripts. If they find the registered files present, they will start the registered version, otherwise shareware. No config files required.