PDA

View Full Version : Compile error


Captain Llama
13 Jun 2007, 17:35
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

lordofwings
15 Jun 2007, 12:27
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.

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:


Thanks