Can't compile in VS2015

1,050 views
Skip to first unread message

H

unread,
Apr 1, 2016, 6:34:53 AM4/1/16
to libtins
I'm using the precompiled win32-debug library with my project, and everything worked in VS2013 until I tried setting it up again on another PC with VS2015. Any help would be appreciated.

Basically I can't even compile the following code:

#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Iphlpapi.lib")

#include <tins/tins.h>

int main() { return 0; }

The code would compile without this line: #include <tins/tins.h>

Errors:

Severity Code Description Project File Line Suppression State
Error (active) this declaration has no storage class or type specifier Sniffer2 c:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h 600
Error (active) expected a '}' Sniffer2 c:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h 600
Error (active) cannot open source file "sys/time.h" Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 47
Error (active) linkage specification is incompatible with previous "pcap_loop" (declared at line 299) Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 299
Error (active) linkage specification is incompatible with previous "pcap_dispatch" (declared at line 300) Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 300
Error (active) linkage specification is incompatible with previous "pcap_next" (declared at line 302) Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 302
Error (active) linkage specification is incompatible with previous "pcap_next_ex" (declared at line 303) Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 303
Error (active) linkage specification is incompatible with previous "pcap_sendpacket" (declared at line 311) Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 311
Error (active) more than one instance of overloaded function "pcap_offline_filter" has 'C' linkage Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 321
Error (active) declaration is incompatible with "void pcap_dump" (declared at line 346 of "c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h") Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 346
Error (active) more than one instance of overloaded function "bpf_filter" has 'C' linkage Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 354
Error C1083 Cannot open include file: 'sys/time.h': No such file or directory Sniffer2 c:\users\h\downloads\snifferwin32\wpdpack_4_1_2\wpdpack\include\pcap\pcap.h 47


 
Here's what I did:

Started a fresh win32-debug project in VS2015

Added libtins-vs2015-Win32-debug\include and lib locations exactly like I did in VS2013.
Added WpdPack_4_1_2\WpdPack\Include and lib locations exactly like I did in VS2013.

Thanks for any help.

Matias Fontanini

unread,
Apr 1, 2016, 10:13:17 AM4/1/16
to libtins

Are those all the error messages you get? That seems to be something pcap related. Can you remove the include tins/tins.h, replace it with include <pcap.h> and see if you still get the error?

I'm using appveyor to build the library and run the tests and it builds and works fine on vs2015

--
You received this message because you are subscribed to the Google Groups "libtins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libtins+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

H

unread,
Apr 1, 2016, 11:27:03 AM4/1/16
to libtins
Thanks for the reply. I just replaced it with include <pcap.h> and got the same errors: (I did not post the complete error list the first time. It should be complete now)

Severity Code Description Project File Line Suppression State
Error (active) identifier "u_int" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\bpf.h 68
Error (active) identifier "u_int" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\bpf.h 919
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\bpf.h 919
Error (active) identifier "u_int" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\bpf.h 919
Error (active) identifier "u_int" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\bpf.h 919
Error (active) cannot open source file "sys/time.h" Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 47
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 244
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 245
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 299
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 300
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 301
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 303
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 311
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 322
Error (active) incomplete type is not allowed Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 346
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 346
Error (active) expected an expression Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 346
Error (active) identifier "u_int" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 354
Error (active) identifier "u_char" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 354
Error (active) identifier "u_int" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 354
Error (active) identifier "u_int" is undefined Sniffer2 c:\Users\H\Downloads\SnifferWin32\WpdPack_4_1_2\WpdPack\Include\pcap\pcap.h 354

H

unread,
Apr 1, 2016, 6:08:52 PM4/1/16
to libtins
After adding WIN32;WPCAP;HAVE_REMOTE to Preprocessor Definitions, the code compiled. I didn't do this in VS2013. Any idea why it seems necessary in VS2015?

H

unread,
Apr 1, 2016, 6:29:21 PM4/1/16
to libtins
Now the code won't compile again after I tried compiling this tutorial straight off the website.

After I pasted this code into VS, the editor says Class "Sniffer" has no member "sniff_loop"


#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Iphlpapi.lib")

#include <tins/tins.h>

using namespace Tins;

bool doo(PDU&) {
return false;
}

struct foo {
void bar() {
SnifferConfiguration config;
config.set_promisc_mode(true);
config.set_filter("ip src 192.168.0.100");
Sniffer sniffer("eth0", config);
sniffer.sniff_loop(make_sniffer_handler(this, &foo::handle));
sniffer.sniff_loop(doo);
}

bool handle(PDU&) {
// Don't process anything
return false;
}
};

int main() {
foo f;
f.bar();
}

Matias Fontanini

unread,
Apr 2, 2016, 11:31:46 AM4/2/16
to libtins
I didn't need to add that on appveyor, so I don't know why you have to add it.

Can you provide the complete error message? That code is fine, it should work

H

unread,
Apr 2, 2016, 1:43:51 PM4/2/16
to libtins
There are 502 errors, so get ready...

I tried an simpler example and even this didn't compile:

#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Iphlpapi.lib")

#include <tins/tins.h>

using namespace Tins;

int main() {
EthernetII eth;
IP *ip = new IP();
TCP *tcp = new TCP();
ip->inner_pdu(tcp);
eth.inner_pdu(ip);
}


Once I pasted the code into the editor, it automatically underlines the TCP part and says "identifider tcp is undefined", but #include <tins/tins.h> is not underlined, so I assume the include dir and lib are configured properly.


Here are the ~500 errors:

Severity Code Description Project File Line Suppression State
Error (active) expected an identifier SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 778
Error (active) expected an expression SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 779
Error (active) type name is not allowed SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 817
Error (active) identifier "operator ""ms" is undefined SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 817
Error (active) type name is not allowed SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 818
Error (active) expected a ')' SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 818
Error (active) expected a ',' SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 819
Error (active) type name is not allowed SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 828
Error (active) identifier "operator ""us" is undefined SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 828
Error (active) type name is not allowed SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 829
Error (active) expected a ')' SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 829
Error (active) expected a ',' SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 830
Error (active) type name is not allowed SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 839
Error (active) identifier "operator ""ns" is undefined SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 839
Error (active) type name is not allowed SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 840
Error (active) expected a ')' SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 840
Error (active) expected a ',' SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 841
Error (active) expected a ';' SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 845
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 848
Error (active) expected a declaration SnifferWin32 c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono 850
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\address_range.h 122
Error (active) identifier "IPv4Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\address_range.h 291
Error (active) identifier "IPv6Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\address_range.h 296
Error (active) nonmember operator requires a parameter with class or enum type SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\address_range.h 324
Error (active) identifier "IPv6Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\address_range.h 324
Error (active) nonmember operator requires a parameter with class or enum type SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\address_range.h 331
Error (active) identifier "IPv4Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\address_range.h 331
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\address_range.h 332
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\crypto.h 602
Error (active) identifier "IPv6Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 171
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 176
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 176
Error (active) identifier "metadata" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 421
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 426
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 438
Error (active) identifier "MessageType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 447
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 447
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 456
Error (active) small_uint is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 465
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 465
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 474
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 483
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 492
Error (active) identifier "MessageType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 502
Error (active) declaration is incompatible with "<error-type> transaction_id()" (declared at line 465) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 516
Error (active) identifier "small_uint" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 516
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 541
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 550
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 558
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 566
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 574
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 582
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 590
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 598
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 606
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 614
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 622
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 630
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 638
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 646
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 654
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 662
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 670
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 678
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 686
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 826
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 858
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 867
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 876
Error (active) identifier "PDUType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 882
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 882
Error (active) overloaded function "DHCPv6" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 889
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 889
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 892
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 894
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 894
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 895
Error (active) cannot overload functions distinguished by return type alone SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 896
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 920
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\dhcpv6.h 968
Error (active) identifier "container_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\handshake_capturer.h 98
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\handshake_capturer.h 99
Error (active) EAPOLHandshake is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\handshake_capturer.h 104
Error (active) identifier "RSNEAPOL" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\handshake_capturer.h 104
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\handshake_capturer.h 168
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 78
Error (active) cannot overload functions distinguished by return type alone SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 86
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 86
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 94
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 102
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 110
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 110
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 144
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 151
Error (active) identifier "PDUType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 157
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 157
Error (active) identifier "IPSecAH" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 162
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 162
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 165
Error (active) identifier "PDU" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 171
Error (active) identifier "ipsec_header" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 173
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 174
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 175
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ipsec.h 265
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 68
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 88
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 150
Error (active) identifier "OverlappingTechnique" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 150
Error (active) identifier "PacketStatus" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 166
Error (active) identifier "PDU" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 166
Error (active) identifier "pdu" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 166
Error (active) identifier "IPv4Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 183
Error (active) identifier "IPv4Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 183
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 184
Error (active) identifier "address_pair" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 186
Error (active) namespace "Internals" has no member "IPv4Stream" SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 187
Error (active) identifier "IP" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 189
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 189
Error (active) identifier "address_pair" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 190
Error (active) identifier "IPv4Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 190
Error (active) identifier "IPv4Address" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 190
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 190
Error (active) identifier "OverlappingTechnique" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 193
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 194
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ip_reassembler.h 245
Error (active) invalid specifier outside a class declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 110
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 112
Error (active) identifier "pdu_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 112
Error (active) identifier "Timestamp" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 112
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 113
Error (active) function "PacketWrapper" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 116
Error (active) 'operator=' must be a member function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 116
Error (active) function "PacketWrapper" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 116
Error (active) identifier "pdu_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 120
Error (active) identifier "timestamp_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 121
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 122
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\packet.h 318
Error (active) identifier "PDU" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 58
Error (active) identifier "PDU" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 66
Error (active) identifier "id_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 66
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 71
Error (active) expected a ')' SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 71
Error (active) expected a ';' SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 71
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 81
Error (active) identifier "id_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 81
Error (active) identifier "allocators_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 83
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 85
Error (active) identifier "EthernetII" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 107
Error (active) identifier "SNAP" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 108
Error (active) function "SLL" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 109
Error (active) identifier "Dot1Q" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 110
Error (active) identifier "IP" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 111
Error (active) identifier "IPv6" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 112
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_allocator.h 133
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_cacher.h 66
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_cacher.h 66
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_cacher.h 71
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_cacher.h 72
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_cacher.h 155
Error (active) mutable is not allowed SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_cacher.h 156
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_cacher.h 157
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pdu_cacher.h 158
Error (active) declaration is incompatible with "void version" (declared at line 202 of "c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h") SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 74
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 74
Error (active) declaration is incompatible with "void flags" (declared at line 462 of "c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h") SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 82
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 82
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 90
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 98
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 107
Error (active) identifier "PDUType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 113
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 113
Error (active) identifier "PPI" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 122
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 122
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 125
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 136
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 137
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\ppi.h 138
Error (active) PDUOption is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 80
Error (active) identifier "TagTypes" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 80
Error (active) identifier "PPPoE" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 80
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 105
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 105
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 112
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 123
Error (active) small_uint is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 131
Error (active) cannot overload functions distinguished by return type alone SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 131
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 131
Error (active) small_uint is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 139
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 139
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 147
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 155
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 163
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 172
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 177
Error (active) overloaded function "PPPoE" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 184
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 184
Error (active) identifier "TagTypes" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 188
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 188
Error (active) identifier "PDUType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 194
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 194
Error (active) declaration is incompatible with overloaded function "version" (declared at line 137 of "c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h") SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 202
Error (active) identifier "small_uint" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 202
Error (active) identifier "new_version" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 202
Error (active) declaration is incompatible with "<error-type> type()" (declared at line 139) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 208
Error (active) identifier "small_uint" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 208
Error (active) identifier "new_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 208
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 275
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 282
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 296
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 327
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 335
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 343
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 343
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 351
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 351
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 359
Error (active) identifier "byte_array" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 367
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 367
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 375
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 383
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 391
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 392
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 433
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\pppoe.h 434
Error (active) identifier "CypherSuites" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 70
Error (active) identifier "AKMSuites" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 75
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 87
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 95
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 106
Error (active) overloaded function "RSNInformation" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 113
Error (active) identifier "CypherSuites" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 119
Error (active) identifier "AKMSuites" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 125
Error (active) identifier "CypherSuites" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 131
Error (active) identifier "CypherSuites" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 151
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 151
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 159
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 167
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 175
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 183
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 191
Error (active) overloaded function "RSNInformation" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 196
Error (active) PDUOption is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 196
Error (active) identifier "Dot11" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 196
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 197
Error (active) identifier "CypherSuites" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 201
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 204
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\rsn_information.h 205
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 74
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 82
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 90
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 98
Error (active) identifier "address_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 106
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 106
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 114
Error (active) identifier "PDUType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 122
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 122
Error (active) identifier "address_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 148
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 161
Error (active) function "SLL" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 166
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 166
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 169
Error (active) identifier "PDU" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 177
Error (active) identifier "sll_header" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 179
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 180
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sll.h 181
Error (active) identifier "PtrPacket" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 130
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 245
Error (active) identifier "iterator" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 250
Error (active) identifier "iterator" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 255
Error (active) cannot overload functions distinguished by return type alone SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 265
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 265
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 266
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 276
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 277
Error (active) identifier "BaseSniffer" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 279
Error (active) 'operator=' must be a member function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 279
Error (active) identifier "BaseSniffer" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 279
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 284
Error (active) not a class or struct name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 290
Error (active) identifier "SnifferConfiguration" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 314
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\sniffer.h 641
Error (active) small_uint is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 61
Error (active) identifier "address_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 62
Error (active) declaration is incompatible with "uint64_t id()" (declared at line 147 of "c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h") SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 62
Error (active) this declaration has no storage class or type specifier SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 64
Error (active) identifier "small_uint" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 64
Error (active) identifier "priority" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 64
Error (active) expected a ')' SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 64
Error (active) expected a ';' SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 66
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 72
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 83
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 91
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 99
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 107
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 115
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 123
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 131
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 139
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 147
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 155
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 163
Error (active) variable "bpdu_id_type" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 171
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 171
Error (active) variable "bpdu_id_type" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 177
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 177
Error (active) identifier "PDUType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 183
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 183
Error (active) overloaded function "STP" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 190
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 190
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 199
Error (active) variable "bpdu_id_type" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 267
Error (active) variable "bpdu_id_type" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 273
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 274
Error (active) identifier "pvt_bpdu_id" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 295
Error (active) identifier "pvt_bpdu_id" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 297
Error (active) variable "bpdu_id_type" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 305
Error (active) identifier "pvt_bpdu_id" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 305
Error (active) identifier "pvt_bpdu_id" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 306
Error (active) variable "bpdu_id_type" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 306
Error (active) identifier "PDU" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 308
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 311
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\stp.h 312
Error (active) PDUOption is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 130
Error (active) identifier "TCP" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 130
Error (active) identifier "metadata" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 148
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 159
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 173
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 180
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 189
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 198
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 207
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 216
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 225
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 234
Error (active) small_uint is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 243
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 243
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 252
Error (active) small_uint is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 279
Error (active) identifier "Flags" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 279
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 279
Error (active) small_uint is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 298
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 298
Error (active) declaration is incompatible with "<error-type> data_offset()" (declared at line 243) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 349
Error (active) identifier "small_uint" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 349
Error (active) identifier "new_doff" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 349
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 365
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 379
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 390
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 404
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 420
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 434
Error (active) identifier "Flags" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 442
Error (active) small_uint is not a template SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 442
Error (active) declaration is incompatible with "<error-type> flags()" (declared at line 298) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 462
Error (active) identifier "small_uint" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 462
Error (active) identifier "value" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 462
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 519
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 528
Error (active) identifier "PDUType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 535
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 535
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 544
Error (active) overloaded function "TCP" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 549
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 549
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 552
Error (active) identifier "flags_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 593
Error (active) identifier "PDU" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 613
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 616
Error (active) cannot overload functions distinguished by return type alone SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 617
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 619
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 624
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp.h 626
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 69
Error (active) this declaration has no storage class or type specifier SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 82
Error (active) identifier "IP" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 82
Error (active) identifier "ip" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 82
Error (active) expected a ')' SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 82
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 87
Error (active) variable "TCPStream" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 87
Error (active) function "TCPStream" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 92
Error (active) 'operator=' must be a member function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 92
Error (active) function "TCPStream" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 92
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 97
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 106
Error (active) cannot overload functions distinguished by return type alone SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 117
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 128
Error (active) cannot overload functions distinguished by return type alone SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 139
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 147
Error (active) identifier "StreamInfo" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 155
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 155
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 167
Error (active) identifier "IP" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 181
Error (active) identifier "ip" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 181
Error (active) expected a ')' SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 181
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 182
Error (active) incomplete type is not allowed SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 185
Error (active) identifier "fragments_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 185
Error (active) identifier "frags" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 185
Error (active) identifier "fragments_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 186
Error (active) identifier "fragments_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 186
Error (active) identifier "fragments_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 189
Error (active) overloaded function "TCP" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 189
Error (active) incomplete type is not allowed SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 191
Error (active) identifier "fragments_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 191
Error (active) identifier "frags" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 191
Error (active) expected a ')' SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 191
Error (active) identifier "StreamInfo" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 195
Error (active) identifier "fragments_type" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 198
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 200
Error (active) name followed by '::' must be a class or namespace name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 291
Error (active) function "TCPStream" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 291
Error (active) function "TCPStream" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 306
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\tcp_stream.h 386
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\timestamp.h 123
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\timestamp.h 125
Error (active) explicit type is missing ('int' assumed) SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 100
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 106
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 114
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 122
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 130
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 164
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 172
Error (active) identifier "PDUType" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 178
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 178
Error (active) function "UDP" is not a type name SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 183
Error (active) a type qualifier is not allowed on a nonmember function SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 183
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 186
Error (active) identifier "PDU" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 195
Error (active) identifier "udp_header" is undefined SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 197
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 198
Error (active) expected a declaration SnifferWin32 c:\Users\H\Downloads\libtins-vs2015-Win32-debug\libtins\include\tins\udp.h 200
Error (active) identifier "tcp" is undefined SnifferWin32 c:\Users\H\Downloads\SnifferWin32\SnifferWin32\SnifferWin32.cpp 12
Error (active) expected a type specifier SnifferWin32 c:\Users\H\Downloads\SnifferWin32\SnifferWin32\SnifferWin32.cpp 12
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(ip.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(tcp.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(pdu.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(ip_address.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(internals.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(rawpdu.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(utils.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(network_interface.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(packet_sender.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(ipv6_address.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(address_range.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(ethernetII.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot3.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(radiotap.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot11_base.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(ipv6.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(udp.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(ipsec.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(icmp_extension.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(icmp.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(loopback.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(sll.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(ppi.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(icmpv6.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(mpls.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(arp.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(eapol.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot1q.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(pppoe.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(llc.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot11_data.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot11_beacon.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot11_assoc.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot11_auth.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot11_probe.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot11_control.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(stp.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(snap.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(dot11_mgmt.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in SnifferWin32.obj SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(rsn_information.obj) 1
Error LNK2005 "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in libcpmtd.lib(xlock.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in libcpmtd.lib(xlock.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z) already defined in libcpmtd.lib(stdthrow.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "void __cdecl std::_Xbad_alloc(void)" (?_Xbad_alloc@std@@YAXXZ) already defined in libcpmtd.lib(xthrow.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "void __cdecl std::_Xlength_error(char const *)" (?_Xlength_error@std@@YAXPBD@Z) already defined in libcpmtd.lib(xthrow.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "void __cdecl std::_Xout_of_range(char const *)" (?_Xout_of_range@std@@YAXPBD@Z) already defined in libcpmtd.lib(xthrow.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: int __thiscall std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ) already defined in libcpmtd.lib(locale.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: __int64 __thiscall std::ios_base::width(void)const " (?width@ios_base@std@@QBE_JXZ) already defined in libcpmtd.lib(locale.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: __int64 __thiscall std::ios_base::width(__int64)" (?width@ios_base@std@@QAE_J_J@Z) already defined in libcpmtd.lib(locale.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<char> >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: virtual __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::~basic_streambuf<char,struct std::char_traits<char> >(void)" (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)" (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z) already defined in libcpmtd.lib(locale.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::eback(void)const " (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::gptr(void)const " (?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::pptr(void)const " (?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::egptr(void)const " (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::gbump(int)" (?gbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::setg(char *,char *,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::epptr(void)const " (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::pbump(int)" (?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::setp(char *,char *)" (?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Pninc(void)" (?_Pninc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEPADXZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: virtual __thiscall std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::char_traits<char> >(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "protected: __thiscall std::basic_ios<char,struct std::char_traits<char> >::basic_ios<char,struct std::char_traits<char> >(void)" (??0?$basic_ios@DU?$char_traits@D@std@@@std@@IAE@XZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::basic_ostream<char,struct std::char_traits<char> >(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2005 "public: virtual __thiscall std::basic_ostream<char,struct std::char_traits<char> >::~basic_ostream<char,struct std::char_traits<char> >(void)" (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in libcpmtd.lib(cout.obj) SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\msvcprtd.lib(MSVCP140D.dll) 1
Error LNK2019 unresolved external symbol __imp___time64 referenced in function _time SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\tins.lib(packet_sender.obj) 1
Error LNK2019 unresolved external symbol __except_handler4_common referenced in function __except_handler4 SnifferWin32 C:\Users\H\Downloads\SnifferWin32\SnifferWin32\MSVCRTD.lib(_chandler4gs_.obj) 1
Error LNK1120 2 unresolved externals SnifferWin32 C:\Users\H\Downloads\SnifferWin32\Debug\SnifferWin32.exe 1


Message has been deleted

Matias Fontanini

unread,
Apr 2, 2016, 1:57:32 PM4/2/16
to libtins

So, the first line is the compiler complaining about the standard c++ headers... Are you sure you are building this as a C++ and not a C project? Either that or your compiler is uber broken. If you build this in that project, does it fail?

#include <chrono>
int main() {}

On Apr 2, 2016 10:48, "H" <hao...@gmail.com> wrote:
It seems posts have a size limit. Please see the full error list attached.
Message has been deleted
Message has been deleted

H

unread,
Apr 2, 2016, 2:07:58 PM4/2/16
to libtins
Your code worked fine. I am pretty sure this is a c++ project. 

Matias Fontanini

unread,
Apr 2, 2016, 2:12:22 PM4/2/16
to H, libtins

Okay, I will have a look when I get back home. Maybe there is something weird going on when including the files

On Apr 2, 2016 11:07 AM, "H" <hao...@gmail.com> wrote:
Your code worked fine. I am pretty sure this is a c++ project. 

--

H

unread,
Apr 2, 2016, 2:15:47 PM4/2/16
to libtins
Ok. Much appreciated.

Matias Fontanini

unread,
Apr 3, 2016, 8:28:09 PM4/3/16
to libtins
So, I downloaded VS2015, downloaded the binary distribution of libtins, created a new project using the code you provided and it builds fine. The only thing I had to do is define WIN32 before including tins.h because of winpcap (it was trying to include sys/time.h) and define TINS_STATIC which is the required macro when linking to the static build of libtins.

So I don't know what's going on. It looks like your compiler is broken somehow.

H

unread,
Apr 4, 2016, 1:42:54 AM4/4/16
to libtins
Thanks for taking the time do all these. I definitely didn't define TINS_STATIC anywhere and don't know how exactly it should be done. (just tried adding #define TINS_STATIC on top of my code, and also tried adding TINS_STATIC in Preprocessor Definitions)

Can you explain how exactly TINS_STATIC should be defined?

By the way, I'm still a VS noob and have never tweaked anything in the compiler settings. (freshly installed OS and VS2015)
Message has been deleted
Message has been deleted

David Wagner

unread,
Jun 7, 2016, 6:24:04 PM6/7/16
to libtins
I tried defining TINS_STATIC in both of those ways as well with no luck. Did you ever figure it out?

I had a working program in Linux created with the libtins library in like one hour and I've spent probably five hours now just trying to get the same program to work in Windows! 

Matias Fontanini

unread,
Jun 7, 2016, 6:54:59 PM6/7/16
to libtins
I tested this on VC 2015 and it worked without any issues for me. You can actually see I'm building the library and the examples (which link against tins.lib) on appveyor. I'll give it another try today when I get home though...

Which errors are you getting?

Matias Fontanini

unread,
Jun 8, 2016, 12:33:04 AM6/8/16
to libtins
I just downloaded the latest pre compiled distribution of libtins for VS 2015, debug, x86 and x64. Created a project, added TINS_STATIC as a precompiler macro, added tins.lib and the rest of the dependencies (listed on https://libtins.github.io/download) and it built (using debug build, targetting x86 and then x64) and linked properly. If I don't add TINS_STATIC then I get link errors, as expected.

David Wagner

unread,
Jun 8, 2016, 11:24:52 AM6/8/16
to libtins
TL;DR Build gives PDB not found for the tins library, debug gives Tins::pcap_error. If you can spot my mistake I'd really appreciate the help, but please don't feel the need to spend time on this. You have better things to do than help me configure my project. I am certain it is a user error somewhere and not your library!

Hey Matias, thanks for the quick reply. I was using the binary before so I tried it with the precompiled this time. 

Here is what I've done for configuration so far:

Project Properties Page -> C/C++ -> General -> Additional Include Directories:

    - C:\Users\David\WpdPack_4_1_2\WpdPack\Include
    - C:\Users\David\libtins-vs2015-x64-debug\libtins\include

Project Properties Page -> Linker -> Input -> Additional Dependencies:

    - C:\Users\David\libtins-vs2015-x64-debug\libtins\lib\tins.lib
    - Ws2_32.lib
    - Iphlpapi.lib
    - C:\Users\David\WpdPack_4_1_2\WpdPack\Lib\wpcap.lib

Added #TINS_STATIC to the top of the file 

Added #WIN32 to the top of the file (Error with sys/time.h went away when I added this)

Now when I build (debug build x64) I get this output:

1>------ Build started: Project: Project1, Configuration: Debug x64 ------
1>  Source.cpp
1>tins.lib(arp.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(arp.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(stp.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(stp.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(pppoe.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(pppoe.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot3.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot3.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot1q.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot1q.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(eapol.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(eapol.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(ethernetII.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(ethernetII.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(icmp_extension.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(icmp_extension.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(icmp.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(icmp.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(icmpv6.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(icmpv6.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(internals.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(internals.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(ip.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(ip.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(ip_address.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(ip_address.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(ipv6.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(ipv6.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(ipv6_address.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(ipv6_address.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(ipsec.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(ipsec.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(llc.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(llc.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(loopback.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(loopback.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(mpls.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(mpls.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(network_interface.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(network_interface.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(packet_sender.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(packet_sender.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(ppi.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(ppi.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(pdu.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(pdu.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(radiotap.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(radiotap.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(address_range.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(address_range.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(rawpdu.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(rawpdu.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(rsn_information.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(rsn_information.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(sll.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(sll.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(snap.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(snap.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(sniffer.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(sniffer.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(tcp.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(tcp.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(timestamp.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(timestamp.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(udp.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(udp.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(utils.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(utils.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot11_base.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot11_base.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot11_data.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot11_data.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot11_mgmt.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot11_mgmt.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot11_beacon.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot11_beacon.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot11_assoc.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot11_assoc.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot11_auth.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot11_auth.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot11_probe.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot11_probe.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>tins.lib(dot11_control.obj) : warning LNK4099: PDB 'tins.pdb' was not found with 'tins.lib(dot11_control.obj)' or at 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\tins.pdb'; linking object as if no debug info
1>  Project1.vcxproj -> C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\Project1.exe
1>  Project1.vcxproj -> C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\Project1.pdb (Partial PDB)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Here is the output from the debug:


'Project1.exe' (Win32): Loaded 'C:\Users\David\Documents\Visual Studio 2015\Projects\Project1\x64\Debug\Project1.exe'. Symbols loaded.



'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\wpcap.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\Packet.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Loading disabled by Include/Exclude setting.

'Project1.exe' (Win32): Loaded 'C:\Windows\System32\dhcpcsvc.dll'. Loading disabled by Include/Exclude setting.

Exception thrown at 0x00007FF8D70AEC18 in Project1.exe: Microsoft C++ exception: Tins::pcap_error at memory location 0x000000A375EFF868.

Unhandled exception at 0x00007FF8D70AEC18 in Project1.exe: Microsoft C++ exception: Tins::pcap_error at memory location 0x000000A375EFF868.




'Project1.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Loading disabled by Include/Exclude setting.

The thread 0x158 has exited with code 0 (0x0).

The thread 0x430 has exited with code 0 (0x0).

The thread 0x1254 has exited with code 0 (0x0).

The thread 0x24a8 has exited with code 0 (0x0).

The thread 0x1d68 has exited with code 0 (0x0).

The program '[10472] Project1.exe' has exited with code 0 (0x0).



Here's my code that ran successfully on Linux with the added Windows #defines (also I named my NIC wlan0 on Windows so it would match)

#define TINS_STATIC
#define WIN32


#include <tins/tins.h>
#include <iostream>
#include <string>


using namespace Tins;


bool callback(const PDU &pdu) {
   
const IP &ip = pdu.rfind_pdu<IP>();
   
const TCP &tcp = pdu.rfind_pdu<TCP>();

   
if (ip.src_addr() == "172.31.98.229" || ip.dst_addr() == "172.31.98.229") {
        std
::cout << "LOCAL TRAFFIC " << std::endl;
    } else {
   
const RawPDU& raw = tcp.rfind_pdu<RawPDU>();
   
const RawPDU::payload_type& payload = raw.payload();

   
for (auto const& i : payload) {
        std
::cout << i;
   
}

    std
::cout << std::string(2, '\n') << std::endl;
}
   
return true;
}


int main() {
   
SnifferConfiguration config;
    config
.set_filter("tcp port 80");
    config
.set_promisc_mode(true);
    config
.set_snap_len(400);

   
Sniffer sniffer("wlan0", config);
    sniffer
.sniff_loop(callback);

   
return 0;
}

So I may have fixed the linking errors and now have an error with pcap on my hand?

Appreciate your help. This is my first project in C++ and I look forward to being able to explore the capabilities of your library more once I can get this configuration figured out! May have to go back to Linux for now so I can play around with it some more. 

Thanks,
David

Matias Fontanini

unread,
Jun 8, 2016, 12:23:02 PM6/8/16
to libtins
Glad that you managed to build it. I'll try adding the .pdb file to the appveyor artifact tonight, that should get rid of the link warnings.

Now, handling Windows interfaces is pretty painful. I actually wrote a section of the tutorial dedicated to that as I see many people having issues with that: http://libtins.github.io/tutorial/sniffing/window

Basically, using wlan0 won't work. You need to interface's GUID not the name (e.g. you can't use "Local Area Connection" either). You should do something like (didn't compile this, might need some fixes):

string guid_to_use;
for (const NetworkInterface& iface : NetworkInterface::all()) {
   
// Compare against the friendly name you're looking for. Note that friendly_name is a wstring so you
   
// need to use a wide string literal
   
if (iface.friendly_name() == L"wlan0") {
        guid_to_use
= iface.name();
       
break;
   
}
}
if (guid_to_use.empty()) {
     
// Fail!
}
else {
   
// Do your sniffing
   
Sniffer sniffer(guid_to_use, config);
}

David Wagner

unread,
Jun 8, 2016, 5:26:42 PM6/8/16
to libtins
Thanks Matias the project is up and running! Appreciate you taking the time to help out. I didn't see that windows page in the tutorial when I went through it (rather quickly) so that was the last piece of the puzzle I needed. 

My Intel 7260 doesn't seem to actual want to capture any wlan traffic other than my own, but I thought it would be fun to monitor the outgoing traffic for all the times that Windows 10 phones home to Bing with key-strokes and such. Just a small project to play with C++ a bit along with some networking. You've definitely made the library accessible, thanks for all your work. 

Thanks,
David 
Reply all
Reply to author
Forward
0 new messages