This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

build error qrc_about.obj

asked Oct 03 '25

updated Oct 03 '25

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

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?

User 98587 ( Oct 03 '25 )

any thoughts on this?

User 83719 ( Oct 15 '25 )

1 Answer

0

answered Oct 03 '25

updated Oct 03 '25

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
-- Found AIRPCAP: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/lib/airpcap.lib
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
-- Found MaxMindDB: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/libmaxminddb-1.4.3-1-win64ws/installed/x64-windows/lib/libmaxminddb.lib
-- Found SMI: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/libsmi-2021-01-15-2-x64-windows-ws/lib/libsmi-2.lib
-- Looking for smi_version_string
-- Looking for smi_version_string - not found
-- Found GNUTLS: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/gnutls-3.8.10-1-x64-mingw-dynamic-ws/lib/libgnutls-30.lib (found suitable version "3.8.10", minimum required is "3.5.8")
-- Found KERBEROS: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/krb5-1.22.1-1-x64-windows-ws/installed/x64-windows/lib/krb5_64.lib
-- Looking for heimdal_version
-- Looking for heimdal_version - not found
-- Looking for krb5_pac_verify
-- Looking for krb5_pac_verify - found
-- Looking for krb5_c_fx_cf2_simple
-- Looking for krb5_c_fx_cf2_simple - found
-- Looking for decode_krb5_enc_tkt_part
-- Looking for decode_krb5_enc_tkt_part - not found
-- Looking for encode_krb5_enc_tkt_part
-- Looking for encode_krb5_enc_tkt_part - not found
-- Found ZLIBNG: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/zlib-ng-2.1.5-1-x64-windows-ws/installed/x64-windows/lib/zlib-ng.lib
-- Looking for zng_gzopen
-- Looking for zng_gzopen - found
-- Found ZLIB: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/lib/zlib.lib
-- Found Minizipng: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/minizip-ng-4.0.5-1-x64-windows-ws/installed/x64-windows/lib/libminizip-ng.lib
-- Performing Test HAVE_MZCOMPAT_DOS_DATE
-- Performing Test HAVE_MZCOMPAT_DOS_DATE - Failed
-- Found BROTLI: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/brotli-1.0.9-1-win64ws/installed/x64-windows/lib/brotlidec.lib
-- Found LZ4: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/lz4-1.10.0-1-x64-windows-ws/installed/x64-windows/lib/lz4.lib
-- Looking for lz4frame.h
-- Looking for lz4frame.h - found
-- Found SNAPPY: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/snappy-1.2.1-1-x64-windows-ws/installed/x64-windows/lib/snappy.lib
-- Found ZSTD: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/minizip-ng-4.0.5-1-x64-windows-ws/installed/x64-windows/lib/zstd.lib (found suitable version "1.5.6", minimum required is "1.0.0")
-- Found NGHTTP2: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/nghttp2-1.62.1-1-x64-windows-ws/installed/x64-windows/lib/nghttp2.lib (Required is at least version "1.11.0")
-- Found NGHTTP3: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/nghttp3-1.1.0-1-x64-windows-ws/installed/x64-windows/lib/nghttp3.lib
-- Considering the following Lua versions: 5.4;5.3
-- Found Lua: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/lua-5.4.6-unicode-win64-vc14/lua54.lib (found version "5.4.6")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of LUA_INTEGER
-- Check size of LUA_INTEGER - done
-- Found SBC: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/sbc-2.0-1-x64-windows-ws/lib/libsbc-1.lib
-- Found SPANDSP: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/spandsp-0.0.6-5-x64-windows-ws/lib/libspandsp-2.lib
-- Found BCG729: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/bcg729-1.0.4-win64ws/lib/bcg729.lib
-- Found AMRNB: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/opencore-amr-0.1.6-1-x64-mingw-dynamic-ws/lib/libopencore-amrnb-0.lib
-- Looking for WebRtcIlbcfix_DecoderCreate
-- Looking for WebRtcIlbcfix_DecoderCreate - found
-- Found ILBC: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/libilbc-2.0.2-4-x64-windows-ws/lib/libilbc-2.lib
-- Found OPUS: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/opus-1.5.1-1-x64-windows-ws/installed/x64-windows/lib/opus.lib
-- Found LibXml2: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/vcpkg-export-20250124-1-x64-windows-ws/installed/x64-windows/lib/libxml2.lib (found version "2.13.5")
-- Found WinSparkle: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/WinSparkle-0.8.0-4-gb320893/x64/Release/WinSparkle.lib
-- Could NOT find Asciidoctor (missing: ASCIIDOCTOR_EXECUTABLE) (Required is at least version "1.5")
-- Found XSLTPROC: C:/ProgramData/chocolatey/bin/xsltproc.exe
-- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE) 
-- Found SpeexDSP: C:/Users/xhlab/dev/wireshark_dev/wireshark-x64-libs-4.4/speexdsp-1.21.1-1-win64ws/installed/x64-windows/lib/speexdsp.lib
-- Looking for gnutls_pkcs11_obj_list_import_url4
-- Looking for gnutls_pkcs11_obj_list_import_url4 - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - not found
-- Looking for grp.h
-- Looking for grp.h - not found
-- Looking for include files sys/types.h, ifaddrs.h
-- Looking for include files sys/types.h, ifaddrs.h - not found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - not found
-- Looking for netdb.h
-- Looking for netdb.h - not found
-- Looking for pwd.h
-- Looking for pwd.h - not found
-- Looking for sys/select.h
-- Looking for sys/select.h - not found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - not found
-- Looking for sys/utsname.h
-- Looking for sys/utsname.h - not found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - not found
-- Looking for timespec_get
-- Looking for timespec_get - found
-- Looking for getifaddrs
-- Looking for getifaddrs - not found
-- Looking for issetugid
-- Looking for issetugid - not found
-- Looking for setresgid
-- Looking for setresgid - not found
-- Looking for setresuid
-- Looking for setresuid - not found
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed
-- Performing Test HAVE_STRUCT_STAT___ST_BIRTHTIME
-- Performing Test HAVE_STRUCT_STAT___ST_BIRTHTIME - Failed
-- Performing Test HAVE_STRUCT_TM_TM_ZONE
-- Performing Test HAVE_STRUCT_TM_TM_ZONE - Failed
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Failed
-- Check size of ssize_t
-- Check size of ssize_t - failed
-- Performing Test HAVE_C99_VSNPRINTF
-- Performing Test HAVE_C99_VSNPRINTF - Success
-- Looking for ssh_userauth_agent
-- Looking for ssh_userauth_agent - found
-- No SSE4.2 compiler flag enabled
-- Looking for emmintrin.h
-- Looking for emmintrin.h - found
-- Looking for nmmintrin.h
-- Looking for nmmintrin.h - found
-- Could NOT find Asciidoctor (missing: ASCIIDOCTOR_EXECUTABLE) (Required is at least version "1.5")
-- C-Flags:  /MP /W2 /diagnostics:caret /Zo /utf-8 /guard:cf /w34295 /w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS 
-- CXX-Flags:  /MP /W2 /diagnostics:caret /Zo /utf-8 /guard:cf /w34295 /w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /GR /EHsc -Zc:__cplusplus 
-- Warnings as errors disabled
-- The following OPTIONAL packages have been found:

 * Git
 * GMODULE2
 * LIBSSH (required version >= 0.8.5), Library for implementing SSH clients, <https://www.libssh.org/>
   extcap remote SSH interfaces (sshdump, ciscodump, wifidump)
 * PCAP
 * AIRPCAP
 * Qt6Core
 * Qt6Gui
 * Qt6LinguistTools
 * Qt6GuiTools (required version >= 6.8.3)
 * Qt6WidgetsTools (required version >= 6.8.3)
 * Qt6PrintSupport
 * Qt6Concurrent
 * Qt6Core5Compat
 * Qt6CoreTools (required version >= 6.8.3)
 * Qt6DBusTools (required version >= 6.8.3)
 * Qt6DBus
 * Qt6Multimedia
 * MaxMindDB, C library for the MaxMind DB file format, <https://github.com/maxmind/libmaxminddb>
   Support for GeoIP lookup
 * SMI, Library to access SMI management information, <https://www.ibr.cs.tu-bs.de/projects/libsmi/>
   Support MIB and PIB parsing and OID resolution
 * GNUTLS (required version >= 3.5.8)
 * KERBEROS
 * ZLIBNG
 * ZLIB
 * Minizipng, A fork of the minizip library - Mini zip and unzip based on zlib, <https://github.com/zlib-ng/minizip-ng>
   Support for profiles import/export
 * BROTLI
 * LZ4, LZ4 is a fast lossless compression algorithm, <http://www.lz4.org>
   LZ4 decompression in CQL and Kafka dissectors, read compressed capture files
 * SNAPPY, A fast compressor/decompressor from Google, <https://google.github.io/snappy/>
   Snappy decompression in Couchbase, CQL, Kafka and Mongo dissectors
 * ZSTD (required version >= 1.0.0), A compressor/decompressor from Facebook providing better compression than Snappy at a cost of speed, <https://facebook.github.io/zstd/>
   Zstd decompression in Kafka dissector, read compressed capture files
 * NGHTTP2 (required version >= 1.11.0), HTTP/2 C library and tools, <https://nghttp2.org>
   Header decompression in HTTP2
 * NGHTTP3, HTTP/3 C library and tools, <https://nghttp2.org>
   Header decompression in HTTP3
 * Lua, Lua is a powerful, efficient, lightweight, embeddable scripting language, <https://www.lua.org/>
   Lua allows writing dissectors and other extensions without a C/C++ compiler
 * SBC, Bluetooth low-complexity, subband codec (SBC) decoder, <https://git.kernel.org/pub/scm/bluetooth/sbc.git>
   Support for playing SBC codec in RTP player
 * SPANDSP, a library of many DSP functions for telephony, <https://www.soft-switch.org>
   Support for G.722 and G.726 codecs in RTP player
 * BCG729, G.729 decoder, <https://www.linphone.org/technical-corner/bcg729>
   Support for G.729 codec in RTP player
 * AMRNB, AMRNB decoder, <https://sourceforge.net/p/opencore-amr>
   Support for AMRNB codec in RTP player
 * ILBC, iLBC decoder, <https://github.com/TimothyGu/libilbc>
   Support for iLBC codec in RTP player
 * OPUS, opus decoder, <https://opus-codec.org/>
   Support for opus codec in RTP player
 * LibXml2
 * WinSparkle
 * XSLTPROC

-- The following REQUIRED packages have been found:

 * Python3 (required version >= 3.6)
 * PowerShell
 * GLIB2 (required version >= 2.54.0)
 * GTHREAD2
 * GCRYPT (required version >= 1.8.0)
 * CARES (required version >= 1.13.0), Library for asynchronous DNS requests, <https://c-ares.org/>
   DNS name resolution for captures
 * LEX
 * PCRE2, Regular expression pattern matching using the same syntax and semantics as Perl 5, <https://www.pcre.org>
   Support for regular expressions
 * Qt6
 * SpeexDSP, SpeexDSP is a patent-free, Open Source/Free Software DSP library, <https://www.speex.org/>
   RTP audio resampling

-- The following OPTIONAL packages have not been found:

 * Perl
 * WrapVulkanHeaders
 * DOXYGEN
 * Asciidoctor (required version >= 1.5)

-- Configuring done (57.5s)
-- Generating done (7.5s)
-- Build files have been written to: C:/Users/xhlab/dev/wireshark_dev/wsbuild64
cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.