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

Error C2065: ‘off64_t’ during the CMake build

0

Hello everyone,

I would like to build my own Wireshark from the source code 2.0.4 and I have followed all the step of the developer guide but unfortunately I have some errors during the compilation.

I admit that I haven't followed the steps with Git because my company use TortoiseSVN. Thank you in advance for your answers

Here you can find my output from the command prompt:

http://pastebin.com/ZmE1CMMh

asked 14 Jun '16, 01:21

stezerow's gravatar image

stezerow
6447
accept rate: 0%

edited 14 Jun '16, 03:57

Jaap's gravatar image

Jaap ♦
11.7k16101


One Answer:

0

I cannot see any error compilation in your pasted log: it simply shows that the cmake projects were successfully generated (MSVC does not support off64_t so the test program fails, which is OK).

What happens when you execute 'msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln'?

answered 14 Jun '16, 10:47

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

When I build Wireshark with the command msbuild "/m /p:Configuration=RelWithDebInfo Wireshark.sln" I have got 6 compilation errors:

http://pastebin.com/7PN5q8wX

(14 Jun '16, 23:34) stezerow
2

"PERL_EXECUTABLE-NOTFOUND" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.

Step 2.2.5 "Install Cygwin" in section 2.2 "Win32/64: Step-by-Step Guide" of the Wireshark Developer's Guide lists "Interpreters/perl" as one of the components of Cygwin that you must install. Did you install it?

(15 Jun '16, 00:35) Guy Harris ♦♦

I have reinstalled Cygwin and all its components and it works! Thank you for your help

They said on the Cygwin website that antivirus can stop the installation procedure and I suppose that mine (OfficeScan which wasn't on their list) was the source of my trouble

(15 Jun '16, 01:15) stezerow