Указала путь в настройках проекта
С другими функциями тоже самое.... не находит их инициализацию...
Приведу лог ошибок, на что обратила внимание, так что пишет о конфликте: "warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library"
Может быть в эту сторону копать?
Лог:
1>------ Build started: Project: smnp_test, Configuration: Debug Win32 ------
1>Linking...
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>netsnmp.lib(snmp_api.obj) : error LNK2019: unresolved external symbol __imp__inet_addr@4 referenced in function _snmp_add_var
1>netsnmp.lib(read_config.obj) : error LNK2001: unresolved external symbol __imp__inet_addr@4
1>netsnmp.lib(system.obj) : error LNK2001: unresolved external symbol __imp__inet_addr@4
1>netsnmp.lib(snmp_api.obj) : error LNK2019: unresolved external symbol __imp__setsockopt@20 referenced in function __sess_open
1>netsnmp.lib(snmpTCPDomain.obj) : error LNK2001: unresolved external symbol __imp__setsockopt@20
1>netsnmp.lib(snmpSocketBaseDomain.obj) : error LNK2001: unresolved external symbol __imp__setsockopt@20
1>netsnmp.lib(snmp_logging.obj) : error LNK2019: unresolved external symbol __imp__ReportEventA@36 referenced in function _log_handler_syslog
1>netsnmp.lib(snmp_logging.obj) : error LNK2019: unresolved external symbol __imp__CloseEventLog@4 referenced in function _snmp_disable_syslog_entry
1>netsnmp.lib(snmp_logging.obj) : error LNK2019: unresolved external symbol __imp__OpenEventLogA@8 referenced in function _snmp_enable_syslog_ident
1>netsnmp.lib(read_config.obj) : error LNK2019: unresolved external symbol __imp__inet_ntoa@4 referenced in function _read_config_store_data_prefix
1>netsnmp.lib(snmpIPv4BaseDomain.obj) : error LNK2001: unresolved external symbol __imp__inet_ntoa@4
1>netsnmp.lib(callback.obj) : error LNK2019: unresolved external symbol __imp__select@20 referenced in function __callback_lock
1>netsnmp.lib(snmp_client.obj) : error LNK2001: unresolved external symbol __imp__select@20
1>netsnmp.lib(asn1.obj) : error LNK2019: unresolved external symbol __imp__ntohl@4 referenced in function _asn_parse_float
1>netsnmp.lib(mib.obj) : error LNK2001: unresolved external symbol __imp__ntohl@4
1>netsnmp.lib(snmpUDPDomain.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
1>netsnmp.lib(snmpIPv4BaseDomain.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
1>netsnmp.lib(inet_pton.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
1>netsnmp.lib(asn1.obj) : error LNK2019: unresolved external symbol __imp__htonl@4 referenced in function _asn_realloc_rbuild_float
1>netsnmp.lib(mib.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
1>netsnmp.lib(snmpv3.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
1>netsnmp.lib(snmpusm.obj) : error LNK2001: unresolved external symbol __imp__htonl@4
1>netsnmp.lib(snmpv3.obj) : error LNK2019: unresolved external symbol __imp__gethostbyname@4 referenced in function _setup_engineID
1>netsnmp.lib(system.obj) : error LNK2001: unresolved external symbol __imp__gethostbyname@4
1>netsnmp.lib(snmpv3.obj) : error LNK2019: unresolved external symbol __imp__gethostname@8 referenced in function _setup_engineID
1>netsnmp.lib(system.obj) : error LNK2001: unresolved external symbol __imp__gethostname@8
1>netsnmp.lib(tools.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _netsnmp_getenv
1>netsnmp.lib(system.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
1>netsnmp.lib(tools.obj) : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _netsnmp_getenv
1>netsnmp.lib(system.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
1>netsnmp.lib(tools.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _netsnmp_getenv
1>netsnmp.lib(system.obj) : error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function _get_myaddr
1>netsnmp.lib(snmpSocketBaseDomain.obj) : error LNK2001: unresolved external symbol __imp__closesocket@4
1>netsnmp.lib(system.obj) : error LNK2019: unresolved external symbol __imp__getsockname@12 referenced in function _get_myaddr
1>netsnmp.lib(snmpUDPIPv4BaseDomain.obj) : error LNK2001: unresolved external symbol __imp__getsockname@12
1>netsnmp.lib(system.obj) : error LNK2019: unresolved external symbol __imp__connect@12 referenced in function _get_myaddr
1>netsnmp.lib(snmpTCPDomain.obj) : error LNK2001: unresolved external symbol __imp__connect@12
1>netsnmp.lib(snmpUDPIPv4BaseDomain.obj) : error LNK2019: unresolved external symbol __imp__htons@4 referenced in function _netsnmp_udpipv4base_transport
1>netsnmp.lib(system.obj) : error LNK2001: unresolved external symbol __imp__htons@4
1>netsnmp.lib(snmpTCPDomain.obj) : error LNK2001: unresolved external symbol __imp__htons@4
1>netsnmp.lib(snmpUDPDomain.obj) : error LNK2001: unresolved external symbol __imp__htons@4
1>netsnmp.lib(snmpIPv4BaseDomain.obj) : error LNK2001: unresolved external symbol __imp__htons@4
1>netsnmp.lib(system.obj) : error LNK2019: unresolved external symbol __imp__socket@12 referenced in function _get_myaddr
1>netsnmp.lib(snmpTCPDomain.obj) : error LNK2001: unresolved external symbol __imp__socket@12
1>netsnmp.lib(snmpUDPIPv4BaseDomain.obj) : error LNK2001: unresolved external symbol __imp__socket@12
1>netsnmp.lib(system.obj) : error LNK2019: unresolved external symbol __imp__WSAStartup@8 referenced in function _winsock_startup
1>netsnmp.lib(system.obj) : error LNK2019: unresolved external symbol __imp__WSACleanup@0 referenced in function _winsock_cleanup
1>netsnmp.lib(snmpTCPDomain.obj) : error LNK2019: unresolved external symbol __imp__accept@12 referenced in function _netsnmp_tcp_accept
1>netsnmp.lib(snmpTCPDomain.obj) : error LNK2019: unresolved external symbol __imp__listen@8 referenced in function _netsnmp_tcp_transport
1>netsnmp.lib(snmpTCPDomain.obj) : error LNK2019: unresolved external symbol __imp__bind@12 referenced in function _netsnmp_tcp_transport
1>netsnmp.lib(snmpUDPIPv4BaseDomain.obj) : error LNK2001: unresolved external symbol __imp__bind@12
1>netsnmp.lib(snmpIPv4BaseDomain.obj) : error LNK2019: unresolved external symbol __imp__ntohs@4 referenced in function _netsnmp_sockaddr_in2
1>netsnmp.lib(snmpIPv4BaseDomain.obj) : error LNK2019: unresolved external symbol __imp__gethostbyaddr@12 referenced in function _netsnmp_ipv4_fmtaddr
1>netsnmp.lib(snmpSocketBaseDomain.obj) : error LNK2019: unresolved external symbol __imp__getsockopt@20 referenced in function __sock_buffer_maximize
1>netsnmp.lib(snmpSocketBaseDomain.obj) : error LNK2019: unresolved external symbol __imp__ioctlsocket@12 referenced in function _netsnmp_set_non_blocking_mode
1>netsnmp.lib(snmpTCPBaseDomain.obj) : error LNK2019: unresolved external symbol __imp__recvfrom@24 referenced in function _netsnmp_tcpbase_recv
1>netsnmp.lib(snmpUDPBaseDomain.obj) : error LNK2001: unresolved external symbol __imp__recvfrom@24
1>netsnmp.lib(snmpTCPBaseDomain.obj) : error LNK2019: unresolved external symbol __imp__sendto@24 referenced in function _netsnmp_tcpbase_send
1>netsnmp.lib(snmpUDPBaseDomain.obj) : error LNK2001: unresolved external symbol __imp__sendto@24
1>E:\user\temp\smnp_vs\smnp_test\Debug\smnp_test.exe : fatal error LNK1120: 30 unresolved externals
1>Build log was saved at "file://e:\user\temp\smnp_vs\smnp_test\smnp_test\Debug\BuildLog.htm"
1>smnp_test - 60 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========