Skip to content

Can't be used in projects with static CRT #4

@Anton-V-K

Description

@Anton-V-K

The package (version 1.1.3.3) is built with dynamic CRT, so it's impossible to use it in projects with static CRT.
Following errors occur:

log4cpp.lib(Category.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary':
    value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in myclass.obj
...
msvcprtd.lib(MSVCP140D.dll) : error LNK2005: "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z)
    already defined in libcpmtd.lib(xlock.obj)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions