Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 147 | f9daq | 1 | 1. Install |
| 2 | * ActivePerl |
||
| 3 | * Visual Studio 2015 |
||
| 4 | |||
| 5 | Download latest version of net-snmp library |
||
| 6 | https://sourceforge.net/p/net-snmp/code/ci/master/tree/ |
||
| 7 | |||
| 8 | |||
| 9 | 2. Start nmake environment |
||
| 10 | |||
| 11 | 3. Build |
||
| 12 | C:\Users\rok\Downloads\net-snmp-latest\win32>build.bat ---> choose dynamic build |
||
| 13 | |||
| 14 | 4. Install |
||
| 15 | C:\Users\rok\Downloads\net-snmp-latest\win32>nmake install_devel |
||
| 16 | |||
| 17 | 5. Copy WIENER-CRATE-MIB.txt |
||
| 18 | C:\usr\share\snmp\mibs WIENER-CRATE-MIB.txt |
||
| 19 | |||
| 20 | 6. For use in CVI LabWindows comment in net-snmp-config.h |
||
| 21 | |||
| 22 | /* |
||
| 23 | enum { |
||
| 24 | netsnmp_compile_time_uintptr_t_size_check |
||
| 25 | = sizeof(struct netsnmp_compile_time_uintptr_t_size_check_s { int:-!(sizeof(uintptr_t) == sizeof(void*)); }) |
||
| 26 | }; |
||
| 27 | */ |
||
| 28 | |||
| 29 | 7. Create import library with the help of netsnmplib.h and netsnmp.dll |
||
| 30 | ---> netsnmplib.h is a custom header build from include files in net-snmp library |