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

how to build a release verson of wireshark?

0
1

Hi all, I have downloaded the 1.6.4 source code for 32 bit machines. Now, i want to build a release version of wireshark, but I do not know how to change the file "config.nmake", Any ideas?

asked 08 Oct '12, 01:08

ekgh's gravatar image

ekgh
1122
accept rate: 0%

edited 08 Oct '12, 01:10


One Answer:

1

You need to read the Developers Guide which has all the gory details of building Wireshark on Windows. To build a "release" version, i.e. create an installer you use the command: make -f Makefile.nmake packaging as detailed in the Developers Guide section Optional: Create a Wireshark Installer.

answered 08 Oct '12, 01:22

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Thank you for your answer. I have succesed to build the wireshark 1.6.4 in MSVC 2010, I think it was the debug version. Now I don't know how to modify the "config.nmake" to build a release version?

(08 Oct '12, 01:39) ekgh
1

Presuming you want to add some optimisation settings, e.g. /O?? then I think you would need to modify the value of LOCAL_CFLAGS (affects all compiled objects) or STANDARD_CFLAGS (affects only "Wireshark" compiled objects).

If you do this it would be interesting to report your experiences back to the developers mailing list.

(08 Oct '12, 02:16) grahamb ♦