Martin Schweiger's Orbiter simulator: Archives -- December 2002
Re: Orbiter SDK
Sorry, Martin
This message was not adressed to me. Check the correct destination. Thanks!
----- Original Message -----
From: "Martin Schweiger" <martins@medphys.ucl.ac.uk>
To: <orbiter@firedrake.org>
Sent: Friday, December 13, 2002 12:33 PM
Subject: Re: Orbiter SDK
> "bool" is a C++ specific data type. The error may indicate
> that you are using a C compiler instead C++.
>
> If MSVC++ allows to switch between flavours of C/C++ (e.g.
> K&R C, ANSI C, ANSI C++, C++ with compiler-specific extensions,
> etc.) make sure that a C++ flavour is selected.
>
> Martin
>
> On Thu, 12 Dec 2002, Edward Langenback wrote:
>
> > -----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/
> >
> >
>
>
> --
> 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/
>
--
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/
Main Index | Thread Index | Author Index | Archive Index
roger@nospam.firedrake.org
Generated: Tue Dec 24 02:08:27 GMT 2002