Hello, I have built 2.2.0, 2.2.1, 2.2.5 with no problems.
I unpacked 2.4.0 source and created a build directory ws240-64. The first issue was a complaint about cmake version 3.5 not being good enough. I installed cmake 3.9. I added a print statement in FindSH.cmake and it appears CYGWIN_INSTALL_PATH does not get set correctly. (The Windows environment variable WIRESHARK_CYGWIN_INSTALL_PATH IS set correctly.) Any help would be appreciated, I know nothing about cmake. Thank you This is my build command file run as 'mybuild.cmd prep' ============================================================ @echo off set myPath=%~dp0 IF [%WIRESHARK_BASE_DIR%] == [] ( REM REM change this if you change version REM set WIRESHARK_BASE_DIR=C:\ws240-64 REM REM Note if you want to change this AFTER you have built: REM Do 'clean', then 'prep', then 'build', 'package' REM set WIRESHARK_VERSION_EXTRA=-StarSolutions-1 set CYGWIN=nodosfilewarning set WIRESHARK_TARGET_PLATFORM=win64 set QT5_BASE_DIR=C:\Qt\Qt5.6.2\5.6\msvc2013_64 set WIRESHARK_CYGWIN_INSTALL_PATH=c:\cygwin64 REM set WIRESHARK_CYGWIN_INSTALL_PATH=c:\cygwin or whatever other path that is applicable to your setup ) echo "WIRESHARK_CYGWIN_INSTALL_PATH=%WIRESHARK_CYGWIN_INSTALL_PATH%" IF [%myPath%] == [%cd%\] ( echo Do not run this command from the source directory echo "(run it from the target output directory %WIRESHARK_BASE_DIR%)" echo i.e. ..\wireshark-xxx\mybuild.cmd %* exit /b ) IF [%1] == [build] ( msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln exit /b ) IF [%1] == [clean] ( msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln /t:Clean exit /b ) IF [%1] == [package] ( msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj exit /b ) IF [%1] == [prep] ( @echo cmake -DPYTHON_EXECUTABLE=c:\Python27\python -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" %myPath% cmake -DPYTHON_EXECUTABLE=c:\Python27\python -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" %myPath% exit /b ) echo %myPath%mybuild.cmd {prep^|build^|clean^|package} exit /b ============================================================ This is the output. C:\>cd ws240-64 C:\ws240-64>..\wireshark-2.4.0\mybuild.cmd prep "WIRESHARK_CYGWIN_INSTALL_PATH=c:\cygwin64" cmake -DPYTHON_EXECUTABLE=c:\Python27\python -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" C:\wireshark-2.4.0\ -- Generating build using CMake 3.9.0 CMake Deprecation Warning at CMakeLists.txt:51 (cmake_policy): The OLD behavior for policy CMP0011 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:60 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Building for win64 using Visual Studio 12 2013 Win64 Working in C:\ws240-64\wireshark-win64-libs-2.4 Tag 2017-05-11 found. Skipping. -- Including C:/wireshark-2.4.0/CMakeListsCustom.txt -- Configuration types: Debug;Release;MinSizeRel;RelWithDebInfo -- CMAKE_C_FLAGS_RELWITHDEBINFO: /MD /Zi /O2 /Ob1 /DNDEBUG -- CMAKE_CXX_FLAGS_RELWITHDEBINFO: /MD /Zi /O2 /Ob1 /DNDEBUG -- V: 2.4.0-StarSolutions-1, MaV: 2, MiV: 4, PL: 0, EV: -StarSolutions-1. -- Found PythonInterp: C:/Python27/python (found version "2.7.11") -- Checking for c-compiler flag: /MP -- Checking for c-compiler flag: /Zo -- Checking for c-compiler flag: /w34295 /w34189 /wd4200 -- Checking for c++-compiler flag: /MP -- Checking for c++-compiler flag: /Zo -- Checking for c++-compiler flag: /w34295 /w34189 /wd4200 statuscheck linker flag - test linker flags: -Wl,--as-needed statuscheck linker flag - test linker flags: -pie -- Packagelist: AIRPCAP;CAP;CARES;GCRYPT;GEOIP;GLIB2;GMODULE2;GNUTLS;GTHREAD2;Gettext;Git;KERBEROS;LEX;LIBSSH;LUA;LZ4;LibXml2;M;NGHTTP2;PCAP;POD;Perl;PythonInterp;Qt5Core;Qt5LinguistTools;Qt5Multimedia;Qt5PrintSupport;Qt5Svg;Qt5Widgets;Qt5WinExtras;SBC;SETCAP;SH;SMI;SNAPPY;SPANDSP;WINSPARKLE;YACC;YAPP;ZLIB -- AIRPCAP FOUND -- AIRPCAP includes: C:/ws240-64/wireshark-win64-libs-2.4/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/include -- AIRPCAP libs: C:/ws240-64/wireshark-win64-libs-2.4/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/lib/airpcap.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'libcap' -- Could NOT find CAP (missing: CAP_LIBRARY CAP_INCLUDE_DIR) -- CAP NOT FOUND -- CARES FOUND -- CARES includes: C:/ws240-64/wireshark-win64-libs-2.4/c-ares-1.12.0-win64ws/include -- CARES libs: C:/ws240-64/wireshark-win64-libs-2.4/c-ares-1.12.0-win64ws/lib/libcares-2.lib -- GCRYPT FOUND -- GCRYPT includes: C:/ws240-64/wireshark-win64-libs-2.4/libgcrypt-1.7.6-win64ws/include -- GCRYPT libs: C:/ws240-64/wireshark-win64-libs-2.4/libgcrypt-1.7.6-win64ws/bin/libgcrypt-20.lib;C:/ws240-64/wireshark-win64-libs-2.4/libgcrypt-1.7.6-win64ws/bin/libgpg-error6-0.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'geoip' -- GEOIP FOUND -- GEOIP includes: C:/ws240-64/wireshark-win64-libs-2.4/GeoIP-1.6.10-win64ws/include -- GEOIP libs: C:/ws240-64/wireshark-win64-libs-2.4/GeoIP-1.6.10-win64ws/lib/libGeoIP-1.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'glib-2.0>=2.22.0' -- GLIB2 FOUND -- GLIB2 includes: C:/ws240-64/wireshark-win64-libs-2.4/gtk2/include/glib-2.0;C:/ws240-64/wireshark-win64-libs-2.4/gtk2/lib/glib-2.0/include -- GLIB2 libs: C:/ws240-64/wireshark-win64-libs-2.4/gtk2/lib/glib-2.0.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'gmodule-2.0' -- GMODULE2 FOUND -- GMODULE2 includes: C:/ws240-64/wireshark-win64-libs-2.4/gtk2/include/glib-2.0 -- GMODULE2 libs: C:/ws240-64/wireshark-win64-libs-2.4/gtk2/lib/gmodule-2.0.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'gnutls' -- GNUTLS FOUND -- GNUTLS includes: C:/ws240-64/wireshark-win64-libs-2.4/gnutls-3.4.11-1.35-win64ws/include -- GNUTLS libs: C:/ws240-64/wireshark-win64-libs-2.4/gnutls-3.4.11-1.35-win64ws/bin/libgnutls-30.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'gthread-2.0' -- GTHREAD2 FOUND -- GTHREAD2 includes: C:/ws240-64/wireshark-win64-libs-2.4/gtk2/include/glib-2.0/glib -- GTHREAD2 libs: C:/ws240-64/wireshark-win64-libs-2.4/gtk2/lib/glib-2.0.lib -- Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE) -- GETTEXT NOT FOUND -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Git NOT FOUND -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'krb5;mit-krb5;heimdal-krb5' -- KERBEROS FOUND -- KERBEROS includes: C:/ws240-64/wireshark-win64-libs-2.4/kfw-3-2-2-x64-ws/include -- KERBEROS libs: C:/ws240-64/wireshark-win64-libs-2.4/kfw-3-2-2-x64-ws/lib/krb5_64.lib -- LEX FOUND -- LEX executable: C:/cygwin64/bin/flex.exe -- LIBSSH FOUND -- LIBSSH includes: C:/ws240-64/wireshark-win64-libs-2.4/libssh-0.7.3-win64ws/include -- LIBSSH libs: C:/ws240-64/wireshark-win64-libs-2.4/libssh-0.7.3-win64ws/lib/ssh.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'lua5.2;lua-5.2;lua52;lua5.1;lua-5.1;lua51;lua5.0;lua-5.0;lua50' -- Checking for one of the modules 'lua<=5.2.99' -- LUA FOUND -- LUA includes: C:/ws240-64/wireshark-win64-libs-2.4/lua5.2.4/include -- LUA libs: C:/ws240-64/wireshark-win64-libs-2.4/lua5.2.4/lua52.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'lz4;liblz4' -- LZ4 FOUND -- LZ4 includes: C:/ws240-64/wireshark-win64-libs-2.4/lz4-1.7.5-win64ws/include -- LZ4 libs: C:/ws240-64/wireshark-win64-libs-2.4/lz4-1.7.5-win64ws/lib/lz4.lib -- LIBXML2 FOUND -- LibXml2 includes: C:/ws240-64/wireshark-win64-libs-2.4/libxml2-2.9.4-win64ws/include/libxml2 -- LibXml2 libs: C:/ws240-64/wireshark-win64-libs-2.4/libxml2-2.9.4-win64ws/lib/libxml2-2.lib -- Could NOT find M (missing: M_LIBRARY) -- M NOT FOUND -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Checking for one of the modules 'libnghttp2' -- NGHTTP2 FOUND -- NGHTTP2 includes: C:/ws240-64/wireshark-win64-libs-2.4/nghttp2-1.14.0-win64ws/include -- NGHTTP2 libs: C:/ws240-64/wireshark-win64-libs-2.4/nghttp2-1.14.0-win64ws/lib/nghttp2.lib -- PCAP FOUND -- PCAP includes: C:/ws240-64/wireshark-win64-libs-2.4/WpdPack/Include -- PCAP libs: C:/ws240-64/wireshark-win64-libs-2.4/WpdPack/Lib/x64/wpcap.lib -- POD FOUND -- Could NOT find Perl (missing: PERL_EXECUTABLE) -- PERL NOT FOUND -- Found PythonInterp: C:/Python27/python (found suitable version "2.7.11", minimum required is "2") -- PYTHONINTERP FOUND -- Qt5Core FOUND -- Qt5Core includes: C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtCore;C:/Qt/Qt5.6.2/5.6/msvc2013_64/.//mkspecs/win32-msvc2013 -- Qt5Core libs: Qt5::Core -- Qt5Core definitions: -DQT_CORE_LIB -- Qt5LinguistTools FOUND -- Qt5Multimedia FOUND -- Qt5Multimedia includes: C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtMultimedia;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtNetwork;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtCore;C:/Qt/Qt5.6.2/5.6/msvc2013_64/.//mkspecs/win32-msvc2013;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtGui -- Qt5Multimedia libs: Qt5::Multimedia -- Qt5Multimedia definitions: -DQT_MULTIMEDIA_LIB;-DQT_NETWORK_LIB;-DQT_CORE_LIB;-DQT_GUI_LIB -- Qt5PrintSupport FOUND -- Qt5PrintSupport includes: C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtPrintSupport;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtWidgets;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtGui;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtCore;C:/Qt/Qt5.6.2/5.6/msvc2013_64/.//mkspecs/win32-msvc2013 -- Qt5PrintSupport libs: Qt5::PrintSupport -- Qt5PrintSupport definitions: -DQT_PRINTSUPPORT_LIB;-DQT_WIDGETS_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB -- Qt5Svg FOUND -- Qt5Svg includes: C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtSvg;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtWidgets;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtGui;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtCore;C:/Qt/Qt5.6.2/5.6/msvc2013_64/.//mkspecs/win32-msvc2013 -- Qt5Svg libs: Qt5::Svg -- Qt5Svg definitions: -DQT_SVG_LIB;-DQT_WIDGETS_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB -- Qt5Widgets FOUND -- Qt5Widgets includes: C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtWidgets;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtGui;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtCore;C:/Qt/Qt5.6.2/5.6/msvc2013_64/.//mkspecs/win32-msvc2013 -- Qt5Widgets libs: Qt5::Widgets -- Qt5Widgets definitions: -DQT_WIDGETS_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB -- Qt5WinExtras FOUND -- Qt5WinExtras includes: C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtWinExtras;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtGui;C:/Qt/Qt5.6.2/5.6/msvc2013_64/include/QtCore;C:/Qt/Qt5.6.2/5.6/msvc2013_64/.//mkspecs/win32-msvc2013 -- Qt5WinExtras libs: Qt5::WinExtras -- Qt5WinExtras definitions: -DQT_WINEXTRAS_LIB;-DQT_GUI_LIB;-DQT_CORE_LIB -- SBC FOUND -- SBC includes: C:/ws240-64/wireshark-win64-libs-2.4/sbc-1.3-win64ws/include -- SBC libs: C:/ws240-64/wireshark-win64-libs-2.4/sbc-1.3-win64ws/lib/sbc.lib -- Could NOT find SETCAP (missing: SETCAP_EXECUTABLE) -- SETCAP NOT FOUND -- WIRESHARK_CYGWIN_INSTALL_PATH=c:\cygwin64 -- PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\MSBuild\12.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\8.1\bin\x64;C:\Program Files (x86)\Windows Kits\8.1\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\Lenovo;C:\ProgramData\Lenovo\ReadyApps;C:\Program Files (x86)\Lenovo\Access Connections\;C:\Program Files (x86)\Rational\common;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Skype\Phone\;C:\Android;C:\Windows\System32;C:\Program Files\CMake\bin -- Could NOT find SH (missing: SH_EXECUTABLE) CMake Error at cmake/modules/FindSH.cmake:32 (message): The bash executable (SH_EXECUTABLE-NOTFOUND) (C:/) isn't from Cygwin. Check your path Call Stack (most recent call first): CMakeLists.txt:942 (find_package) -- Configuring incomplete, errors occurred! See also "C:/ws240-64/CMakeFiles/CMakeOutput.log". See also "C:/ws240-64/CMakeFiles/CMakeError.log". C:\ws240-64> Michael Lum (michael....@starsolutions.com<mailto:michael....@starsolutions.com>) | STAR SOLUTIONS<http://www.starsolutions.com/> | Principal Software Engineer 4600 Jacombs Road, Richmond BC, Canada V6V 3B1 | +1.604.303.2315
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe