Martin Schweiger's Orbiter simulator: Archives -- December 2002

Number 129 of 195 messages in this Archive
[Date Prev] Main Index [Date Next]
[Thread Prev] Thread Index [Thread Next]

Orbiter SDK



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Update:

i've managed to remember how to get msvc++4.0 to get a .dll proj
setup and added copies of the the ShuttleA files that were included
in the SDK archive.

at compile time, i get a flood of errors and compile stops at 100+

the beginning of the error pile is:

Compiling...
ShuttleA.cpp
C:\Msdev\Projects\newship\orbitersdk.h(338) : error C2501: 'bool' :
missing decl-specifiers
C:\Msdev\Projects\newship\orbitersdk.h(338) : error C2146: syntax
error : missing ';' before identifier 'GetEnableFocus'
C:\Msdev\Projects\newship\orbitersdk.h(338) : error C2062: type
'const int' unexpected
C:\Msdev\Projects\newship\orbitersdk.h(347) : error C2501: 'bool' :
missing decl-specifiers
C:\Msdev\Projects\newship\orbitersdk.h(347) : error C2146: syntax
error : missing ';' before identifier 'SetAttitudeMode'
C:\Msdev\Projects\newship\orbitersdk.h(347) : error C2062: type
'const int' unexpected

code surrounding 1st error:

   const  OBJHANDLE GetHandle (void) const;
   char   *GetName (void) const;
   char   *GetClassName (void) const;
   int    GetFlightModel (void) const;
   bool   GetEnableFocus (void) const;   <--line 338
   double GetSize (void) const;

any idea what it's complaining about?  this looks like perfectly
reasonable code to me...

or have i missed something in adding files to project:

Orbiter.lib
Orbitersdk.h
Orbitersdk.lib
resource.h
ShuttleA.cpp
ShuttleA.h
ShuttleA.opt
...and the contents of the bitmaps dir...







-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBPflxra8bph9k0BCaEQId3gCcCNo7E+wgHHShuUWwqlSz3jIM1ccAn1wG
5fIgrgfSoAnC0tLiPX8K9gRX
=s8kA
-----END PGP SIGNATURE-----


-- 
Orbiter discussion list:
- mail orbiter-request@firedrake.org with subject "unsubscribe" to leave
  or ask the listmaster (@firedrake.org)
- archives at http://lists.firedrake.org/orbiter/





  • Prev by Date: lockup with NCC-5139 Gea.
  • Next by Date: Re: Orbiter SDK

  • Previous by thread: Orbiter patch released
  • Next by thread: Re: Orbiter SDK

  • Main Index | Thread Index | Author Index | Archive Index

    roger@nospam.firedrake.org
    Generated: Tue Dec 24 02:08:27 GMT 2002