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

MFC Samples Build Error in Debug mode.


MFC Samples Build Error in Debug mode.

Postby smiletiger » Sep 12, 2006 @ 11:09am

The latest release GapiDraw3.6, it's MFC sample cannot be built in Debug mode.

The following are the error messages:
atlsd.lib(atltypes.obj) : error LNK2005: "public: __thiscall CPoint::CPoint(void)" (??0CPoint@@QAE@XZ) already defined in gapidraw.lib(GapiSurface.obj)
atlsd.lib(atltypes.obj) : error LNK2005: "public: __thiscall CRect::CRect(void)" (??0CRect@@QAE@XZ) already defined in gapidraw.lib(GapiDisplayCommon.obj)
atlsd.lib(atltypes.obj) : error LNK2005: "public: __thiscall CRect::CRect(struct tagRECT const &)" (??0CRect@@QAE@ABUtagRECT@@@Z) already defined in gapidraw.lib(GapiSurface.obj)
atlsd.lib(atltypes.obj) : error LNK2005: "public: __thiscall CRect::operator struct tagRECT *(void)" (??BCRect@@QAEPAUtagRECT@@XZ) already defined in gapidraw.lib(GapiSurface.obj)
atlsd.lib(atltypes.obj) : error LNK2005: "public: int __thiscall CRect::PtInRect(struct tagPOINT)const " (?PtInRect@CRect@@QBEHUtagPOINT@@@Z) already defined in gapidraw.lib(GapiSurface.obj)
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
smiletiger
pm Member
 
Posts: 3
Joined: Sep 12, 2006 @ 11:00am


anyone knows how to resolve this problem?

Postby smiletiger » Sep 13, 2006 @ 11:11am

smiletiger
pm Member
 
Posts: 3
Joined: Sep 12, 2006 @ 11:00am


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

cron