Dec
11
2011
11
2011
Winpcap compile error in pcap-stdinc.h in vc++ 6.0
When compiling winpcap in your program on Visual C++ 6.0 you might get an error like this :
Compiling... main.cpp c:\codes\include\pcap-stdinc.h(79) : error C2144: syntax error : missing ';' before type 'unsigned int' c:\codes\include\pcap-stdinc.h(79) : fatal error C1004: unexpected end of file found Error executing cl.exe.
And it will point to the following lines in pcap-stdinc.h
typedef _W64 unsigned int uintptr_t; typedef _W64 int intptr_t;
Simple edit them as :
typedef unsigned int uintptr_t; //typedef _W64 unsigned int uintptr_t; typedef int intptr_t; //typedef _W64 int intptr_t;
Now it should compile fine.
Popularity: 1% [?]
Related Posts
Leave a comment
Subscribe
Recent Posts
- Login into phpmyadmin without username and password
- 10+ tips to localise your php application
- 40+ Techniques to enhance your php code – Part 3
- 40+ Techniques to enhance your php code – Part 2
- 40+ Techniques to enhance your php code – Part 1
- CSSDeck – Collection of Pure CSS Creations
- Execute shell commands in PHP
- Php get list of locales installed on system
- Sound cracking in Ubuntu 11.10
- PHP script to perform IP whois
Binarytides
Tags
amazing php techniques
amazing php tips
apache
box2d
bsnl
c
c++ portscanner code
cron
css
dns
enhance php code
hacking
html
html5
improve php code
javascript
linux
master php code
masters php techniques
mysql
networking
optimize php code
packet sniffer c
php
php advanced techniques
php best practices
php techniques
php tips
php tips and tricks
php tutorial
portscanner code c
python
raw socket programming
raw socket programming c
raw socket programming tutorial
ruby
security
socket programming
socket programming tutorial
Sockets
ubuntu
useful php techniques
winpcap
winsock
write efficient php code
An article by




