EDN Admin
Well-known member
I am building a project "Autoshell which builds completely without errors in debug configuration. When I changed the project properties to release configuration I receive alot of these link errors:<br/> 1>Linking...<br/> 1>LINK : warning LNK4075: ignoring /INCREMENTAL due to /OPT:REF specification<br/> 1>Autoshell.obj : warning LNK4075: ignoring /EDITANDCONTINUE due to /OPT:ICF specification<br/> 1>Autoshell.obj : error LNK2005: "public: static int const CAutoShell::m_nBufferSize" (?m_nBufferSize@CAutoShell@@2HB) already defined in Autoshell.obj <br/> 1>Autoshell.obj : error LNK2005: "public: __thiscall CAutoShell::CAutoShell(void)" (??0CAutoShell@@QAE@XZ) already defined in Autoshell.obj<br/> 1>Autoshell.obj : error LNK2005: "public: __thiscall CAutoShell::~CAutoShell(void)" (??1CAutoShell@@QAE@XZ) already defined in Autoshell.obj<br/> <br/> Please tell me how to understand and resolve.<br/> <br/> DN.<br/> <br/> FYI: This project requires a recently built dll which I built in release configuration as well.
View the full article
View the full article