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

compile 1.10 fails using vs2013

0

Hi Experts,

Is VS2013 supported to build 1.10 or 1.12?

I have VS2013 and the compile of master copy is successful. While the compile of 1.10 or 1.12 branch failed ( I have latest 1.10 downloaded using git): > git clone -b master-1.10 --single-branch https://code.wireshark.org/review/wireshark wireshark110

On 1.10 branch, I noticed cmake doesn't download libraries - so basically I'm re-using the libraries that was downloaded for master copy. Reported issue on cmake of 1.10 is: "CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GMODULE2_LIBRARIES (ADVANCED) linked by target "wiretap" in directory C:/Development/wireshark110/wiretap"

Any idea to around this? I'm following the Developer's Guide for the build task.

Thanks Jack

p.s. My environment is WIN7, VS 2013 win32 version, target is win32; I have following files under C:\Development\wireshark-win32-libs\gtk2\lib : gmodule-2.0.lib gtk2 version is 2.24.23

asked 02 Jan '16, 13:00

JackaJack's gravatar image

JackaJack
16225
accept rate: 0%


One Answer:

1

VS2013 is OK for 1.12, but unknown if it works for 1.10. The official builds for 1.10 and 1.12 used VS2010.

For both 1.10 and 1.12, the Windows build system is nmake. The Windows build system for 2.0 onwards is CMake. I'm not aware of any on-line location of the Developers Guide for earlier versions (i.e. nmake), but the sources for it will be in the appropriate source branches.

answered 02 Jan '16, 14:56

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Graham, thanks for the prompt answer. This is helpful. I tried to move on w/ "cmake" today and hit a lot configuration issues. Will go with 1.12 wsdg via "nmake".

(02 Jan '16, 16:56) JackaJack