Ask Your Question

Drjcool's profile - activity

2022-08-07 09:53:50 +0000 received badge  Notable Question (source)
2022-08-07 09:53:50 +0000 received badge  Popular Question (source)
2020-12-02 09:18:05 +0000 marked best answer windows wireshark build error:CAN NOT FIND GLIB2

hi, i'am a linux user that know nothing in windows develop,but i just wanna to build wireshark in windows. As i follow the developer's guide book,dowload a lot env.the build the wireshark,error happened:

D:\wsbuild\326build64> cmake -G "Visual Studio 16 2019" -A x64 ..\wireshark-3.2.6
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17763.
-- The C compiler identification is MSVC 19.28.29334.0
-- The CXX compiler identification is MSVC 19.28.29334.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/install/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/install/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Generating build using CMake 3.18.20081302-MSVC_2
CMake Warning (dev) at D:/install/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to find_package_handle_standard_args (POWERSHELL) does not match the name of the calling package (PowerShell).
  This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/modules/FindPowerShell.cmake:17 (find_package_handle_standard_args)
  CMakeLists.txt:64 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found POWERSHELL: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
-- Building for win64 using Visual Studio 16 2019 Working in D:\wsbuild\wireshark-win64-libs-3.2
Tag 2020-06-30-3.2 not found. Refreshing.
Found 7-zip at C:\ProgramData\chocolatey\tools\7z.exe
Downloading https://anonsvn.wireshark.org/wireshark-win64-libs/tags/2020-06-30-3.2/packages/npcap-0.9994.exe into D:\wsbuild\wireshark-win64-libs-3.2
Verifying D:\wsbuild\wireshark-win64-libs-3.2\npcap-0.9994.exe
Downloading https://anonsvn.wireshark.org/wireshark-win64-libs/tags/2020-06-30-3.2/packages/USBPcapSetup-1.5.4.0.exe into D:\wsbuild\wireshark-win64-libs-3.2
Verifying D:\wsbuild\wireshark-win64-libs-3.2\USBPcapSetup-1.5.4.0.exe
Downloading https://anonsvn.wireshark.org/wireshark-win64-libs/tags/2020-06-30-3.2/packages/AirPcap_Devpack_4_1_0_1622.zip into D:\wsbuild\wireshark-win64-libs-3.2
Verifying D:\wsbuild\wireshark-win64-libs-3.2\AirPcap_Devpack_4_1_0_1622.zip
Downloading https://anonsvn.wireshark.org/wireshark-win64-libs/tags/2020-06-30-3.2/packages/bcg729-1.0.4-win64ws.zip into D:\wsbuild\wireshark-win64-libs-3.2
Verifying D:\wsbuild\wireshark-win64-libs-3.2\bcg729-1.0.4-win64ws.zip
Downloading https://anonsvn.wireshark.org/wireshark-win64-libs/tags/2020-06-30-3.2/packages/brotli-1.0.2-4-win64ws.zip into D:\wsbuild\wireshark-win64-libs-3.2
Verifying D:\wsbuild\wireshark-win64-libs-3.2\brotli-1.0.2-4-win64ws.zip
Downloading https://anonsvn.wireshark.org/wireshark-win64-libs/tags/2020-06-30-3.2/packages/c-ares-1.15.0-win64ws.zip into D:\wsbuild\wireshark-win64-libs-3.2
Verifying D:\wsbuild\wireshark-win64-libs-3.2\c-ares-1.15.0-win64ws.zip
Downloading https://anonsvn.wireshark.org/wireshark-win64-libs/tags/2020-06-30-3.2/packages/gnutls-3.6.3-1-win64ws.zip into D:\wsbuild\wireshark-win64-libs-3.2
Verifying D:\wsbuild\wireshark-win64-libs-3.2\gnutls-3 ...
(more)
2020-12-02 09:18:05 +0000 received badge  Scholar (source)
2020-12-02 06:30:14 +0000 commented answer windows wireshark build error:CAN NOT FIND GLIB2

thanks for grahamb and Chucks, great coder!!!!

2020-12-02 06:28:20 +0000 commented answer windows wireshark build error:CAN NOT FIND GLIB2

Oh my god! that it is!!! I set the lib variables after you say ,like:set WIRESHARK_LIB_DIR=c:\wireshark-win64-libs-3.2,

2020-12-02 02:19:22 +0000 commented answer windows wireshark build error:CAN NOT FIND GLIB2

I tryed to do what you told me,but useless. the gilb-2.dll is in the dir,but still not find it .I guess that it's maybe

2020-12-01 09:31:46 +0000 asked a question windows wireshark build error:CAN NOT FIND GLIB2

windows wireshark build error:CAN NOT FIND GLIB2 hi, i'am a linux user that know nothing in windows develop,but i just w