This site is no longer active and is available for archival purposes only. Registration and login is disabled.

C2512 error GD3.5beta1 / smartphone 2002


C2512 error GD3.5beta1 / smartphone 2002

Postby vince_mad » Sep 1, 2004 @ 10:02am

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.
User avatar
vince_mad
pm Member
 
Posts: 136
Joined: Mar 30, 2004 @ 7:40pm
Location: Paris, France


Postby Johan » Sep 1, 2004 @ 3:42pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby vince_mad » Sep 1, 2004 @ 6:21pm

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.
User avatar
vince_mad
pm Member
 
Posts: 136
Joined: Mar 30, 2004 @ 7:40pm
Location: Paris, France


Postby Johan » Sep 2, 2004 @ 9:49am

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby vince_mad » Sep 2, 2004 @ 10:37am

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.
User avatar
vince_mad
pm Member
 
Posts: 136
Joined: Mar 30, 2004 @ 7:40pm
Location: Paris, France


Postby Johan » Sep 2, 2004 @ 2:54pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby vince_mad » Sep 3, 2004 @ 10:13am

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.
User avatar
vince_mad
pm Member
 
Posts: 136
Joined: Mar 30, 2004 @ 7:40pm
Location: Paris, France


Postby okku » Oct 28, 2004 @ 12:02am

Hello, I am getting the same error when linking.
(Smartphone SDK 2002,GapiDraw 3.5Beta1)



Any clues?
okku
pm Member
 
Posts: 58
Joined: Nov 11, 2002 @ 8:51am
Location: Sweden


Postby okku » Oct 28, 2004 @ 11:14am

okku
pm Member
 
Posts: 58
Joined: Nov 11, 2002 @ 8:51am
Location: Sweden


Postby Johan » Oct 28, 2004 @ 4:06pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby okku » Oct 28, 2004 @ 9:04pm

okku
pm Member
 
Posts: 58
Joined: Nov 11, 2002 @ 8:51am
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum