al2950
21-05-2009 11:10:24
Hi
I have been getting a weird compile problem that i was unable to fix;
I am using the latest Ogre source from the 1.6 branch and it fails to compile. It works fine on the 1.6.2 tag of ogre.
I am currently at work so cant post the error at the moment but it was something todo with OgreAny.h.
Can anyone shed any light on this!??
Thanks
Angus
P.s will post compiler log when i get back home
*EDIT
COMPILER OUTPUT
I have been getting a weird compile problem that i was unable to fix;
I am using the latest Ogre source from the 1.6 branch and it fails to compile. It works fine on the 1.6.2 tag of ogre.
I am currently at work so cant post the error at the moment but it was something todo with OgreAny.h.
Can anyone shed any light on this!??
Thanks
Angus
P.s will post compiler log when i get back home
*EDIT
COMPILER OUTPUT
1>------ Build started: Project: Caelum, Configuration: Release Win32 ------
1>Performing Pre-Build Event...
1>OGRE_HOME is G:\Ogre V1.6_Latest Branch
1>Compiling...
1>CaelumPrecompiled.cpp
1>Compiling...
1>UniversalClock.cpp
1>TypeDescriptor.cpp
1>Sun.cpp
1>SkyLight.cpp
1>SkyDome.cpp
1>PrecipitationController.cpp
1>PointStarfield.cpp
1>Moon.cpp
1>ImageStarfield.cpp
1>ImageHelper.cpp
1>GroundFog.cpp
1>GeometryFactory.cpp
1>FlatCloudLayer.cpp
1>DepthComposer.cpp
1>CloudSystem.cpp
1>CameraBoundElement.cpp
1>CaelumSystem.cpp
1>CaelumScriptTranslator.cpp
1>g:\ogre v1.6_latest branch\ogremain\include\OgreAny.h(162) : error C2593: 'operator <<' is ambiguous
1> g:\my documents\fdc ogre vis\fdc_vis\fdc_vis\caelum\include\CaelumPrerequisites.h(167): could be 'std::ostream &Ogre::operator <<(std::ostream &,Ogre::Degree)'
1> g:\ogre v1.6_latest branch\ogremain\include\OgreMath.h(131): or 'std::ostream &Ogre::operator <<(std::ostream &,const Ogre::Degree &)' [found using argument-dependent lookup]
1> while trying to match the argument list '(std::ostream, Ogre::Degree)'
1> g:\ogre v1.6_latest branch\ogremain\include\OgreAny.h(161) : while compiling class template member function 'void Ogre::Any::holder<ValueType>::writeToStream(std::ostream &)'
1> with
1> [
1> ValueType=Ogre::Degree
1> ]
1> g:\ogre v1.6_latest branch\ogremain\include\OgreAny.h(62) : see reference to class template instantiation 'Ogre::Any::holder<ValueType>' being compiled
1> with
1> [
1> ValueType=Ogre::Degree
1> ]
1> .\src\CaelumScriptTranslator.cpp(294) : see reference to function template instantiation 'Ogre::Any::Any<T>(const ValueType &)' being compiled
1> with
1> [
1> T=Ogre::Degree,
1> ValueType=Ogre::Degree
1> ]
1> .\src\CaelumScriptTranslator.cpp(327) : see reference to function template instantiation 'bool Caelum::tryHandlePropertyType<Ogre::Degree>(Ogre::ScriptCompiler *,Ogre::PropertyAbstractNode *,void *,const Caelum::ValuePropertyDescriptor *)' being compiled
1>CaelumPlugin.cpp
1>CaelumDefaultTypeDescriptorData.cpp
1>g:\ogre v1.6_latest branch\ogremain\include\OgreAny.h(162) : error C2593: 'operator <<' is ambiguous
1> g:\my documents\fdc ogre vis\fdc_vis\fdc_vis\caelum\include\CaelumPrerequisites.h(167): could be 'std::ostream &Ogre::operator <<(std::ostream &,Ogre::Degree)'
1> g:\ogre v1.6_latest branch\ogremain\include\OgreMath.h(131): or 'std::ostream &Ogre::operator <<(std::ostream &,const Ogre::Degree &)' [found using argument-dependent lookup]
1> while trying to match the argument list '(std::ostream, Ogre::Degree)'
1> g:\ogre v1.6_latest branch\ogremain\include\OgreAny.h(161) : while compiling class template member function 'void Ogre::Any::holder<ValueType>::writeToStream(std::ostream &)'
1> with
1> [
1> ValueType=Ogre::Degree
1> ]
1> g:\ogre v1.6_latest branch\ogremain\include\OgreAny.h(62) : see reference to class template instantiation 'Ogre::Any::holder<ValueType>' being compiled
1> with
1> [
1> ValueType=Ogre::Degree
1> ]
1> include\TypeDescriptor.h(136) : see reference to function template instantiation 'Ogre::Any::Any<ValueT>(const ValueType &)' being compiled
1> with
1> [
1> ValueT=Ogre::Degree,
1> ValueType=Ogre::Degree
1> ]
1> include\TypeDescriptor.h(135) : while compiling class template member function 'const Ogre::Any Caelum::TypedValuePropertyDescriptor<ValueT>::getValue(const void *) const'
1> with
1> [
1> ValueT=Ogre::Degree
1> ]
1> include\TypeDescriptor.h(156) : see reference to class template instantiation 'Caelum::TypedValuePropertyDescriptor<ValueT>' being compiled
1> with
1> [
1> ValueT=Ogre::Degree
1> ]
1> .\src\CaelumDefaultTypeDescriptorData.cpp(94) : see reference to class template instantiation 'Caelum::AccesorPropertyDescriptor<TargetT,ParamT,InParamT,OutParamT>' being compiled
1> with
1> [
1> TargetT=Caelum::CaelumSystem,
1> ParamT=Ogre::Degree,
1> InParamT=Ogre::Degree,
1> OutParamT=const Ogre::Degree
1> ]
1>Generating Code...
1>Compiling...
1>BrightStarCatalogue.cpp
1>Astronomy.cpp
1>Generating Code...
1>Build log was saved at "file://g:\My Documents\FDC Ogre Vis\FDC_VIS\FDC_Vis\Caelum\obj\release\BuildLog.htm"
1>Caelum - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========