Page 1 of 1

Compiling error rev 1012

Posted: Sun Apr 03, 2011 6:54 pm
by odyssey335

When I compile the i386 Windows version of vbam in visual C++ 2008 express I get these errors

Code: Select all

C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\mfc\afxwin1.inl(1034) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\mfc\afxwin1.inl(1036) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

Edit: It only shows this when I'm compiling the VBAM project all of the others work.

Anyone know how to fix this?


Compiling error rev 1012

Posted: Mon Apr 04, 2011 1:02 am
by Squall Leonhart

that SDK is not supported.


Compiling error rev 1012

Posted: Mon Apr 04, 2011 4:19 pm
by odyssey335

Alright, then which file should it be using? I removed that SDK from my VC++ directories and now it can't find afxwin.h and the one included in the SDK seems to be the only one on my HDD.


Compiling error rev 1012

Posted: Mon Apr 04, 2011 8:56 pm
by Squall Leonhart

um, are you trying to use VC Express?

 

Express is unsupported, VBA-M needs the MFC libraries which are only present in full versions of MSVS