You are not logged in.

#1 2013-01-07 15:16:59

Morn
Member
Registered: 2012-09-02
Posts: 886

Rigs of Rods, another problem

Following up on my earlier post (https://bbs.archlinux.org/viewtopic.php?id=155791), https://aur.archlinux.org/packages/rigsofrods-hg/ still has problems, although I'm using the correct revsion of mygui:

[ 57%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gui/Console.cpp.o
/home/martin/aur/rigsofrods-hg/src/codehg/source/main/gui/Console.cpp: In Elementfunktion »void Console::eventButtonPressed(MyGUI::Widget*, MyGUI::KeyCode, MyGUI::Char)«:
/home/martin/aur/rigsofrods-hg/src/codehg/source/main/gui/Console.cpp:192:14: Error: »struct MyGUI::KeyCode« has no element called »toValue«

So if anyone knows a way to fix this, I'd be grateful.

Last edited by Morn (2013-01-07 15:46:16)

Offline

#2 2013-01-07 15:22:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,520
Website

Re: Rigs of Rods, another problem

A link to the earlier post would be good so we can see the history of what has been done.  Can you find the structure declaration for MyGUI::KeyCode?

Also, where is mygui from?  I just found a "mygui" package on sourceforge, downloaded it and grep'ed through it - there is no "KeyCode" anywhere in it, so I'm assuming it is the wrong "mygui" project.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2013-01-07 15:47:12

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Rigs of Rods, another problem

I've found the defintion, it looks like this should be solved with

sed -i "s/.toValue/.getValue/" "$srcdir/$_hgrepo/source/main/gui"/*.cpp

in the PKGBUILD. It's still compiling though, so it's too early to declare success.

Offline

#4 2013-01-07 16:14:33

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Rigs of Rods, another problem

It almost works now. It fails during linking:

[ 96%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/main.cpp.o
Linking CXX executable ../../../bin/RoR
/usr/bin/ld: CMakeFiles/RoR.dir/__/audio/SoundManager.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in DSO /usr/lib/libboost_system.so.1.50.0 so try adding it to the linker command line
/usr/lib/libboost_system.so.1.50.0: could not read symbols: Invalid operation

Some problem with boost apparently?

P.S. I really don't get why it thinks it needs boost for an OpenAL-related module. Maybe an older version of OpenAL is required? http://www.rigsofrods.com/wiki/pages/Co … _libraries

Last edited by Morn (2013-01-07 17:05:48)

Offline

#5 2013-01-07 18:42:18

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Rigs of Rods, another problem

As it turns out, the OGRE/boost linker issue is covered here: http://www.ogre3d.org/forums/viewtopic.php?f=2&t=71037

Unfortunately none of their suggested fixes seems to work for RoR. But maybe I'm using cmake wrong, I don't know that build system very well.

I've tried to add

 sed -i "s/libboost_date_time-vc100-mt-1_48/libboost_date_time-vc100-mt-1_48;libboost_system-vc100-mt-1_48/"\
             "$srcdir/$_hgrepo/CMakeDependenciesConfig.txt"
 echo "set(OGRE_BOOST_COMPONENTS system filesystem date_time)" >> "$srcdir/$_hgrepo/CMakeLists.txt"

to the PKGBUILD. But for some reason the linker still doesn't want to link against /usr/lib/libboost_system.so. sad

Offline

#6 2013-01-07 22:43:15

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Rigs of Rods, another problem

Well, ogre-hg from AUR doesn't even compile, so I think I'm giving up on RoR for today. Perhaps it will magically work when the main repo updates ogre and boost. Looks like the current version of ogre is bad, if I understand the error messages and bug reports correctly.

Offline

#7 2013-03-02 23:22:02

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 64
Website

Re: Rigs of Rods, another problem

ogre-hg is compiling now, although it stops earlier then normal ogre (10% instead 63%).

If that helps:

[ 10%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/CharacterFactory.cpp.o
In file included from /home/gabriel/Downloads/Linux/Arch/JogosArch/Rigs/aur-rigsofrods-hg/src/codehg/source/main/gameplay/Character.h:25:0,
...
make[2]: *** [source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/Savegame.cpp.o] Error 1

If any thoughts happen will be glad to help.

Sincerely,


- "Nothing is impossible, impossible just takes longer"
- My Arch Linux Mirror located in São Paulo, Brazil: http://archmirror.duckdns.org:9000/

Offline

Board footer

Powered by FluxBB