[AGENT++] Compiling SNMP++ 3.3.7 on Windows 64bit with VS2013

Sandeep Thakkar sandeeptt at yahoo.com
Tue Oct 18 12:22:52 CEST 2016


Hi,
I'm building SNMP++ 3.3.7 on Windows 64bit with VS2013. I downloaded SNMP++ 3.3.7 tarball and MS VC++ 12 Project files archive and extracted in one directory so that I have snmp++ (renamed snmp++-3.3.37) and vs2013 at the same level. I could built it successfully after doing following changes. I haven't tested the application yet, but wanted to confirm if the steps I did were okay.
1. Moved the config_snmp_pp.h from the "snmp++\include\snmp_pp" directory as per README.win322. Commented the following lines from snmp++\libsnmp.h and vs2013\SNMP++\include\libsnmp.h
//#ifdef STDCXX_98_HEADERS# include <iostream>//#else//# include <iostream.h>//#endif
3. For SNMP++ project, defined the following additional macros
HAVE_LIBSSL_CRT_SECURE_NO_WARNINGSSNMP_PP_NAMESPACEHAVE_TIME_HHAVE_SYS_TIMEB_HHAVE_SIGNAL_H
4. Added OpenSSL include in the AdditionalIncludeDirectories.
Thanks,Sandeep


More information about the AGENTPP mailing list