BlindMindStudios / StarRuler2-Source

4X Space Strategy game Star Ruler 2's open source distribution.
http://starruler2.com
Other
1.45k stars 244 forks source link

Insanely long build error. Any help EXTREMELY APRECIATED. #87

Closed SPLATPLAYS closed 3 months ago

SPLATPLAYS commented 3 months ago

I have this really long build error. Can someone help reslove this issue.

I ran ""sudo make -f source/linux/Makefile compile > output.txt 2>&1"" so i could share the output. output.txt

SPLATPLAYS commented 3 months ago

Be warned this is a 2mb output

DaloLorn commented 3 months ago

Any Linux guys who could take a stab at it? I'm out of my depth here.

@SPLATPLAYS If you haven't tried yet, you could try to install the game via the OpenSR Launchpad. The automated builds for Linux have been a mixed bag, but if you're only looking to play, that might help out.

SPLATPLAYS commented 3 months ago

Thanks, I'll certainly give it a go.

SPLATPLAYS commented 3 months ago

Halfway

SPLATPLAYS commented 3 months ago

@DaloLorn I have tried to use OpenSR Launchpad. I installed its copy of the game separately.

When I press the play button Nothing happens.

DaloLorn commented 3 months ago

... What happens if you try to run the game directly from terminal? There's a launch script in the root directory that should do the trick.

SPLATPLAYS commented 3 months ago

sudo ./StarRuler2.sh chmod: cannot access './bin/lin64/StarRuler2.bin': No such file or directory ./StarRuler2.sh: line 16: /home/myusernamelol/StarRuler2-Source/bin/lin64/StarRuler2.bin: No such file or directory

SPLATPLAYS commented 3 months ago

@DaloLorn

DaloLorn commented 3 months ago

Uhh... this looks like you're trying to run the game from the uncompiled source, rather than the copy you installed via the Launchpad. That obviously wouldn't work, but I'm wondering why the Launchpad copy isn't starting, so you'll need to use that one's launch script instead.

(No need to explicitly ping me, by the way, least of all in a separate comment: I'm getting GitHub email notifications for each comment, and there's a webhook posting all of this into the OpenSR Discord. As long as you post any comment at all, there's nothing you can do to control how quickly I see it.)

SPLATPLAYS commented 3 months ago

Ok, sorry about the pings, I misunderstood. Here is my next error message: ./StarRuler2.sh ./bin/lin64/StarRuler2.bin: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory

DaloLorn commented 3 months ago

That'll be related to this, then. Ubuntu bundles GLEW 2.2 nowadays. Fortunately, the user opening that issue also offered a convenient workaround in his opening post, so you should be good to go once you've done that!

SPLATPLAYS commented 3 months ago

Thanks so much. image I'll go play it now.