As explained in the title, I’m having an issue compiling Touchlib in Visual C++ Express 2008. This error has been mentioned twice in other forums, but no other solutions are mentioned:
http://nuigroup.com/forums/viewthread/1333/ (post 7)
http://nuigroup.com/forums/viewthread/48/ (post 15)
The error list looks like this:
1>main.cc
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(33) : error C2146: syntax error : missing ‘;’ before identifier ‘_Atlosplatform’
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(33) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(33) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(34) : error C2146: syntax error : missing ‘;’ before identifier ‘_AtlGetVersionEx’
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(34) : error C2433: ‘BOOL’ : ‘inline’ not permitted on data declarations
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(35) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(36) : error C2065: ‘OSVERSIONINFO’ : undeclared identifier
1>c:\program files\microsoft platform sdk for windows server 2003 r2\include\atl\atlconv.h(36) : error C2146: syntax error : missing ‘;’ before identifier ‘osi’
...blah blah blah....
it’s all in atlconv.h file, which is unmodified after I downloaded it as part of the Platform SDK for Windows Server 2003, R2. Why are there so many syntax errors in this file?
Thanks!
EDIT:
- I’ve gone through the forum, and done everything else already
- This error only occurs when I want to build configapp. Otherwise everything is great.
CORRECTION:
- the error actually occurs when I try to build demo_smoke. configapp is fine.
