LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Rigs of Rods (Sourceforge Project of the Month) (https://www.linuxquestions.org/questions/slackware-14/rigs-of-rods-sourceforge-project-of-the-month-4175437493/)

enine 11-16-2012 05:24 PM

Rigs of Rods (Sourceforge Project of the Month)
 
Anyone ever try to get this working on Slackware?

ChrisAbela 11-20-2012 06:17 AM

Although I am not a fan of games I am intrigued with this thread and I will try to get it installed. Be warned that I am rather busy right now. Should I get any results (or lack thereof) I will post them here. Hopefully others will join in.

ChrisAbela 11-22-2012 04:29 AM

Basically I am stuck.

Up to now I identified the following dependencies:

wxWidgets - SlackBuild from here: http://dl.dropbox.com/u/49744080/wxWidgets.tar.gz
ogre - SlackBuild from here: http://slackbuilds.org/slackbuilds/1...es/ogre.tar.gz
ois - SlackBuild from here: http://slackbuilds.org/slackbuilds/1...ies/ois.tar.gz

For ogre I made a basic installation; i.e. with no options or optional dependencies.

Now I am getting this error on rigsofrods:
Quote:

[ 10%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/RoRFrameListener.cpp.o
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp: In member function 'bool RoRFrameListener::updateEvents(float)':
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:1365:3: error: 'SelectorWindow' has not been declared
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:1365:39: error: 'SelectorWindow' has not been declared
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp: In member function 'void RoRFrameListener::changedCurrentTruck(Beam*, Beam*)':
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:2905:38: error: 'class Beam' has no member named 'dash'
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:2907:18: error: 'class Beam' has no member named 'dash'
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:2910:36: error: 'class Beam' has no member named 'dash'
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:2912:17: error: 'class Beam' has no member named 'dash'
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:2949:23: error: 'class Beam' has no member named 'dash'
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:2950:20: error: 'class Beam' has no member named 'dash'
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp: In member function 'virtual bool RoRFrameListener::frameStarted(const Ogre::FrameEvent&)':
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:3204:14: error: invalid use of incomplete type 'class SkyManager'
In file included from /tmp/rigsofrods-source-0.4.0.4/source/main/RoRPrerequisites.h:42:0,
from /tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.h:23,
from /tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:20:
/tmp/rigsofrods-source-0.4.0.4/source/main/GlobalEnvironment.h:30:7: error: forward declaration of 'class SkyManager'
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp: In member function 'virtual void RoRFrameListener::windowResized(Ogre::RenderWindow*)':
/tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:3397:26: error: invalid use of incomplete type 'class SurveyMapManager'
In file included from /tmp/rigsofrods-source-0.4.0.4/source/main/RoRPrerequisites.h:42:0,
from /tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.h:23,
from /tmp/rigsofrods-source-0.4.0.4/source/main/gameplay/RoRFrameListener.cpp:20:
/tmp/rigsofrods-source-0.4.0.4/source/main/GlobalEnvironment.h:27:7: error: forward declaration of 'class SurveyMapManager'
make[2]: *** [source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/RoRFrameListener.cpp.o] Error 1
make[1]: *** [source/main/main_sim/CMakeFiles/RoR.dir/all] Error 2
make: *** [all] Error 2

schmatzler 04-27-2014 02:52 PM

Sorry for hijacking this old thread, but maybe it's useful for others.

I was able to build Rigs of Rods 0.4.0.7 and all of its dependencies on Slackware64-current. Generating packages out of them wasn't that easy, but I managed it, too. So now we have the latest version of this simulation on Slackware! :)

If you want to try out this game, follow these basic instructions:

First, you'll have to install the packages from my repository. I use slapt-get, so I added this to my slapt-getrc:

Code:

SOURCE=http://schmatzler.de/my_slackbuilds/rigsofrods/:OFFICIAL
and issued the following command to install all needed packages:

Code:

slapt-get --update && slapt-get --install FreeImage MyGUI MySocketW OpenAL angelscript caelum hydrax nvidia-cg-toolkit ogre ogre-paged ois rigsofrods wxWidgets zziplib
Before starting the game, you'll have to set up the basic directory and add content like vehicles, terrains etc.:
Code:

wget http://schmatzler.de/my_slackbuilds/rigsofrods/SlackBuilds/rigsofrods/content-0407.zip
mkdir $HOME/.rigsofrods/packs/
unzip content-0407.zip -d $HOME/.rigsofrods/packs/

Now you can run

Code:

/usr/games/rigsofrods/RoRConfig
to start the game. Have fun!

Mark Pettit 04-28-2014 01:14 PM

Impressive. But I'd be even more impressed if your webpage had the actual slackbuilds. That way we can build it ourselves.

schmatzler 04-28-2014 01:39 PM

Quote:

Originally Posted by Mark Pettit (Post 5160678)
Impressive. But I'd be even more impressed if your webpage had the actual slackbuilds. That way we can build it ourselves.

They are here: http://schmatzler.de/my_slackbuilds/...s/SlackBuilds/

What good is a package without the source? :)

Mark Pettit 04-28-2014 01:43 PM

Cool - that wasn't at first (and very quick) glance available at the download link you pointed for the slapt-get packages. Or maybe I just didn't look hard enough. Thanx .... :-)

enine 09-07-2014 05:25 PM

I'm finally getting back to trying it out. Trying to figure out what are all the pre-req's now.

I'm using your Slackbuild schmatzler

got to here

Code:

[ 10%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/MaterialReplacer.cpp.o
make[2]: *** [source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/RoRFrameListener.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [source/main/main_sim/CMakeFiles/RoR.dir/all] Error 2
make: *** [all] Error 2

I'm assuming I'm missing something but it doesn't really say what.

Since yours are 74 bit I have to make them all for 32. I only have one system with >2G ram but haven't tried it yet with 64 bit.

schmatzler 09-07-2014 06:31 PM

That is not the actual error. The break in the compilation is being displayed further on top.

Edit: See the latest changes and try rebuilding it with the new SlackBuilds:
Code:

+--------------------------+
Mon Sep  8 00:21:56 UTC 2014
rigsofrods: Rebuilt. Works with the new OpenAL now. Removed some ugly Makefile
  hacks from the SlackBuild.

+--------------------------+
Mon Sep  8 00:02:42 UTC 2014
OpenAL: Updated to 1.16.0. Library does not link to ffmpeg and SDL2 anymore.


enine 09-07-2014 08:41 PM

That gets further
Code:

-- Build files have been written to: /tmp/txz/rigsofrods-0.4.0.7
Scanning dependencies of target RoRConfig
Scanning dependencies of target RoR
[  1%] [  2%] [  2%] [  2%] [  3%] Building CXX object source/configurator/CMakeFiles/RoRConfig.dir/__/main/utils/Settings.cpp.o                                                                                     
Building CXX object source/configurator/CMakeFiles/RoRConfig.dir/Configurator.cpp.o                       
Building CXX object source/configurator/CMakeFiles/RoRConfig.dir/__/main/utils/ErrorUtils.cpp.o           
Building CXX object source/configurator/CMakeFiles/RoRConfig.dir/statpict.cpp.o                           
Building CXX object source/configurator/CMakeFiles/RoRConfig.dir/__/main/utils/SHA1.cpp.o                 
[  4%] Building CXX object source/configurator/CMakeFiles/RoRConfig.dir/__/main/utils/Utils.cpp.o         
[  5%] [  5%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/audio/SoundScriptManager.cpp.o
Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/audio/SoundManager.cpp.o                   
/tmp/txz/rigsofrods-0.4.0.7/source/configurator/Configurator.cpp: In member function 'bool MyApp::checkUserPath()':
/tmp/txz/rigsofrods-0.4.0.7/source/configurator/Configurator.cpp:712:31: warning: 'auto_ptr' is deprecated (declared at /usr/include/c++/4.8.2/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
  std::auto_ptr< wxZipEntry > entry;
                              ^
[  6%] [  6%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/audio/Sound.cpp.o
Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/AutoPilot.cpp.o
[  6%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/Savegame.cpp.o
^[[B
Linking CXX executable ../../bin/RoRConfig
[  7%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/Replay.cpp.o
[  7%] Built target RoRConfig
[  8%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/RoRFrameListener.cpp.o
[  8%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/OutProtocol.cpp.o
[  9%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/CharacterFactory.cpp.o
[  9%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/Landusemap.cpp.o
[ 10%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/MaterialReplacer.cpp.o
[ 11%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/CacheSystem.cpp.o
[ 11%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/TorqueCurve.cpp.o
[ 12%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/BeamEngine.cpp.o
/tmp/txz/rigsofrods-0.4.0.7/source/main/gameplay/RoRFrameListener.cpp: In member function 'virtual bool RoRFrameListener::frameStarted(const Ogre::FrameEvent&)':
/tmp/txz/rigsofrods-0.4.0.7/source/main/gameplay/RoRFrameListener.cpp:3162:14: error: invalid use of incomplete type 'class SkyManager'
  if(sky) sky->detectUpdate();
              ^
In file included from /tmp/txz/rigsofrods-0.4.0.7/source/main/RoRPrerequisites.h:43:0,
                from /tmp/txz/rigsofrods-0.4.0.7/source/main/gameplay/RoRFrameListener.h:23,
                from /tmp/txz/rigsofrods-0.4.0.7/source/main/gameplay/RoRFrameListener.cpp:20:
/tmp/txz/rigsofrods-0.4.0.7/source/main/GlobalEnvironment.h:30:7: error: forward declaration of 'class SkyManager'
 class SkyManager;
      ^
[ 12%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/TwoDReplay.cpp.o
[ 13%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/ProceduralManager.cpp.o
make[2]: *** [source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/RoRFrameListener.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [source/main/main_sim/CMakeFiles/RoR.dir/all] Error 2
make: *** [all] Error 2


schmatzler 09-07-2014 09:35 PM

According to this:

http://www.rigsofrods.com/threads/11...test-Mercurial

you need to build caelum prior to Rigs of Rods.

enine 09-07-2014 10:04 PM

Hmm, I thought I did it already. Will go back through and double check them all then.

yep, somehow missed one. Compiled, now it errors when running with this error http://wiki.rigsofrods.com/index.php...rces_Not_Found

which simply says reinstall

wait, IIRC you need a content pack, ok, I was wrong again, I see the pack within your slackbuild.


What I'm trying to do is get a new system working, build a media/game pc for the living room, putting all the stuff the rest of the family likes and want to keep from going windows.


I'm getting this:
Quote:

OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library /usr/lib/OGRE/RenderSystem_Direct3D9. System Error: /usr/lib/OGRE/RenderSystem_Direct3D9.so: cannot open shared object file: No such file or directory in DynLib::load at /tmp/SBo/ogre_src_v1-8-1/OgreMain/src/OgreDynLib.cpp (line 93)
I'm getting search results about directx on linux?

enine 09-09-2014 08:39 PM

I uninstalled everything to start clean. Stepping through the slackbuilds in the order of the Ror web site. The OIS Slackbuild fails:

ois-v1-3/LinuxCB/OIS.cbp
patching file demos/FFConsoleDemo.cpp
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file demos/FFConsoleDemo.cpp.rej
patching file demos/OISConsole.cpp
Hunk #1 FAILED at 10.
Hunk #2 FAILED at 77.
2 out of 2 hunks FAILED -- saving rejects to file demos/OISConsole.cpp.rej
patching file src/linux/LinuxForceFeedback.cpp
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file src/linux/LinuxForceFeedback.cpp.rej
patching file src/linux/LinuxJoyStickEvents.cpp
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file src/linux/LinuxJoyStickEvents.cpp.rej

So I'm just doing it manually like the RoR site shows. Some of the packages I already have before from previous attempts of my own which is why I didn't see this error in the Slackbuild, I already had an install of OIS.

hmm, OIS fails manually
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../includes -I../includes -g -O2 -I/usr/X11R6/include -g -O2 -MT LinuxJoyStickEvents.lo -MD -MP -MF .deps/LinuxJoyStickEvents.Tpo -c ./linux/LinuxJoyStickEvents.cpp -fPIC -DPIC -o .libs/LinuxJoyStickEvents.o
./linux/LinuxJoyStickEvents.cpp: In member function 'virtual void OIS::LinuxJoyStick::capture()':
./linux/LinuxJoyStickEvents.cpp:100:77: error: 'read' was not declared in this scope
int ret = read(mJoyStick, &js, sizeof(struct input_event) * JOY_BUFFERSIZE);
^
./linux/LinuxJoyStickEvents.cpp: In static member function 'static OIS::JoyStickInfoList OIS::LinuxJoyStick::_scanJoys()':
./linux/LinuxJoyStickEvents.cpp:275:13: error: 'close' was not declared in this scope
close(fd);
^
./linux/LinuxJoyStickEvents.cpp:283:12: error: 'close' was not declared in this scope
close(fd);
^
./linux/LinuxJoyStickEvents.cpp: In static member function 'static void OIS::LinuxJoyStick::_clearJoys(OIS::JoyStickInfoList&)':
./linux/LinuxJoyStickEvents.cpp:294:20: error: 'close' was not declared in this scope
close(i->joyFileD);
^
make[1]: *** [LinuxJoyStickEvents.lo] Error 1
make[1]: Leaving directory `/media/Eugene/Downloads/Ror/SlackBuilds/ois/ois-v1-3/src'
make: *** [all-recursive] Error 1

What version did you use for your slackbuild?

schmatzler 09-09-2014 09:03 PM

The DirectX error gets thrown, because the rigsofrods plugins.cfg has an entry for DirectX by default:

Code:

# Define plugins
Plugin=RenderSystem_Direct3D9

Obviously, that doesn't work on Linux but is not breaking the engine.

I've uploaded the source of OIS I used:

http://schmatzler.de/my_slackbuilds/...is_v1-3.tar.gz

Got it originally from here:

http://pkgs.fedoraproject.org/repo/p...1cd2e1fca1518/

enine 09-10-2014 04:51 PM

Ohh, I missed hydrax the first go, don't know how I missed that.

OK, got to the point it asks for a content pack. this is version 0.4 right so I need the content pack for .4 but their instructions say to copy the streams folder into the installation folder but there is no streams folder in the .4 content pack. I'me tried putting the extracted pack in various places but it still asks for a pack.

NM, I see it back in an early post.

yay, almost there. I just had to overwrite the old packs again, left over from the previous install.
However game opens but no content, need to figure out why its not reading the packs, I see it read the zips at startup.

schmatzler 09-10-2014 08:27 PM

Quote:

Originally Posted by enine (Post 5235846)
However game opens but no content, need to figure out why its not reading the packs, I see it read the zips at startup.

Have you read my README?

Code:

Before starting the game, you'll have to set up the basic directory and add content like vehicles, terrains etc.:

wget http://schmatzler.de/my_slackbuilds/rigsofrods/SlackBuilds/rigsofrods/content-0407.zip
mkdir $HOME/.rigsofrods/packs/
unzip content-0407.zip -d $HOME/.rigsofrods/packs/

The official 0.4.0.7. content pack doesn't work on Linux, it crashes on some of the vehicles. I don't exactly know why, RoR has a lot of bugs. That is the reason why I stripped that down a little bit and created my own.

enine 09-10-2014 08:52 PM

1 Attachment(s)
Yes, I did and I did that step.
I see it read 35 zips then present an empty menu.
If you don't put in the content pack now, it tells you by exiting and saying you need a content pack.
I downloaded a terrain and vehicle in addition to your content pack and added those. But still nothing in the menu

schmatzler 09-11-2014 08:15 AM

Are you absolutely sure you've built zziplib first and after that, Rigs of Rods?

It needs this library to properly open the zip files.

enine 09-11-2014 08:59 AM

Ahh, I think I did zzip afterward. I wonder then if I just remake RoR it should pick it up.

What I did was step through your slackbuilds in the order the RoR 3rd party page walks through manually building them then finished and saw you had a couple other packages they didn't list so I built those last.

Ok, so just remaking RoR didn't change anything, how can I rebuild it with zziplib support?

schmatzler 09-24-2014 03:33 PM

Quote:

Originally Posted by enine (Post 5236187)
Ok, so just remaking RoR didn't change anything, how can I rebuild it with zziplib support?

That should exactly be it. If zziplib is present, RoR is including it at build time. Don't you see anything on the screen, it should tell you what it's building with. (You could also extract all ZIP files so you don't need it, but that's messy.)

Unfortunately, I haven't noted the build order and the list on their website is incomplete. But I think it should work with that:
  1. nvidia-cg-toolkit
  2. ogre
  3. ogre-paged
  4. ois
  5. MyGUI
  6. FreeImage
  7. MySocketW
  8. angelscript
  9. OpenAL
  10. wxWidgets
  11. caelum
  12. hydrax
  13. zziplib
  14. rigsofrods

Quite frankly, the code of rigsofrods is a total mess. All remaining devs are using Windows and depending on the gcc version, everything goes to hell. I'm trying to build the latest trunk and it takes ages to get around the simplest things, because no one bothers with portability. This simulation really needs better coders.

enine 09-24-2014 05:59 PM

I did make and install zzlib then made and installed ror again but still the same issue so I'm guessing something else may be dependent upon it.
I only have one machine in the house so far with >2G of ram so I suppose I could switch it to 64bit and just use your packages but then I'd still have to figure out how to get it working on 32bit if we ever wanted to do multiplayer. So for the time being its just easier to leave my one new box at 32bit.

enine 12-26-2014 01:53 PM

Anyone else ever gotten this to work on 32bit Slackware? I've went through every step over and over again.

schmatzler 12-27-2014 03:20 AM

The only thing I can think of is that there is a mistake in one of my SlackBuilds so at build time a library isn't found on 32bit.

Given the fact that Rigs of Rods needs huge amounts of RAM and a very powerful graphics card, you probably won't have much fun with it on an old 32bit machine anyways.

There are three new developers and they all moved to GIT now, by the way. I can already build the new code but it still has a major bug - you can't spawn a vehicle. As soon as this is fixed, I will put up new builds. :)

The original devs commercialized their code with "beam.ng drive" if anyone wants to give that a shot. It's Windows only at the moment, though.

enine 12-27-2014 09:46 AM

I have 2 and 4G of ram, enough to play RoR under Windows but not enough for 64 bit Linux.

I see ogre has been updated http://slackbuilds.org/repository/14.1/libraries/ogre/
Thought I would go get the v1-9 but that slackbuild doesn't even work. The download is a different name so I simply renamed it to v1-9 like it was expecting and it extracts to a different name but then tried to cd to a completely different name.
Ahh, the name is hard coded in the slackbuild, editing it gets past.

ogre-paged fails now

Code:

                from /tmp/adrien/ogre-paged-1.1.3/source/BatchedGeometry.cpp:16:
/tmp/adrien/ogre-paged-1.1.3/source/BatchedGeometry.cpp: In member function 'void Forests::BatchedGeometry::SubBatch::addSubEntity(Ogre::SubEntity*, const Ogre::Vector3&, const Ogre::Quaternion&, const Ogre::Vector3&, const Ogre::ColourValue&, void*)':
/usr/include/OGRE/OgreException.h:265:126: error: invalid conversion from 'int' to 'Ogre::Exception::ExceptionCodes' [-fpermissive]
 #define OGRE_EXCEPT(code, desc, src)        Ogre::ExceptionFactory::throwException(code, code, desc, src, __FILE__, __LINE__)
                                                                                                                              ^
/tmp/adrien/ogre-paged-1.1.3/source/BatchedGeometry.cpp:550:10: note: in expansion of macro 'OGRE_EXCEPT'
          OGRE_EXCEPT(0, "Unknown RenderSystem color format", "BatchedGeometry::SubBatch::addSubMesh()");
          ^
/usr/include/OGRE/OgreException.h:240:29: error:  initializing argument 1 of 'static void Ogre::ExceptionFactory::throwException(Ogre::Exception::ExceptionCodes, int, const String&, const String&, const char*, long int)' [-fpermissive]
  static OGRE_NORETURN void throwException(
                            ^
/tmp/adrien/ogre-paged-1.1.3/source/PagedGeometry.cpp: In constructor 'Forests::GeometryPage::GeometryPage()':
/tmp/adrien/ogre-paged-1.1.3/source/PagedGeometry.cpp:1051:79: warning: operation on '((Forests::GeometryPage*)this)->Forests::GeometryPage::_pending' may be undefined [-Wsequence-point]
  _visible = _fadeEnable = _pending = _pending = _loaded = _needsUnload = false;
                                                                              ^
make[2]: *** [source/CMakeFiles/PagedGeometry.dir/PagedGeometry.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [source/CMakeFiles/PagedGeometry.dir/BatchedGeometry.o] Error 1
make[1]: *** [source/CMakeFiles/PagedGeometry.dir/all] Error 2
make: *** [all] Error 2


schmatzler 12-27-2014 01:12 PM

Yep, there is no ogre-paged for 1.9 yet. Or at least I couldn't find it.

That's why I'm still sticking with Ogre 1.8.x. Same with MyGUI, rigsofrods needs a specific SVN version and doesn't run with the latest code.

EDIT: Oh, there is:

http://www.ogre3d.org/addonforums/vi...84ab0e512c9f00

Maybe you can build it? I'm occupied with the 31c3 lectures until Monday :3

EDIT #2:

Actually, this one is better - it's from the Rigs of Rods devs:

https://github.com/Hiradur/ogre-paged

schmatzler 12-29-2014 11:32 AM

I was able to build OGRE 1.9 and ogre-paged for it, too.

Then I tried to build the latest source code from Rigs of Rods and recognized, that there hasn't been done any work in that way. So it will only work with OGRE 1.8 at the moment. *sad trombone*

Anyway, if someone wants to build this new stuff, here are my SlackBuilds:
http://schmatzler.de/my_slackbuilds/test/ogre.zip

I still don't know why the game won't work on 32bit, though.

schmatzler 02-23-2015 07:13 PM

Rigs of Rods is not dead!

There has been a lot of progress regarding this game (or simulation, as you may call it) in the last months.

-The developers moved to github
-They fixed tons of compilation errors, which makes the game way easier to build now
-They made it more stable and it doesn't push the limits of my machine that much anymore
-It looks more modern, thanks to a new menu and new 2D elements and controls

You can find packages for Slackware64-current (regularly updated) and SlackBuilds at the usual location:

http://schmatzler.de/my_slackbuilds/rigsofrods/

There is a little bug which causes some vehicles to explode at this time, but I'm sure they will fix that very soon. Have fun :)

enine 04-13-2015 05:30 PM

Thanks schmatzler,

I just reinstalled my son's pc as 64bit.

Per your readme at http://schmatzler.de/my_slackbuilds/...s/_README.html I can just get your packages with slapt-get

Code:

slapt-get --update && slapt-get --install FreeImage MyGUI MySocketW OpenAL angelscript caelum hydrax nvidia-cg-toolkit ogre ogre-paged ois rigsofrods wxWidgets zziplib

Reading Package Lists...Done
No such package: hydrax

Is that still needed?

Looks like webkitgtk is also needed

schmatzler 04-14-2015 01:54 AM

hydrax is built-in now, I forgot to update the README.

webkitgtk shouldn't be needed for the game - is something linking to it?

enine 04-14-2015 06:37 AM

Yes, RoRConfig was complaining about a library being missing that I traced to webkitgtk. I built webkitgtk from slackbuilds and hydrax manually and got the game to open, it just has a flat map and two vehicles and crashed when we tried to chose change map but it at least ran so that more than before.

schmatzler 04-14-2015 07:57 AM

Quote:

Originally Posted by enine (Post 5347158)
Yes, RoRConfig was complaining about a library being missing that I traced to webkitgtk.

I've rebuilt wxWidgets and rigsofrods without linking to webkitgtk. Thanks for reporting :)

To get more vehicles and terrains, you need one of the 0.4 content packs from here (or both):

http://www.rigsofrods.com/repository/

enine 04-14-2015 08:19 AM

I was thinking your custom content pack had more than one but maybe I am remembering wrong.

I should go back and try again on 32bit but I need to migrate to 64 anyway. I have 1 of 4 on x64 now and the other three on 32bit, plus the three arm I have to support three versions now. If I more from 32-64 on the other three boxes then I am back down to two.

enine 04-14-2015 05:32 PM

Now he wants the editor :)

schmatzler 04-15-2015 03:28 AM

Quote:

Originally Posted by enine (Post 5347459)
Now he wants the editor :)

I'm afraid I can't follow. Do you mean the ingame vehicle editor?

enine 04-15-2015 06:42 AM

I'm not sure. I let my son go and download some packs and he now wants some kind of editor. I though he said map editor.

schmatzler 04-15-2015 07:24 AM

As far as I know, there is no built-in terrain editor. Terrains are made with Terragen:

http://www.rigsofrods.com/wiki/pages/Creating_a_terrain

But he can edit existing vehicles with the built in Rig-Editor if he wants to. It just doesn't work by default yet, the configfile for it has to be copied manually:

https://github.com/RigsOfRods/rigs-of-rods/issues/95

dslackw 07-22-2015 03:31 AM

Quote:

Originally Posted by schmatzler (Post 5291190)
Yep, there is no ogre-paged for 1.9 yet. Or at least I couldn't find it.

That's why I'm still sticking with Ogre 1.8.x. Same with MyGUI, rigsofrods needs a specific SVN version and doesn't run with the latest code.

EDIT: Oh, there is:

http://www.ogre3d.org/addonforums/vi...84ab0e512c9f00

Maybe you can build it? I'm occupied with the 31c3 lectures until Monday :3

EDIT #2:

Actually, this one is better - it's from the Rigs of Rods devs:

https://github.com/Hiradur/ogre-paged

Works in Slackware stable- ?

schmatzler 07-22-2015 03:39 AM

It works, but you'll have to build it yourself from the SlackBuilds. I only have time to manage -current.

dslackw 07-22-2015 03:50 AM

Thanks for response.

schmatzler 09-22-2015 12:01 PM

Rigs of Rods 0.4.5.1 has been released!

There also is a new trailer here.

I've updated all packages for x86_64-current to the latest codebase (a link to the repository is here):

Code:

Tue Sep 22 16:48:32 UTC 2015
rigsofrods: Updated to 0.4.5.1 + latest GIT patches.
MyGUI: Rebuilt.
caelum: Updated to GIT codebase from RoR.
ogre: Updated to 1.9.0.
ogre-paged: Updated to GIT codebase from RoR.

If you want to build them for yourself you can find the SlackBuilds here.

I've also noticed that some of you had problems with the game not recognizing ZIP files in the past. I think the build order I posted here earlier (from my mind, probably incorrect) built ogre without ZIP support.

If you want to build it yourself, this revised order should work:
  1. nvidia-cg-toolkit
  2. zziplib
  3. FreeImage
  4. ogre
  5. ois
  6. ogre-paged
  7. MyGUI
  8. MySocketW
  9. angelscript
  10. OpenAL
  11. wxWidgets
  12. caelum
  13. rigsofrods

Have fun! :)

Gerardo Zamudio 09-22-2015 06:07 PM

Site looks down from here :( Any chance of submitting to SBo?

enine 09-22-2015 08:46 PM

Site worked for me. I'm on 14.1 not current, getting:

Code:

/usr/games/rigsofrods/RoRConfig: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory
ok, that makes sense
Code:

bash-4.2$ ls /var/log/packages/boost* 
/var/log/packages/boost-1.54.0-x86_64-3

Updated boost, now I get
Code:

/usr/games/rigsofrods/RoRConfig: error while loading shared libraries: libicudata.so.54: cannot open shared object file: No such file or directory
Thats in icu4c so I upgraded it but now
Code:

/usr/games/rigsofrods/RoRConfig: error while loading shared libraries: libicule.so.51: cannot open shared object file: No such file or directory
thats supposed to be in icu4c also so I should have it.
Code:

root@EugeneLaptop:/# locate libicule.*
/usr/lib/libicule.so
/usr/lib/libicule.so.51.2
/usr/lib/libicule.so.51
/usr/lib64/libicule.so

looks like that should be in lib64 looking at http://packages.slackware.com/?r=sla...x86_64-1.txz&f

ehh, forget it, were so close to 14.2 anyway I'm just going to -current

schmatzler 09-22-2015 11:27 PM

Quote:

Originally Posted by Gerardo Zamudio (Post 5424175)
Site looks down from here :( Any chance of submitting to SBo?

Sorry, I had some problems with apache segfaulting. All is well now and should be up until I die. ;)

I won't submit this to SBo. It's way too extensive and when projects grow to a certain size (with their dependencies) SBo becomes a hassle.

If someone else wants to do it, feel free. It's open source. :)

enine 09-23-2015 06:27 PM

Looks like ois needs to before ogre-paged?

Code:

-- Looking for C++ include OgrePrerequisites.h
-- Looking for C++ include OgrePrerequisites.h - found
-- Looking for C++ include OIS/OIS.h
-- Looking for C++ include OIS/OIS.h - not found
-- Looking for C++ include OIS.h
-- Looking for C++ include OIS.h - not found
could not find the OIS includes. Please install them.
-- Performing Test HAVE_W_EXTRA
-- Performing Test HAVE_W_EXTRA - Success
-- Performing Test HAVE_GCC_DESTRUCTOR
-- Performing Test HAVE_GCC_DESTRUCTOR - Success
-- Performing Test HAVE_VISIBILITY_SWITCH
-- Performing Test HAVE_VISIBILITY_SWITCH - Success
-- Performing Test HAVE_GCC_VISIBILITY
-- Performing Test HAVE_GCC_VISIBILITY - Success
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.5")
found doxygen, generating documentation
-- Configuring incomplete, errors occurred!
See also "/tmp/adrien/ogre-paged-20150923/CMakeFiles/CMakeOutput.log".
See also "/tmp/adrien/ogre-paged-20150923/CMakeFiles/CMakeError.log".

Confirmed, once I built and installed ois, ogre-paged worked fine.

I also could not get ogre-paged to work from your download. I went to slackbuilds and got it and it worked fine.

FreeImage.info references version 3150 but the slackbuild is for 3160.

OpenAl.info references 1.15.1, slackbuild is 1.16.0

schmatzler 09-23-2015 07:05 PM

Maybe.

My list is still from scratch, I just moved zziplib to the top because I noticed that OGRE links against it.

Please try and tell me if it works. :)

enine 09-23-2015 08:12 PM

I had to start from scratch too after my failed upgrade to -current. I ended up reinstalling 14.1 so it was defiantly from scratch :)

Freeimage has to be before ogre or ogre will error out due to lack of png support.

I get a freeze or segfault when its loading terrain though :(

Well, lowering the graphics and selecting a simple terrain it work for a while. I think it may just be too much for my laptop. But I know the packages are good now, will install on my son's next.

schmatzler 09-23-2015 10:34 PM

Quote:

Originally Posted by enine (Post 5424808)
Well, lowering the graphics and selecting a simple terrain it work for a while.

Good to know that it worked! :-) I've updated the build order in my previous post so it will be easier for others to build packages.

enine 09-24-2015 08:26 AM

I should be able to try it on my son's box shortly, we built him a desktop and he has the best graphics in the house so now that I have the packages his should be pretty quick

schmatzler 01-16-2016 05:53 AM

I finally got a new build machine which builds Rigs of Rods just under one hour, so I updated the packages that were broken since the last updates and also built the latest GIT code from Rigs of Rods.

Quote:

Sat Jan 16 11:37:59 UTC 2016
Welcome to Rigs of Rods for Slackware 14.2 Beta 1! rigsofrods: Updated to
latest GIT codebase. ogre: Rebuilt. OpenAL: Updated to 1.17.1. wxWidgets:
Rebuilt.
Have fun!

schmatzler 03-10-2016 06:00 PM

I've made a little change: wxWidgets has been replaced with the full wxGTK3.

So the full package list for installing RoR is now this:

Code:

FreeImage MyGUI MySocketW OpenAL angelscript nvidia-cg-toolkit ogre ogre-caelum ogre-pagedgeometry ois rigsofrods wxGTK3 zziplib
Also, the website for Rigs of Rods is currently down, since the original owner gave up. Looks like it will take a long while until everything comes back, so I mirrored the two biggest content packs with vehicles and terrains here:

http://schmatzler.de/my_slackbuilds/.../contentpacks/

You can extract them into ~/.rigsofrods/packs to get started. Tested on 64bit -current only, but SlackBuilds are available, too (see signature). Have fun :)


All times are GMT -5. The time now is 07:42 PM.