RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
1.01k stars 177 forks source link

Building for Fedora Core 38 #3106

Open msuffidy opened 10 months ago

msuffidy commented 10 months ago

I managed to build Rigs of Rods on Fedora Core 38 using these versions of source: ogre-v13.6.5 rigs-of-rods-aur (current version) some older version of mygui.

The main branch does not build.

Problem is that it seems to be massively missing things including the shadow making stuff and I also see things like:

Error: ScriptCompiler - unexpected token in CaelumSkies.os(9): 'caelum_sky_system'. If this is a legacy script you must prepend the type (e.g. font, overlay). Error: ScriptCompiler - unexpected token in CaelumSkies.os(15): 'caelum_sky_system'. If this is a legacy script you must prepend the type (e.g. font, overlay). Error: ScriptCompiler - unexpected token in CaelumSkies.os(21): 'point_starfield'. If this is a legacy script you must prepend the type (e.g. font, overlay). Error: ScriptCompiler - unexpected token in CaelumSkies.os(34): 'sun'. If this is a legacy script you must prepend the type (e.g. font, overlay).

Error: preparing texture 'd9baUID-grenoble.dds'. Texture layer will be blank: Cannot locate resource d9baUID-grenoble.dds in resource group Cache. Error: preparing texture 'd9baUID-grenoble.dds'. Texture layer will be blank: Cannot locate resource d9baUID-grenoble.dds in resource group Cache.

RoR: /home/msuffidy/files/comptry/rigs-of-rods-aur/source/main/gui/imgui/imgui.cpp:3667: void NewFrameSanityChecks(): Assertion `(g.FrameCount == 0 || g.FrameCountEnded == g.FrameCount) && "Forgot to call Render() or EndFrame() at the end of the previous frame?"' failed. Aborted (core dumped)

I see with all 13 and below ogre builds that around 85% through I get all these warning about how it is ignoring things so one suspect is the ogre build.

Thanks

CuriousMike56 commented 10 months ago

Current release and master branch uses Ogre 1.11.6, the ogre-13 branch is still in its very early stages and doesn't provide a functional game. If you're just wanting to play the game please try the Linux release from https://rigs-of-rods.itch.io/rigs-of-rods

msuffidy commented 10 months ago

Oh that would be great. I am trying it, but it seems to not use it's shared libraries from its ./lib folder. Is there a way I can get it to use those? Thanks

msuffidy commented 10 months ago

Think I got it! export LD_LIBRARY_PATH=/usr/local/bin/rigsofrods/lib (well for me) Working so far. This is from the same shell of course.

CuriousMike56 commented 10 months ago

Linux releases contain a RunRoR script with that same command. To launch the game type sh ./RunRoR.sh (you may need to chmod +x the script and the RoR executable first)

msuffidy commented 10 months ago

Oh indeed. I overlooked that. Thanks