Hydrax compilation problem on 1.9 [Aborted]

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
lonewolff
Ogre Magi
Posts: 1207
Joined: Wed Dec 28, 2005 12:58 am
x 6

Hydrax compilation problem on 1.9 [Aborted]

Post by lonewolff »

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.
User avatar
c6burns
Beholder
Posts: 1512
Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 138

Re: Hydrax compilation problem on 1.9

Post by c6burns »

Take mMesh out of the member initialization list and put it in the body of the constructor:

Code: Select all

mMesh.setNull();
Do that for anything else that complains, instead of trying to pass 0 to its ctor
User avatar
lonewolff
Ogre Magi
Posts: 1207
Joined: Wed Dec 28, 2005 12:58 am
x 6

Re: Hydrax compilation problem on 1.9

Post by lonewolff »

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.
Post Reply