原因是没装Development Tools和 Development Libraries
安装:
[root@station8 ~]# export LANG=en_US.UTF-8
[root@station8 ~]# yum grouplist
[root@station8 ~]# yum groupinstall "X Software Development"
##安装开发工具和开发库分组:
[root@station8 ~]#yum groupinstall "Development Tools&quo...阅读全文
Tags: c compiler, development libraries, error, export, Path, path development, root, station, tools development, x software
今天debug一程序 出现如下错误:
uafxcwd.lib(afxmem.obj) : error LNK2005: “void * __cdecl operator new(unsigned int)” (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)
uafxcwd.lib(afxmem.obj) : error LNK2005: “void __cdecl operator delete(void *)” (??3@YAXPAX@Z) already...阅读全文
Tags: CRT, error, lib, LNK, microsoft mfc, specific library, uafxcwd, unsigned int, void, vs2005