Page 1 of 1

C2512 error GD3.5beta1 / smartphone 2002

PostPosted: Sep 1, 2004 @ 10:02am
by vince_mad
Hi,
I get an error while compiling, it's probably something obvious but I'm not good enough to spot my mistake.
I took the minimal app .ccp and .h and put my code in it (the minimal app compiles ok).
I got the following error (many times):

pointing to the

Please help me!!!!!
Thanks in advance.

Vincent.

PostPosted: Sep 1, 2004 @ 3:42pm
by Johan

PostPosted: Sep 1, 2004 @ 6:21pm
by vince_mad
Hi Johan, thanks for the answer.
I might be stupid be I can't manage to make it work.
Do I have to change every declaration of CGapiSurface, in both .cpp and .h?
Thanks for your answer.

Vincent.

PostPosted: Sep 2, 2004 @ 9:49am
by Johan

PostPosted: Sep 2, 2004 @ 10:37am
by vince_mad
Hi Johan,
many thanks for your help again,
I know now I'm stupid (or at least not a good programmer!!!) because I can't get it to work.
Here is my code:

.h:





Pointing to the opening bracket of my constructor in the .cpp
I got one C2512 error for each surface I declare in my .h
I checked the plasma app for win32 and can't see what I'm missing...
I'm sorry to bother you with that kind of stupid question, thank you very much for your help.

Vincent.

PostPosted: Sep 2, 2004 @ 2:54pm
by Johan

PostPosted: Sep 3, 2004 @ 10:13am
by vince_mad
Hi Johan,
Many thanks for your help, I finally managed to compile! Alléluïa!!!
But I have now a linking problem:



I have the same problem when I try to build the minimal app.
I use evc++3.0 and build for smartphone 2002.

Thanks again for your help.

Vincent.

PostPosted: Oct 28, 2004 @ 12:02am
by okku
Hello, I am getting the same error when linking.
(Smartphone SDK 2002,GapiDraw 3.5Beta1)



Any clues?

PostPosted: Oct 28, 2004 @ 11:14am
by okku

PostPosted: Oct 28, 2004 @ 4:06pm
by Johan

PostPosted: Oct 28, 2004 @ 9:04pm
by okku