我是天才,天生我才的天才's profile堕落与刻苦并存PhotosBlogLists Tools Help

Blog


    November 24

    link错误-link4098

    libcmtd.lib(tolower.obj) : error LNK2005: __tolower already defined in libcd.lib(tolower.obj)
    libcmtd.lib(tolower.obj) : error LNK2005: _tolower already defined in libcd.lib(tolower.obj)
    libcd.lib(crt0init.obj) : warning LNK4098: defaultlib "libcmtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
    Debug/VGS2DEBUGDLL.exe : fatal error LNK1169: one or more multiply defined symbols found
    Error executing link.exe.
     
     
     
     
    解决方案:Project   ->   Settings   ->   Link   ->   project   option中加入/nodefaultlib:"LIBCMTD"