Wireshark-dev: Re: [Wireshark-dev] MSVC2008EE or 2005EE

From: "Joshua (Shiwei) Zhao" <swzhao@xxxxxxxxx>
Date: Mon, 3 Nov 2008 15:13:53 -0800
Many thanks for clarifying things out!
So I'm rolling back to VS2005EE to work with version 1.0.4.

I remember there is one more step I need to do to 'prepare cmd.exe'
when I'm using VS2005ee, but now it's removed from the doc since it's
not needed for VS2008. Can some one post again and maybe fix the
online guide doc?

Many thanks,
Joshua



On Sun, Nov 2, 2008 at 1:05 PM, Anders Broman <a.broman@xxxxxxxxx> wrote:
> Hi,
> If I remember correctly some changes were made to trunk to make it compile
> with VS2008 these changes was probably not ported to 1.0.x as that is still
> being built with VS 6.
>
> Unfortunately the MSVC runtime causes problems with some of the libraries we
> use (LUA for one) so these libraries must be compiled with the same compiler
> as WS, hence the best Windows compiler for trunk is VS2008 as the "official"
> Installer is built with that compiler and it's being used by the buildbot.
>
> Regards
> Anders
>
> -----Ursprungligt meddelande-----
> Från: wireshark-dev-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Joshua (Shiwei) Zhao
> Skickat: den 2 november 2008 21:17
> Till: Developer support list for Wireshark
> Ämne: Re: [Wireshark-dev] MSVC2008EE or 2005EE
>
> I met the following error message while building:
> Runtime Error!
> Program: c:\wireshark-1.0.4\wireshark-gtk2\tshark.exe
> R6034
> An application has made an attempt to load the C runtime libarary
> incorrectly.
> Please contact the application's support team for more information.
>
> After I click 'OK', it continues building and finish. But wireshark
> fails to run.
>
> I guess whoever made the comments in config.nmake may have same
> experience as mine?
>
> Thanks,
> Joshua
>
>
>
> On Sat, Nov 1, 2008 at 8:12 PM, Michael A. McCartney
> <mccart@xxxxxxxxxxxxxxxxxx> wrote:
>>
>> I recently switched to MSVC2008EE because latest
>> Wireshark source builds but fails to run with
>> "application error" with MSCV6.  MSVC200EE
>> builds and runs fine for me on WinXP.
>>
>> Joshua (Shiwei) Zhao wrote:
>>> Now it's recommended to use MSVC 2008EE instead of 2005EE. However, in
>>> config.nmake of version 1.0.4, there are comments:
>>>
>>> # "Microsoft Visual C++ 2008 Express Edition"
>>> # needs additional Platform SDK installation?
>>> # Visual C++ 9.0, _MSC_VER 1500, msvcr90.dll
>>> # With this variant, Wireshark will compile but fails to run!
>>> #
>>> # THIS VARIANT CURRENTLY WON'T WORK - YOU HAVE BEEN WARNED!
>>> #MSVC_VARIANT=MSVC2008EE
>>>
>>> I did try and confirmed that it's true:  Wireshark compiled but failed
>>> to run. BTW, I'm using Vista and didn't try XP. But I guess it's not
>>> related, since 2005EE did work under Vista.
>>>
>>> So, should we still stick with 2005EE?
>>>
>>> Thanks,
>>> Joshua
>>> _______________________________________________
>>> Wireshark-dev mailing list
>>> Wireshark-dev@xxxxxxxxxxxxx
>>> https://wireshark.org/mailman/listinfo/wireshark-dev
>>>
>>>
>> _______________________________________________
>> Wireshark-dev mailing list
>> Wireshark-dev@xxxxxxxxxxxxx
>> https://wireshark.org/mailman/listinfo/wireshark-dev
>>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-dev
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-dev
>