Re: [Flightgear-devel] Windows Build Problems

2002-04-11 Thread Frederic Bouvier
Hello, removing the const before sgMat4 cure the problem. Cheers, -Fred - Original Message - From: Jim Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 11, 2002 7:37 AM Subject: Re: [Flightgear-devel] Windows Build Problems Jonathan on those four lines (thats

Re: [Flightgear-devel] Windows Build Problems

2002-04-11 Thread Curtis L. Olson
Jonathan Polley writes: There are older issues with building under MSVC: Main/viewer.cxx has a #include fg_props.hxx that should be either fg_props.hxx or Main/fg_props.hxx, which ever you prefer. Both Network/raw_ctrls.hxx and Network/net_fdm.hxx have static constants defined as a

Re: [Flightgear-devel] Windows Build Problems

2002-04-11 Thread Jonathan Polley
Changing the '' to a '*' did not solve the problem. When I made Fred's change (removing 'const' but leaving the '') I was able to get it to build. Thanks! Jonathan Polley On Thursday, April 11, 2002, at 12:37 AM, Jim Wilson wrote: Jonathan on those four lines (thats all there is) change

Re: [Flightgear-devel] Windows Build Problems

2002-04-11 Thread Jim Wilson
Jonathan Polley [EMAIL PROTECTED] said: Changing the '' to a '*' did not solve the problem. When I made Fred's change (removing 'const' but leaving the '') I was able to get it to build. Ummm...did you change those to a pointer to an array of arrays? It wasn't just a matter of changing

Re: [Flightgear-devel] Windows Build Problems

2002-04-11 Thread Jonathan Polley
Jim, I did what you recommended and changed virtual const sgMat4 get... to virtual const sgMat4 * get... If I changed virtual const sgMat4 get... to virtual sgMat4 get... then everything worked. Jonathan Polley On Thursday, April 11, 2002, at 07:02 PM, Jim Wilson wrote: Jonathan

[Flightgear-devel] Windows Build Problems

2002-04-10 Thread Jonathan Polley
With the latest updates to CVS, MSVC is having problems. c:\flightgear\src\main\location.hxx(96) : error C2440: 'return' : cannot convert from 'float [4][4]' to 'const float ()[4][4]' Reason: cannot convert from 'float [4][4]' to 'const float [4][4]' There is no context in which this conversion

Re: [Flightgear-devel] Windows Build Problems

2002-04-10 Thread Jim Wilson
Jonathan on those four lines (thats all there is) change the text from sgMat4 get... to sgVec4 * get If you bring up lines 96-99 you'll see where the change is required. Sorry about that. I should be able to get a patch done sometime tomorrow. Best, Jim Jonathan Polley [EMAIL PROTECTED]