[AGENT++] MSVS project file for cmd_exe_mib example

KSly ks1313 at gmail.com
Tue Oct 19 20:46:13 CEST 2010


Hi All,

I was wondering if anybody had a project/solution file to build the
cmd_exe_mib example under Visual Studio 2008 and would be willing to share?
I am using the same project settings as agent++ but I get the following
linker errors:

Linking...

libsnmp++.lib(log.obj) : error LNK2005: "public: static class AgentLog *
__cdecl DefaultLog::log(void)" (?log at DefaultLog@@SAPAVAgentLog@@XZ) already
defined in cmd_exe_mib.obj

msvcrt.lib(ti_inst.obj) : error LNK2005: "private: __thiscall
type_info::type_info(class type_info const &)" (??0type_info@@AAE at ABV0@@Z)
already defined in LIBCMTD.lib(typinfo.obj)

msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info &
__thiscall type_info::operator=(class type_info const &)" (??4type_info@
@AAEAAV0 at ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)

LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib'
conflicts with use of other libs; use /NODEFAULTLIB:library
..\netMonitorAgent\netmonitor-agent.exe : fatal error LNK1169: one or more
multiply defined symbols found


Thanks,
Karla



More information about the AGENTPP mailing list