Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

1. Install 
* ActivePerl
* Visual Studio 2015

Download latest version of net-snmp library
https://sourceforge.net/p/net-snmp/code/ci/master/tree/


2. Start nmake environment

3. Build
C:\Users\rok\Downloads\net-snmp-latest\win32>build.bat   ---> choose dynamic build

4. Install
C:\Users\rok\Downloads\net-snmp-latest\win32>nmake install_devel

5. Copy WIENER-CRATE-MIB.txt 
C:\usr\share\snmp\mibs    WIENER-CRATE-MIB.txt
   
6. For use in CVI LabWindows comment in net-snmp-config.h

/*
enum {
    netsnmp_compile_time_uintptr_t_size_check
        = sizeof(struct netsnmp_compile_time_uintptr_t_size_check_s { int:-!(sizeof(uintptr_t) == sizeof(void*)); })
};
*/

7. Create import library with the help of netsnmplib.h  and netsnmp.dll
---> netsnmplib.h is a custom header build from include files in net-snmp library