Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / How do I fix this? ERROR!!

Author
Message
Rexx Thunder
16
Years of Service
User Offline
Joined: 25th Jan 2008
Location:
Posted: 25th Jan 2008 14:21
I'm pretty new to C++. I just loaded the 2d GDK template and tried to compile it an got...

1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(236) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(236) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C2146: syntax error : missing ';' before identifier 'Buffer'
1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

anyone know how to fix this?
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 25th Jan 2008 14:34 Edited at: 25th Jan 2008 14:37
Can you post the offending code?

The first error, is because there is a missing ';' before the specified identifier (usually on the line of code before the identifier), same goes for the 3rd. the others I would need to see the code. If you double click on the error in the output window it will take you to the line of code where the error is.

Who is your Daddy, and what does he do?
Rexx Thunder
16
Years of Service
User Offline
Joined: 25th Jan 2008
Location:
Posted: 25th Jan 2008 15:47
I didn't write any custom code. This is what happened with I just load up the template file and run it. This is the 2D graphics template that came with the GDK

Login to post a reply

Server time is: 2024-09-29 09:19:11
Your offset time is: 2024-09-29 09:19:11