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

Hi all, I read following link:

https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChSetupCygwin

And also I read README.Cmake file at the source code.

Finally I create a Visual Studio 2010 solution for Wireshark and now I can build it moreover debug it.

However, I cannot understand following issue: When I click Help -> About, I see following line for the Wireshark revision: Wireshark Git Rev Unknown from unknown

I understand that a solution which locates at

Solutioon -> Auxiliary -> gitversion.vcxproj causes this, because when I build it it gives following output:

1>------ Build started: Project: gitversion, Configuration: Debug x64 ------

1>CUSTOMBUİLD : cygwin warning :

1> MS-DOS style path detected: C:/Development/trunk/wireshark/make-version.pl

1> Preferred POSIX equivalent is: /cygdrive/c/Development/trunk/wireshark/make-version.pl

1> CYGWIN environment variable option "nodosfilewarning" turns off this warning.

1> Consult the user's guide for more details about POSIX paths:

1> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

1> Version configuration file version.conf not found. Using defaults.

1> sh: git: command not found

1> sh: git: command not found

1> version.h unchanged.

I can solve this issue by using c files but I do not want to break down the automaci cmake process.

Can you help me about this issue?

asked 07 Nov '14, 03:35

BirolCapa's gravatar image

BirolCapa
309915
accept rate: 0%


You must ensure that the folder containing the git executable is part of your PATH environment variable because here the Perl script fails to find it.

permanent link

answered 07 Nov '14, 03:44

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

Thank you very much for your answer. It works, now I do not get any error from the git version. A little question is again about the About window. Why I always get the default version 1.99.1 - here it is now: Version 1.99.1 (v1.99.1rc0-466-gbb05124 from master) - even if I change the config.nmake file?

(07 Nov '14, 04:05) BirolCapa

version.h contains the version info string and that is produced by make-version.pl which fetches the version string from git via the command:

git describe --long --always --match "v*"

Which on my system gives me the string similar to that which you have.

If you want to change the version string, you can tack on extra info via the environment variable WIRESHARK_VERSION_EXTRA (or VERSION_EXTRA in config.nmake).

(07 Nov '14, 05:23) grahamb ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×17
×15
×3
×3

question asked: 07 Nov '14, 03:35

question was seen: 2,972 times

last updated: 07 Nov '14, 05:23

p​o​w​e​r​e​d by O​S​Q​A