compiling skyx 0.4

nevarim

08-11-2014 17:42:09

i'm trying to compile skyx with ogre 1.9 and skyx 0.4

and i found an error compiling it
1>------ Build started: Project: SkyX, Configuration: Debug Win32 ------
1> MeshManager.cpp
1>..\..\..\project_addon\SkyX\SkyX\Source\MeshManager.cpp(48): error C2664: 'Ogre::SharedPtr<T>::SharedPtr(const Ogre::SharedPtr<T> &)' : cannot convert parameter 1 from 'int' to 'const Ogre::SharedPtr<T> &'
1> with
1> [
1> T=Ogre::Mesh
1> ]
1> Reason: cannot convert from 'int' to 'const Ogre::SharedPtr<T>'
1> with
1> [
1> T=Ogre::Mesh
1> ]
1> No constructor could take the source type, or constructor overload resolution was ambiguous
1> VClouds.cpp
1>i:\development\ogre\include\ogre\OgreSharedPtr.h(203): error C2440: 'initializing' : cannot convert from 'Ogre::Mesh *' to 'Ogre::Material *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> ..\..\..\project_addon\SkyX\SkyX\Source\VClouds\VClouds.cpp(56) : see reference to function template instantiation 'Ogre::SharedPtr<T>::SharedPtr<Ogre::Mesh>(const Ogre::SharedPtr<Ogre::Mesh> &)' being compiled
1> with
1> [
1> T=Ogre::Material
1> ]
1>i:\development\ogre\include\ogre\OgreSharedPtr.h(203): error C2439: 'Ogre::SharedPtr<T>::pRep' : member could not be initialized
1> with
1> [
1> T=Ogre::Material
1> ]
1> i:\development\ogre\include\ogre\OgreSharedPtr.h(127) : see declaration of 'Ogre::SharedPtr<T>::pRep'
1> with
1> [
1> T=Ogre::Material
1> ]
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========


any idea?


thanks
Neva

nevarim

10-11-2014 09:47:04

anyone knows anything?

scrawl

11-11-2014 16:23:03

SkyX ported to Ogre-1.9