Problems building or running the engine, queries about how to use features etc.
lonewolff
Ogre Magi
Posts: 1207 Joined: Wed Dec 28, 2005 12:58 am
x 6
Quote
0
login to like this post
Post
by lonewolff » Tue Jul 29, 2014 11:18 am
Hi Guys,
I am currently trying to get Hydrax working on Ogre 1.9 but I get this single error when trying to complie the Hydrax code.
1>src\hydrax\Mesh.cpp(43): error C2664: 'Ogre::SharedPtr<T>::SharedPtr(const Ogre::SharedPtr<T> &)' : cannot convert parameter 1 from 'int' to 'const Ogre::SharedPtr<T> &'
Any ideas as to what I can do to get this working?
Thanks!
Last edited by
lonewolff on Wed Jul 30, 2014 4:28 am, edited 1 time in total.
c6burns
Beholder
Posts: 1512 Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 138
Quote
0
login to like this post
Post
by c6burns » Tue Jul 29, 2014 3:53 pm
Take mMesh out of the member initialization list and put it in the body of the constructor:
Do that for anything else that complains, instead of trying to pass 0 to its ctor
lonewolff
Ogre Magi
Posts: 1207 Joined: Wed Dec 28, 2005 12:58 am
x 6
Quote
0
login to like this post
Post
by lonewolff » Wed Jul 30, 2014 4:28 am
Thanks for the reply.
I have decided to roll back to Ogre 1.8.1 as it seems a lot has changed in 1.9. There are quite a few things that I am struggling to get working in 1.9 that will work happily on 1.8.1.
I am not sure what the benefits are in 1.9 over 1.8.1 though.