Yup, 

 

 

Add this to props.hxx

 

#include <simgear/math/SGMath.hxx>

 

Might not be the right answer, but it works. Fred will fix it properly in
due course.

 

Vivian

 

-----Original Message-----
From: Randall Green [mailto:randall.gr...@wright.edu] 
Sent: 09 September 2009 20:46
To: FlightGear developers discussions
Subject: [Flightgear-devel] Compiling newest CVS FlightGear/SimGear Error
inprops.hxx

 

I'm trying to compile the newest CVS FlightGear/SimGear and I get the
following long winded error

message. When I click on it, it takes me to:

private:

        T_obj

in props.hxx. Anyone have this problem?

Thanks,

Randy Green

2>c:\fg2\simgear\simgear\props\props.hxx(666) : error C2079:
'SGRawValueContainer<T>::_obj' uses undefined class 'SGVec3<T>'
2>        with
1>Build log was saved at
"file://c:\FG2\FlightGear\projects\VC90\terrasync\Win32\Debug\BuildLog.htm
<file:///c:\FG2\FlightGear\projects\VC90\terrasync\Win32\Debug\BuildLog.htm>
"
2>        [
2>            T=SGVec3d
2>        ]
2>        and
2>        [
2>            T=double
2>        ]
1>terrasync - 1 error(s), 0 warning(s)
2>        c:\fg2\simgear\simgear\props\props.hxx(672) : see reference to
class template instantiation 'SGRawValueContainer<T>' being compiled
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(671) : while compiling
class template member function 'SGRawExtended
*SGRawBase<T>::makeContainer(void) const'
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(692) : see reference to
class template instantiation 'SGRawBase<T>' being compiled
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>c:\fg2\simgear\simgear\props\props.hxx(685) : error C2079: 'value' uses
undefined class 'SGVec3<T>'
2>        with
2>        [
2>            T=double
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(684) : while compiling
class template member function 'std::istream
&SGRawBase<T>::readFrom(std::istream &)'
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>c:\fg2\simgear\simgear\props\props.hxx(687) : error C2664:
'SGRawValue<T>::setValue' : cannot convert parameter 1 from 'int' to
'SGVec3d'
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>        Source or target has incomplete type
2>c:\fg2\simgear\simgear\props\props.hxx(666) : error C2079:
'SGRawValueContainer<T>::_obj' uses undefined class 'SGVec4<T>'
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>        and
2>        [
2>            T=double
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(672) : see reference to
class template instantiation 'SGRawValueContainer<T>' being compiled
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(671) : while compiling
class template member function 'SGRawExtended
*SGRawBase<T>::makeContainer(void) const'
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(694) : see reference to
class template instantiation 'SGRawBase<T>' being compiled
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>c:\fg2\simgear\simgear\props\props.hxx(685) : error C2079: 'value' uses
undefined class 'SGVec4<T>'
2>        with
2>        [
2>            T=double
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(684) : while compiling
class template member function 'std::istream
&SGRawBase<T>::readFrom(std::istream &)'
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>c:\fg2\simgear\simgear\props\props.hxx(687) : error C2664:
'SGRawValue<T>::setValue' : cannot convert parameter 1 from 'int' to
'SGVec4d'
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>        Source or target has incomplete type
2>beacon.cxx
3>------ Build started: Project: fgviewer, Configuration: Debug Win32 ------
3>Linking...
2>c:\fg2\simgear\simgear\props\props.hxx(666) : error C2079:
'SGRawValueContainer<T>::_obj' uses undefined class 'SGVec3<T>'
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>        and
2>        [
2>            T=double
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(672) : see reference to
class template instantiation 'SGRawValueContainer<T>' being compiled
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(671) : while compiling
class template member function 'SGRawExtended
*SGRawBase<T>::makeContainer(void) const'
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(692) : see reference to
class template instantiation 'SGRawBase<T>' being compiled
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>c:\fg2\simgear\simgear\props\props.hxx(685) : error C2079: 'value' uses
undefined class 'SGVec3<T>'
2>        with
2>        [
2>            T=double
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(684) : while compiling
class template member function 'std::istream
&SGRawBase<T>::readFrom(std::istream &)'
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>c:\fg2\simgear\simgear\props\props.hxx(687) : error C2664:
'SGRawValue<T>::setValue' : cannot convert parameter 1 from 'int' to
'SGVec3d'
2>        with
2>        [
2>            T=SGVec3d
2>        ]
2>        Source or target has incomplete type
2>c:\fg2\simgear\simgear\props\props.hxx(666) : error C2079:
'SGRawValueContainer<T>::_obj' uses undefined class 'SGVec4<T>'
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>        and
2>        [
2>            T=double
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(672) : see reference to
class template instantiation 'SGRawValueContainer<T>' being compiled
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(671) : while compiling
class template member function 'SGRawExtended
*SGRawBase<T>::makeContainer(void) const'
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(694) : see reference to
class template instantiation 'SGRawBase<T>' being compiled
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>c:\fg2\simgear\simgear\props\props.hxx(685) : error C2079: 'value' uses
undefined class 'SGVec4<T>'
2>        with
2>        [
2>            T=double
2>        ]
2>        c:\fg2\simgear\simgear\props\props.hxx(684) : while compiling
class template member function 'std::istream
&SGRawBase<T>::readFrom(std::istream &)'
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>c:\fg2\simgear\simgear\props\props.hxx(687) : error C2664:
'SGRawValue<T>::setValue' : cannot convert parameter 1 from 'int' to
'SGVec4d'
2>        with
2>        [
2>            T=SGVec4d
2>        ]
2>        Source or target has incomplete type
2>CameraGroup.cxx

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to