On 10/19/2009 03:34 PM, Alan Teeder wrote: > A heads up > > Simgear:- matmodel.cxx, model.cxx and Flightgear:- performancedb.cxx, > FGDeviceConfigurationMap.cxx are currently failing to compile here with > VC90. In each case the error is reported in props.hxx. > This is probably my "fault," though the code should compile with a properly conforming c++ compiler. Could you try adding #include <simgear/math/SGMath.hxx> to those files and see if it compiles?
Thanks, Tim > Strangely only these 4 modules are failing - the many other modules which > use this file have no problem. > > Alan > > e.g. for matmodel.cxx > > Compiling... > matmodel.cxx > d:\fg\SimGear\simgear/props/props.hxx(666) : error C2079: > 'SGRawValueContainer<T>::_obj' uses undefined class 'SGVec3<T>' > with > [ > T=SGVec3d > ] > and > [ > T=double > ] > d:\fg\SimGear\simgear/props/props.hxx(672) : see reference to class > template instantiation 'SGRawValueContainer<T>' being compiled > with > [ > T=SGVec3d > ] > d:\fg\SimGear\simgear/props/props.hxx(671) : while compiling class > template member function 'SGRawExtended *SGRawBase<T>::makeContainer(void) > const' > with > [ > T=SGVec3d > ] > d:\fg\SimGear\simgear/props/props.hxx(692) : see reference to class > template instantiation 'SGRawBase<T>' being compiled > with > [ > T=SGVec3d > ] > d:\fg\SimGear\simgear/props/props.hxx(685) : error C2079: 'value' uses > undefined class 'SGVec3<T>' > with > [ > T=double > ] > d:\fg\SimGear\simgear/props/props.hxx(684) : while compiling class > template member function 'std::istream &SGRawBase<T>::readFrom(std::istream > &)' > with > [ > T=SGVec3d > ] > d:\fg\SimGear\simgear/props/props.hxx(687) : error C2664: > 'SGRawValue<T>::setValue' : cannot convert parameter 1 from 'int' to > 'SGVec3d' > with > [ > T=SGVec3d > ] > Source or target has incomplete type > d:\fg\SimGear\simgear/props/props.hxx(666) : error C2079: > 'SGRawValueContainer<T>::_obj' uses undefined class 'SGVec4<T>' > with > [ > T=SGVec4d > ] > and > [ > T=double > ] > d:\fg\SimGear\simgear/props/props.hxx(672) : see reference to class > template instantiation 'SGRawValueContainer<T>' being compiled > with > [ > T=SGVec4d > ] > d:\fg\SimGear\simgear/props/props.hxx(671) : while compiling class > template member function 'SGRawExtended *SGRawBase<T>::makeContainer(void) > const' > with > [ > T=SGVec4d > ] > d:\fg\SimGear\simgear/props/props.hxx(694) : see reference to class > template instantiation 'SGRawBase<T>' being compiled > with > [ > T=SGVec4d > ] > d:\fg\SimGear\simgear/props/props.hxx(685) : error C2079: 'value' uses > undefined class 'SGVec4<T>' > with > [ > T=double > ] > d:\fg\SimGear\simgear/props/props.hxx(684) : while compiling class > template member function 'std::istream &SGRawBase<T>::readFrom(std::istream > &)' > with > [ > T=SGVec4d > ] > d:\fg\SimGear\simgear/props/props.hxx(687) : error C2664: > 'SGRawValue<T>::setValue' : cannot convert parameter 1 from 'int' to > 'SGVec4d' > with > [ > T=SGVec4d > ] > Source or target has incomplete type > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel