1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Compile error

Discussion in 'SimConnect' started by Captain Llama, 13/6/07.

  1. Captain Llama

    Captain Llama

    Joined:
    13/6/07
    Messages:
    6
    Country:
    ca-alberta
    Hello,

    I'm using Visual C++ 2005 Express Edition to develop an add-on for Flight Sim X using SimConnect. Every time I try to compile it, I get a huge list of errors related to simconnect.h. I get 171 errors in total, so I pasted only a couple of them here:

    simconnect.h(30) : error C2146: syntax error : missing ';' before identifier 'SIMCONNECT_OBJECT_ID'
    simconnect.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    simconnect.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    simconnect.h(408) : error C2065: 'MAX_PATH' : undeclared identifier
    simconnect.h(456) : error C2146: syntax error : missing ';' before identifier 'rgbData'
    simconnect.h(456) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    simconnect.h(456) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    simconnect.h(481) : error C2146: syntax error : missing ';' before identifier 'guidInstanceId'

    Does anyone know why this is happening?

    Thanks
  2. lordofwings

    lordofwings

    Joined:
    5/11/06
    Messages:
    559
    Country:
    panama
    I am actually (For now) developing for FS9. Dowloaded VC++ 2005 with the Platform SDK and the adaptions described in the page but can't get the basic FS Modules example to work.

    The compile errors are very very similar to what you post.

Share This Page