Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Sun, 2 Nov 2008 22:05:08 +0100
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