Building OD

Building OD

Postby MCMic » 31 Mar 2012, 13:06

Hi!

I had not git pull and build the game in a long time, and I've switched PCs since, so I'm not sure I have all the dependencies right.

Here is what I got :
{l Code}: {l Select All Code}
Building CXX object CMakeFiles/OpenDungeons.bin.dir/source/ASWrapper.cpp.o
/home/mcmic/dev/opendungeons/source/ASWrapper.cpp:40:51: erreur: ‘ASWrapper* Ogre::Singleton<ASWrapper>::ms_Singleton’ is not a static member of ‘class Ogre::Singleton<ASWrapper>’
make[2]: *** [CMakeFiles/OpenDungeons.bin.dir/source/ASWrapper.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/OpenDungeons.bin.dir/all] Erreur 2
make: *** [all] Erreur 2


Have you any idea what went wrong? Do OD need some unstable version of Ogre?
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: Building OD

Postby StefanP.MUC » 31 Mar 2012, 13:20

Strange, I never got this error. I'll have a look what could go wrong here.

edit: Hmm, code-wise everything looks fine... What Ogre version do you have? I'm working with 1.7.2 on Windows.
StefanP.MUC
 

Re: Building OD

Postby MCMic » 31 Mar 2012, 13:59

I have the version 1.8.0RC1-4. (I use ArchLinux)
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: Building OD

Postby oln » 31 Mar 2012, 14:50

You will need 1.7 as of now. 1.8 is API-breaking, so it requires some code changes. (Would at least wait until the final release is out, also it's not in most distributions' repos yet.)
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: Building OD

Postby StefanP.MUC » 31 Mar 2012, 16:03

Bah, I hope upgrading Ogre won't be to hard when 1.8 comes out...
StefanP.MUC
 

Re: Building OD

Postby oln » 31 Mar 2012, 16:14

Hm, it seems most of it is not API-breaking, but they changed the variable name in the singleton class for some reason.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: Building OD

Postby svenskmand » 31 Mar 2012, 17:28

You should have almost all dependencies here. Although it is some time since I build the game last.
Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Who is online

Users browsing this forum: No registered users and 1 guest