internals:windows:libs:smnp

net-smnp Windows, How to compile

Building net-snmp 5.4.1

Requirements

Configure

Configure for Win32

SET INCLUDE=c:\User\Pierre\Document\php-sdk\vc9\x86\deps\include;%INCLUDE%
SET LIB=c:\User\Pierre\Document\php-sdk\vc9\x86\deps\lib;%LIB%
SET MSVCDir=%VSINSTALLDIR%

Configure script (menu based):

cd  C:\phpbuild\libs\netsnmp-5.4.1\
win32\build.bat

Configure manually:

cd  C:\phpbuild\libs\netsnmp-5.4.1\win32
perl Configure --with-ssl --linktype=static --prefix=c:\usr --config=release --with-ipv6 --with-sdk

Compiling

Only the libraries are necessary (actually only netsmnp.lib):

nmake libs

Install

Install the libs and the development files (header and libs):

nmake install
nmake install_devel
internals/windows/libs/smnp.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1