Page 1 of 1

Building OD

PostPosted: 31 Mar 2012, 13:06
by MCMic
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?

Re: Building OD

PostPosted: 31 Mar 2012, 13:20
by StefanP.MUC
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.

Re: Building OD

PostPosted: 31 Mar 2012, 13:59
by MCMic
I have the version 1.8.0RC1-4. (I use ArchLinux)

Re: Building OD

PostPosted: 31 Mar 2012, 14:50
by oln
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.)

Re: Building OD

PostPosted: 31 Mar 2012, 16:03
by StefanP.MUC
Bah, I hope upgrading Ogre won't be to hard when 1.8 comes out...

Re: Building OD

PostPosted: 31 Mar 2012, 16:14
by oln
Hm, it seems most of it is not API-breaking, but they changed the variable name in the singleton class for some reason.

Re: Building OD

PostPosted: 31 Mar 2012, 17:28
by svenskmand
You should have almost all dependencies here. Although it is some time since I build the game last.