[Winpcap-users] Sample compile failure using MS VC 6
mail
mail at ainley.org
Mon Aug 2 10:33:05 PDT 2010
Hi Gianluca,
That's fine thanks. I have downloaded Visual C++ 2008 Express as the
2005 edition no longer seems to be available from Microsoft.
Best regards,
Francis
Gianluca Varenni wrote:
> There is no page for such list.
>
> Compilers: as of WinPcap 4.1.2, the official supported compiler is
> Visual Studio 2005 SP1. I had feedback that the samples compile just
> fine with 2008 (and probably 2010). The samples in the "examples-pcap"
> folder contain GNU Makefiles for Cygwin. Cygwin is in general
> supported as a compiler (although we cannot test all the possible
> versions of cygwin).
>
> Operating systems: WinPcap 4.1.2 supports Windows NT4, 2000, XP, 2003,
> Vista, 2008, Win7, 2008R2 x86 and x64.
>
> Let me know if this answers your questions
>
> Have a nice day
> GV
>
> *From:* mail <mailto:mail at ainley.org>
> *Sent:* Friday, July 30, 2010 1:39 AM
> *To:* winpcap-users at winpcap.org <mailto:winpcap-users at winpcap.org>
> *Subject:* Re: [Winpcap-users] Sample compile failure using MS VC 6
>
> Thanks Gianluca, I'll try that. Is there a page somewhere that lists
> supported compilers/operating systems?
>
> Francis
>
> Gianluca Varenni wrote:
>> Francis,
>>
>> although the project files for Visual Studio 6 are still provided for
>> some of the samples, VS6 is no longer officially supported. I suggest
>> you to use Visual Studio 2005.
>>
>> Have a nice day
>> GV
>>
>> *From:* mail <mailto:mail at ainley.org>
>> *Sent:* Thursday, July 29, 2010 11:40 AM
>> *To:* BackForty at Blandranch.net <mailto:BackForty at Blandranch.net> ;
>> winpcap-users at winpcap.org <mailto:winpcap-users at winpcap.org>
>> *Subject:* Re: [Winpcap-users] Sample compile failure using MS VC 6
>>
>> Thanks Chuck.
>>
>> I don't know if something got mangled in the email you saw, but the
>> actual lines were:
>>
>> /* MSVC compiler */
>> #ifndef _UINTPTR_T_DEFINED
>> #ifdef _WIN64
>> typedef unsigned __int64 uintptr_t;
>> #else
>> typedef _W64 unsigned int uintptr_t;
>> #endif
>> #define _UINTPTR_T_DEFINED
>> #endif
>>
>> There were no comment delimiters after the #else statement.
>>
>> pcap-stdinc.h is also the one of the standard distributed header
>> files which I can't imagine should contain errors,
>>
>> Francis
>>
>> Charles Bland wrote:
>>> Looks to me like the lines
>>>
>>> #else/
>>> *typedef _W64 unsigned int uintptr_t;*/
>>>
>>> should be
>>>
>>> #else /*typedef _W64 unsigned int uintptr_t;*/
>>>
>>> Chuck
>>>
>>>
>>>> I am completely new to Winpcap but would love to try out some of its
>>>> capabilities.
>>>>
>>>> I have tried compiling the basic_dump.c sample provided but it fails
>>>> with multiple errors. The first error is in pcap-stdinc.h, line 79 (in
>>>> bold italic below)
>>>>
>>>> /* MSVC compiler */
>>>> #ifndef _UINTPTR_T_DEFINED
>>>> #ifdef _WIN64
>>>> typedef unsigned __int64 uintptr_t;
>>>> #else/
>>>> *typedef _W64 unsigned int uintptr_t;*/
>>>> #endif
>>>> #define _UINTPTR_T_DEFINED
>>>> #endif
>>>>
>>>> the error reported was "C2054: expected '(' to follow '_W64'.
>>>>
>>>> I am using Microsoft Visual C++ Version 6 with service pack 5 installed
>>>> under XP SP 3.
>>>>
>>>> I would be grateful if anyone could shed some light on this.
>>>>
>>>>
>>>> _______________________________________________
>>>> Winpcap-users mailing list
>>>> Winpcap-users at winpcap.org
>>>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Winpcap-users mailing list
>>> Winpcap-users at winpcap.org
>>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>>>
>> ------------------------------------------------------------------------
>> _______________________________________________
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>>
>
> ------------------------------------------------------------------------
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
> ------------------------------------------------------------------------
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20100802/710a2139/attachment.htm
More information about the Winpcap-users
mailing list