This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

New build 1.10.6 on VS2012 - missing msvcr100.dll

0

Hi guys I've been building Wireshark on VS2012 for a while now, but my most recent builds report MSVCR100.dll missing (even though the redist successfully installs - and it includes MSVCR110.dll) Not sure why it's looking for the older version, do you think it might be WinPCap requiring this DLL, in which case what's the solution?

The 32-bit version installs and runs without any issue - this fault only appears to affect the 64-bit build

Will attach a screenshot shortly

Cheers

asked 13 Apr '14, 17:00

Scott%20Harman's gravatar image

Scott Harman
46131319
accept rate: 50%


2 Answers:

0

answered 14 Apr '14, 14:49

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

Why doesn't the 32-bit build require it then. It should require MSVC2012, not 2010 - we want to have a one-shot install on any of our 2008 or Win7 64-bit systems

(14 Apr '14, 14:53) Scott Harman

Because your 32-bit system already has the x86 MSVC 2010 redistributable installed? Wireshark relies on third party libraries (the ones that get downloaded in wireshark-win64-libs folder) and at least one of them must be built with MSVC2010. If you really want a one-shot install, you should build Wireshark with MSVC2010 instead of MSVC2012 (like the official release). This way the MSVC2010 redistributable will be installed during the installation process.

(15 Apr '14, 13:54) Pascal Quantin

Hi Pascal - I've checked, and it doesn't - the 32-bit installer installs the 32-bit version of msvc2012

(15 Apr '14, 14:17) Scott Harman

Yes each installer installs the MSVC redistributable used to compile Wireshark, but you still have dependencies for the pre built 3rd party libraries as I explained earlier. If you open Wireshark with Dependency Walker, you will see which DLL depends on MSC2010. For example with my 1.11.3 build, it is required for lua52.dll. The easiest way to solve your problem, is either to manually recompile the DLL having this dependency, or simply build Wireshark with MSVC2010 instead of MSVC2012.

(15 Apr '14, 15:09) Pascal Quantin

Hi Pascal - you're exactly right The 32bit package of Wireshark has lua5.1.dll which depends on msvcrt.dll, where the 64-bit wireshark package has lua5.1.dll which depends on msvcr100.dll I will try to build a new version

(15 Apr '14, 16:48) Scott Harman

Be aware that the current development release is moving to a new version of Lua, albeit still built with MSVC2010, see this thread from the dev mail list and this change from Gerrit.

(16 Apr '14, 02:29) grahamb ♦

We should probably include lua-5.2.3_Win32_dll11_lib.zip in our packages and use that one if building with MSVC2012 and corresponding for Win64 parhaps even add the packages for VC12. http://sourceforge.net/projects/luabinaries/files/5.2.3/Windows%20Libraries/Dynamic/

(16 Apr '14, 04:31) Anders ♦

This is something that could be done, yes. But how many MSVC version should we "support" in parallel? I tried to avoid using a Lua version linked to a specific MSVC version but the one compiled with mingw introduced bug 9957

(16 Apr '14, 07:27) Pascal Quantin

I'm building with MSVC2012 and would like that supported :-) Perhaps we should move to use that one officially?

(16 Apr '14, 07:35) Anders ♦

I've taken this up with a thread on the dev list.

(16 Apr '14, 07:47) grahamb ♦

A commit has been done in the development tree (not 1.10 branch) so as to rely only on MSVCR110.dll when building the GTK based Wireshark with MSVC2012: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=791dd4e1285e10ab875ef741ec16fdbd406cf034

Qt based Wireshark still has the dependency on MSVCR100.dll, as discussed on the dev mailing list.

(17 Apr '14, 01:06) Pascal Quantin
showing 5 of 11 show 6 more comments

0

I have 64 windows machine and were trying to install customized 32bit wireshark. The problem fixed after installing 32bit MSVC distribution. Krishankant Jingar

answered 21 Jan '15, 22:01

Krish's gravatar image

Krish
61
accept rate: 0%