ATL compiles only a solution to DEBUG compilation

xiaoxiao2021-03-06  65

Compiled with other ways appears below:

Libcmt.lib (fpinit.obj): Error LNK2005: __fltused already defined in stdafx.obj

Libcmt.lib (fpinit.obj): Warning lnk4006: __fltused already defined in stdafx.obj; second definition ignored

Creating Library ReleaseMinsize / WebGridCtrl.lib and Object ReleaseMinsize / WebGridCtrl.exp

Libcmt.lib (CRT0.Obj): Error LNK2001: Unresolved External Symbol_main

ReleaseMinsize / WebGridCtrl.dll: Fatal Error LNK1120: 1 Unresolved Externals

Error Executing Link.exe.

solve:

This problem has a lot of information, the simplest is to delete the _ATL_MIN_CRT in the pre-process definition in the C / C tag in Setting, more detailed instructions can be reviewed "in-depth analysis ATL" 200 pages.

转载请注明原文地址:https://www.9cbs.com/read-88597.html

New Post(0)