Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building for Fedora Core 38 #3106

Open
msuffidy opened this issue Nov 28, 2023 · 5 comments
Open

Building for Fedora Core 38 #3106

msuffidy opened this issue Nov 28, 2023 · 5 comments

Comments

@msuffidy
Copy link

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
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Author

msuffidy commented Nov 28, 2023

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
Copy link
Collaborator

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
Copy link
Author

msuffidy commented Nov 29, 2023

Oh indeed. I overlooked that. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants