Ask Your Question
0

build error qrc_about.obj

asked 2025-10-03 04:04:31 +0000

gerolima gravatar image

updated 2025-10-03 06:16:19 +0000

grahamb gravatar image

Hi, I'm trying to build wireshark on my environment and I'm getting this error message:

163>LINK : fatal error LNK1181: cannot open input file 'C:\Users\xhlab\dev\wireshark_dev\wsbuild64\ui\qt\qtui.dir\RelWithDebInfo\qrc_
   about.obj' [C:\Users\xhlab\dev\wireshark_dev\wsbuild64\wireshark.vcxproj]
 163>Done Building Project "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\wireshark.vcxproj" (default targets) -- FAILED.
 2>Done Building Project "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\wireshark.vcxproj.metaproj" (default targets) -- FAILED.
27>Done Building Project "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\ALL_BUILD.vcxproj.metaproj" (default targets) -- FAILED.
 1>Done Building Project "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\Wireshark.sln" (default targets) -- FAILED.

Build FAILED.

   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\Wireshark.sln" (default target) (1) ->
   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\wireshark.vcxproj.metaproj" (default target) (2) ->
   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\epan\epan.vcxproj.metaproj" (default target) (8) ->
   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\epan\dfilter\dfilter.vcxproj.metaproj" (default target) (11) ->
   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\tools\lemon\lemon.vcxproj.metaproj" (default target) (12) ->
   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\tools\lemon\lemon.vcxproj" (default target) (101) ->
   (ClCompile target) ->
     cl : command line  warning D9025: overriding '/W2' with '/w' [C:\Users\xhlab\dev\wireshark_dev\wsbuild64\tools\lemon\lemon.vcxp
   roj]


   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\Wireshark.sln" (default target) (1) ->
   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\wireshark.vcxproj.metaproj" (default target) (2) ->
   "C:\Users\xhlab\dev\wireshark_dev\wsbuild64\wireshark.vcxproj" (default target) (163) ->
   (Link target) ->
     LINK : fatal error LNK1181: cannot open input file 'C:\Users\xhlab\dev\wireshark_dev\wsbuild64\ui\qt\qtui.dir\RelWithDebInfo\qr
   c_about.obj' [C:\Users\xhlab\dev\wireshark_dev\wsbuild64\wireshark.vcxproj]

1 Warning(s)
1 Error(s)

For some reason qrc_about.obj cannot be found

I followed to the letter the instructions here: https://www.wireshark.org/docs/wsdg_h...

I have:

Python 3.8.6 cmake version 4.1.1

cmake did not produce any errors

thanks

edit retag flag offensive close merge delete

Comments

Can you show the output of the CMake generate step, i.e. the item 2.2.1.12in the WDG, that gives us info on your build environment?

grahamb gravatar imagegrahamb ( 2025-10-03 06:20:36 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2025-10-03 08:05:49 +0000

gerolima gravatar image

updated 2025-10-03 10:14:13 +0000

grahamb gravatar image

Output:

-- The C compiler identification is MSVC 19.44.35217.0
-- The CXX compiler identification is MSVC 19.44.35217.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/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: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using 3rd party repository
-- Generating build using CMake 4.1.1
-- Found Python3: C:/Python310/python.exe (found suitable version "3.10.11", minimum required is "3.6") found components: Interpreter
-- Could NOT find Perl (missing: PERL_EXECUTABLE) 
-- Using "Visual Studio 17 2022" generator (multi-config)
-- LTO/IPO is not enabled
-- Building for x64
-- Found PowerShell: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
Working in C:\Users\xhlab\dev\wireshark_dev\wireshark-x64-libs-4.4
Current library manifest found. Skipping download.
-- Custom file found, including: C:/Users/xhlab/dev/wireshark_dev/wireshark_repo/wireshark/CMakeListsCustom.txt
-- V: 4.4.10, MaV: 4, MiV: 4, PL: 10, EV: .
-- Performing Test C_Qspectre_VALID
-- Performing Test C_Qspectre_VALID - Failed
-- Performing Test CXX_Qspectre_VALID
-- Performing Test CXX_Qspectre_VALID - Failed
-- Linker flags: /LARGEADDRESSAWARE /MANIFEST:NO /INCREMENTAL:NO /RELEASE /guard:cf /STACK:0x800000
-- Found Git: C:/Program Files/Git/bin/git.exe (found version "2.51.0.windows.2")
-- Found GLIB2: debug;C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/debug/lib/glib-2.0.lib;optimized;C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/lib/glib-2.0.lib (found suitable version "2.80.0", minimum required is "2.54.0")
-- Found GMODULE2: debug;C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/debug/lib/gmodule-2.0.lib;optimized;C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/lib/gmodule-2.0.lib
-- Found GTHREAD2: debug;C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/debug/lib/gthread-2.0.lib;optimized;C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/lib/gthread-2.0.lib
-- Found GCRYPT: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/libgcrypt-bundle-1.11.2-1-x64-mingw-dynamic-ws/lib/libgcrypt-20.lib (found suitable version "1.11.2", minimum required is "1.8.0")
-- Found CARES: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/c-ares-1.28.1-1-x64-windows-ws/installed/x64-windows/lib/cares.lib (found suitable version "1.27.0", minimum required is "1.13.0")
-- Found LEX: C:/ProgramData/chocolatey/bin/win_flex.exe
-- Found PCRE2: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/lib/pcre2-8.lib
-- Found LIBSSH: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/libssh-0.11.3-1-x64-mingw-dynamic-ws/lib/libssh.lib (found suitable version "0.11.3", minimum required is "0.8.5")
-- Found PCAP: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/libpcap-1.10.4-1-x64-windows-ws/installed/x64-windows/Include
-- Looking for PCAP_ERROR_PROMISC_PERM_DENIED
-- Looking for PCAP_ERROR_PROMISC_PERM_DENIED - found
-- Looking for PCAP_WARNING_TSTAMP_TYPE_NOTSUP
-- Looking for PCAP_WARNING_TSTAMP_TYPE_NOTSUP - found ...
(more)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2025-10-03 04:04:31 +0000

Seen: 116 times

Last updated: Oct 03