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

Problem creating zlib for Wireshark with VS C++ 2008 Express Edition

0

First of all, thanks to the contributors to this great tool. I was trying to create a dissector for our protocol. As the first step, I was trying to build the wireshark, so that I have all the tools set up correctly.

I was following instruction Developer's Guide

The OS is Windows 7. I was using Visual Studio C++ 2008 Express Edition. In fact I used VS C++ 2010 Express Edition, but the error I got was the same.

Every step was successful except the last step with: nmake -f Makefile.nmake all

The above command gave the error:

'zlib1.dll' is up-to-date
        if not exist C:\wireshark-win32-libs\zlib125 mkdir C:\wireshark-win32-libs\zlib125
        if not exist C:\wireshark-win32-libs\zlib125\lib mkdir C:\wireshark-win32-libs\zlib125\lib
        if not exist C:\wireshark-win32-libs\zlib125\include mkdir C:\wireshark-win32-libs\zlib125\include
        mt.exe -nologo -manifest "zlib1.dll.manifest" -outputresource:zlib1.dll;2

zlib1.dll.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe"' : return code '0x1f' Stop.

I googled the problem on line, but there was no clear solution that I can find. Can you tell me why I got this problem? If you want to send me email, you can send to austinfcui at gmail dot com.

Thank you! Austin

asked 26 Nov ‘11, 21:20

Austin's gravatar image

Austin
1111
accept rate: 0%

edited 08 Dec ‘11, 11:22

multipleinterfaces's gravatar image

multipleinte…
1.3k152340

Hi Austin, Currently i am writing dissector for my protocol.Can you give me your eMail-id, so that i will contact you if i have any doubts regarding the dissector creation and also i will help you if you have any doubts.My email-id feedback711[at]gmail[dot]com

(28 Nov ‘11, 05:54) JK7


2 Answers:

0

As per the error report the manifest file zlib1.dll.manifest is missing. I build with VC10 Express and have never seen this issue. I'm not at my build machine right now so can't offer you help on why it might be missing.

Also note that the path you have to mt.exe is from the Vista SDK, although I don't think this is a problem.

answered 27 Nov '11, 00:55

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

0

First of all, thank you for messages to my question.

I temporarily fixed this problem by copying the manifest file from Wireshark to zlib123 directory.

What I did was change Makefile.nmake so that it does not delete zlib123.tmp directory. Then run nmake command again and copy the zlib1d.dll.embed.manifest from the temporary directory to the wireshark directory.

answered 08 Dec '11, 07:10

Austin's gravatar image

Austin
1111
accept rate: 0%

OK, why are you mentioning zlib123? Wireshark uses zlib125.

(08 Dec '11, 09:32) grahamb ♦

To the comments: OK, why are you mentioning zlib123? Wireshark uses zlib125. Yes, it should be zlib125, not zlib123. Thank you!

(09 Dec '11, 06:17) Austin