2016-12-20 9 views
0

私はlibtinsを使用していくつかのDNS回答を解析しようとしていますが、リンカエラーが多発しています。ライブラリと追加のライブラリディレクトリを追加しました。この行を見たドキュメントでVisual Studioでのlibtinsのリンク2015

Windowsでlibtinsの静的ビルドを使用している場合は、アプリケーションをtins.libにリンクしています。また、あなたのプロジェクトに、このマクロ定義を追加する必要があります。これは、DLLからではなく、静的ライブラリからシンボルをインポートしようとせずに、プロジェクトの使用libtinsを行います

TINS​​_STATIC。

コンパイラのコマンドラインに/ DTINS_STATICを追加しました。

しかし、私はあなたが異なるバージョンのコンパイラによってコンパイルされたオブジェクトをリンクしている、このエラーログに

1>------ Rebuild All started: Project: DNSParser, Configuration: Debug Win32 ------ 
1> stdafx.cpp 
1> DNSWinPcap.cpp 
1>c:\users\hector\documents\visual studio 
1> Generating Code... 
1>tins.lib(pdu.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in DNSParser.obj 
    this is repeated a lot of times... 

1>tins.lib(rsn_information.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(dot11_control.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(stp.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(snap.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(dot11_mgmt.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(dot11_beacon.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(dot11_assoc.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(dot11_auth.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(dot11_probe.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 
1>tins.lib(network_interface.obj) : warning LNK4049: locally defined symbol [email protected]@@[email protected] (public: __thiscall std::_Container_base12::_Container_base12(void)) imported 

There are around 200 warnings like these 


1>tins.lib(dot11_mgmt.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(rsn_information.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(icmpv6.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(pppoe.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(utils.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(network_interface.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(pdu.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(dns.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(tcp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(icmp_extension.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Swap_all(struct std::_Container_base12 &)" ([email protected][email protected]@@[email protected]@Z) 
1>tins.lib(rsn_information.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_control.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(stp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(snap.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_mgmt.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_beacon.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_assoc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_auth.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_probe.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(network_interface.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(packet_sender.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(llc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_data.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(rawpdu.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot1q.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(pppoe.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(utils.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(icmpv6.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(mpls.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(arp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(eapol.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(icmp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(loopback.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(sll.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(ppi.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(tcp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(udp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(ipsec.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(icmp_extension.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot3.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(radiotap.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_base.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(ipv6.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(address_range.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(internals.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(ip.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(ethernetII.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(pdu.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dns.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(ip_address.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(ipv6_address.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) 
1>tins.lib(dns.obj) : error LNK2019: unresolved external symbol __imp__sprintf referenced in function "private: static void __cdecl Tins::DNS::inline_convert_v4(unsigned int,char *)" ([email protected]@[email protected]@[email protected]) 
1>tins.lib(snap.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot11_mgmt.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(rsn_information.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot11_auth.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot11_probe.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot11_control.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(stp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(llc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot11_data.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot11_beacon.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot11_assoc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(pppoe.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(utils.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(network_interface.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(packet_sender.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(arp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(eapol.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(rawpdu.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot1q.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(sll.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(ppi.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(icmpv6.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(mpls.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(ipsec.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(icmp_extension.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(icmp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(loopback.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot11_base.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(ipv6.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(tcp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(udp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(ip.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(ethernetII.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dot3.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(radiotap.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(dns.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(ip_address.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(ipv6_address.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(address_range.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) 
1>tins.lib(ip_address.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "private: unsigned int __thiscall Tins::IPv4Address::ip_to_int(char const *)" ([email protected]@[email protected]@[email protected]) 
1>tins.lib(ipv6_address.obj) : error LNK2001: unresolved external symbol [email protected] 
1>tins.lib(ipv6_address.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Tins::IPv6Address::to_string(void)const " ([email protected]@[email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@XZ) 
1>tins.lib(dot11_control.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(stp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_mgmt.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_beacon.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected][email protected]@[email protected]) 
1>tins.lib(dot11_assoc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_auth.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_probe.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(icmpv6.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(mpls.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(pppoe.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(dot11_data.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(ip.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(ipv6.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(tcp.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(icmp_extension.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) 
1>tins.lib(utils.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected]@@@[email protected]@@[email protected]@XZ$0 
1>tins.lib(utils.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "class Tins::IPv4Address __cdecl Tins::Utils::resolve_domain(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z) 
1>tins.lib(utils.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "class std::vector<struct Tins::Utils::RouteEntry,class std::allocator<struct Tins::Utils::RouteEntry> > __cdecl Tins::Utils::route_entries(void)" ([email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected]@@@[email protected]@@[email protected]@XZ) 
1>tins.lib(utils.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "class std::set<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl Tins::Utils::network_interfaces(void)" ([email protected]@[email protected]@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected]@XZ) 
1>tins.lib(network_interface.obj) : error LNK2001: unresolved external symbol [email protected] 
1>tins.lib(utils.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "class Tins::HWAddress<6,unsigned char> __cdecl Tins::Utils::resolve_hwaddr(class Tins::NetworkInterface const &,class Tins::IPv4Address,class Tins::PacketSender &)" ([email protected]@[email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@@Z) 
1>tins.lib(utils.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "class std::vector<struct Tins::Utils::Route6Entry,class std::allocator<struct Tins::Utils::Route6Entry> > __cdecl Tins::Utils::route6_entries(void)" ([email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected]@@@[email protected]@@[email protected]@XZ) 
1>tins.lib(utils.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected]@@@[email protected]@@[email protected]@XZ$0 
1>tins.lib(packet_sender.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z$0 
1>tins.lib(packet_sender.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: __thiscall Tins::PacketSender::~PacketSender(void)" ([email protected]@@[email protected]) 
1>tins.lib(packet_sender.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z$0 
1>tins.lib(packet_sender.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z$0 
1>tins.lib(packet_sender.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z$0 
1>tins.lib(packet_sender.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: void __thiscall Tins::PacketSender::open_l3_socket(enum Tins::PacketSender::SocketType)" ([email protected]@[email protected]@[email protected]@@Z) 
1>tins.lib(packet_sender.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: void __thiscall Tins::PacketSender::open_l3_socket(enum Tins::PacketSender::SocketType)" ([email protected]@[email protected]@[email protected]@@Z) 
1>C:\Users\Hector\Documents\Visual Studio 2015\Projects\DNSParser\Debug\DNSParser.exe : fatal error LNK1120: 21 unresolved externals 

答えて

0

を取得しています。プロジェクトプロパティでPlatform Toolsetを編集してみてください。

関連する問題