Ask Your Question

Revision history [back]

Cmake error: "which is prefixed in the build directory."

c:\repos\wireshark9> c:\repos\wireshark9>git status On branch master-3.2 Your branch is up to date with 'origin/master-3.2'.

nothing to commit, working tree clean

c:\repos\wireshark9> c:\repos\wireshark9> c:\repos\wireshark9> c:\repos\wireshark9>git log commit 5ce52f748553b9bf5d3ef1882af6ceb9cdb0f50a (grafted, HEAD -> master-3.2, origin/master-3.2) Author: Tomasz Mo<c5><84> [email protected] Date: Sat May 2 22:36:46 2020 +0200

Qt: Stretch last packet list header section

Programatically show the master split widget before elements are added
to prevent pending resize events from resizing packet columns to insane
widths (in my case orders of magnitude higher than display resolution)

Such resize was occuring when loading capture file if configuration file
included hidden columns (e.g. 55 defined columns, 8 visible). The resize
was not directly visible to user. Resize event call chain included calls
to recent_set_column_width() that changed width stored in configuration.
Modified configuration column width value would become effective after
user added or removed columns.

Hide PacketList when freezing and show it when thawing. Do not call
setUpdatesEnabled(false) as it leads to widget/preferences columns
missynchronization.

Clear packet list before freeing frame data. This prevents accessing
freed memory in ProtoTree on file close if packet list was in focus and
the next widget to get focus is packet details.

Ping-Bug: 16063
Bug: 16491
Change-Id: I2c21d928348681af1793b3263815c81ee73d41b0
Reviewed-on: https://code.wireshark.org/review/37029

c:\repos\wireshark9> c:\repos\wireshark9>cd ..\wsbuild64

c:\repos\wsbuild64>cmake -G "Visual Studio 16 2019" -A x64 ..\wireshark9 -- Generating build using CMake 3.15.19101501-MSVC_2 -- Building for win64 using Visual Studio 16 2019 Working in C:\repos\wireshark9\wireshark-win64-libs-3.2 Tag 2020-04-08 found. Skipping. -- CMake build type: RelWithDebInfo -- V: 3.2.4, MaV: 3, MiV: 2, PL: 4, EV: . -- Linker flags: /LARGEADDRESSAWARE /MANIFEST:NO /INCREMENTAL:NO /RELEASE /guard:cf -- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE) -- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "") -- _fseeki64 and _ftelli64 are present -- C-Flags: /MP /Zo /utf-8 /guard:cf /w34295 /w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /W3 /MD /Zi /O2 /Ob1 /DNDEBUG -- CXX-Flags: /MP /Zo /utf-8 /guard:cf /w34295 /w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MD /Zi /O2 /Ob1 /DNDEBUG -- Warnings as errors disabled -- The following OPTIONAL packages have been found:

-- The following REQUIRED packages have been found:

  • PowerShell
  • GLIB2 (required version >= 2.32.0)
  • GTHREAD2
  • GCRYPT (required version >= 1.4.2)
  • LEX
  • YACC
  • Perl
  • Python3 (required version >= 3.4)
  • Qt5Core
  • Qt5LinguistTools
  • Qt5Network (required version >= 5.9.9)
  • Qt5Gui (required version >= 5.9.9)
  • Qt5Multimedia
  • Qt5PrintSupport
  • Qt5Svg
  • Qt5Widgets
  • Qt5WinExtras
  • POD

-- The following OPTIONAL packages have not been found:

  • DOXYGEN
  • SpeexDSP, SpeexDSP is a patent-free, Open Source/Free Software DSP library, https://www.speex.org/ RTP audio resampling

-- Using MERGE_MODULE_DIR-NOTFOUND\Microsoft_VC142_CRT_x64.msm for the WiX installer -- Configuring done CMake Error in epan/CMakeLists.txt: Target "epan" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"C:/repos/wireshark9/wireshark-win64-libs-3.2/vcpkg-export-20190318-win64ws/installed/x64-windows/include"

which is prefixed in the build directory.

CMake Error in epan/CMakeLists.txt: Target "epan" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"C:/repos/wireshark9/wireshark-win64-libs-3.2/vcpkg-export-20190318-win64ws/installed/x64-windows/include"

which is prefixed in the build directory.

CMake Error in wsutil/CMakeLists.txt: Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"C:/repos/wireshark9/wireshark-win64-libs-3.2/libgcrypt-1.8.3-win64ws/include"

which is prefixed in the build directory.

CMake Error in wsutil/CMakeLists.txt: Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"C:/repos/wireshark9/wireshark-win64-libs-3.2/gnutls-3.6.3-1-win64ws/include"

which is prefixed in the build directory.

-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.

c:\repos\wsbuild64>

click to hide/show revision 2
None

Cmake error: "which is prefixed in the build directory."

c:\repos\wireshark9> Sample output:

c:\repos\wireshark9>git status
On branch master-3.2
Your branch is up to date with 'origin/master-3.2'.

'origin/master-3.2'. nothing to commit, working tree clean

c:\repos\wireshark9> c:\repos\wireshark9> c:\repos\wireshark9> clean c:\repos\wireshark9>git log commit 5ce52f748553b9bf5d3ef1882af6ceb9cdb0f50a (grafted, HEAD -> master-3.2, origin/master-3.2) Author: Tomasz Mo<c5><84> [email protected] Mo<C5><84> <[email protected]> Date: Sat May 2 22:36:46 2020 +0200

+0200

    Qt: Stretch last packet list header section

 Programatically show the master split widget before elements are added
 to prevent pending resize events from resizing packet columns to insane
 widths (in my case orders of magnitude higher than display resolution)

 Such resize was occuring when loading capture file if configuration file
 included hidden columns (e.g. 55 defined columns, 8 visible). The resize
 was not directly visible to user. Resize event call chain included calls
 to recent_set_column_width() that changed width stored in configuration.
 Modified configuration column width value would become effective after
 user added or removed columns.

 Hide PacketList when freezing and show it when thawing. Do not call
 setUpdatesEnabled(false) as it leads to widget/preferences columns
 missynchronization.

 Clear packet list before freeing frame data. This prevents accessing
 freed memory in ProtoTree on file close if packet list was in focus and
 the next widget to get focus is packet details.

 Ping-Bug: 16063
 Bug: 16491
 Change-Id: I2c21d928348681af1793b3263815c81ee73d41b0
 Reviewed-on: https://code.wireshark.org/review/37029

c:\repos\wireshark9> c:\repos\wireshark9>cd ..\wsbuild64

..\wsbuild64 c:\repos\wsbuild64>cmake -G "Visual Studio 16 2019" -A x64 ..\wireshark9 -- Generating build using CMake 3.15.19101501-MSVC_2 -- Building for win64 using Visual Studio 16 2019 Working in C:\repos\wireshark9\wireshark-win64-libs-3.2 Tag 2020-04-08 found. Skipping. -- CMake build type: RelWithDebInfo -- V: 3.2.4, MaV: 3, MiV: 2, PL: 4, EV: . -- Linker flags: /LARGEADDRESSAWARE /MANIFEST:NO /INCREMENTAL:NO /RELEASE /guard:cf -- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE) -- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "") -- _fseeki64 and _ftelli64 are present -- C-Flags: /MP /Zo /utf-8 /guard:cf /w34295 /w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /W3 /MD /Zi /O2 /Ob1 /DNDEBUG -- CXX-Flags: /MP /Zo /utf-8 /guard:cf /w34295 /w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MD /Zi /O2 /Ob1 /DNDEBUG -- Warnings as errors disabled -- The following OPTIONAL packages have been found:

  • Git
  • GMODULE2
  • found: * Git * GMODULE2 * LIBSSH (required version >= 0.6), Library for implementing SSH clients, https://www.libssh.org/ <https://www.libssh.org/> extcap remote SSH interfaces (sshdump, ciscodump)
  • PCAP
  • AIRPCAP
  • ciscodump) * PCAP * AIRPCAP * MaxMindDB, C library for the MaxMind DB file format, https://github.com/maxmind/libmaxminddb <https://github.com/maxmind/libmaxminddb> Support for GeoIP lookup
  • SMI
  • lookup * SMI * GNUTLS (required version >= 3.2.0)
  • KERBEROS
  • 3.2.0) * KERBEROS * CARES (required version >= 1.5.0), Library for asynchronous DNS requests, https://c-ares.haxx.se/ <https://c-ares.haxx.se/> DNS name resolution for captures
  • ZLIB
  • captures * ZLIB * Minizip, C library for supporting zip/unzip functionality, https://www.winimage.com/zLibDll/minizip.html <https://www.winimage.com/zLibDll/minizip.html> Support for profiles import/export
  • BROTLI
  • import/export * BROTLI * LZ4, LZ4 is lossless compression algorithm used in some protocol (CQL...), http://www.lz4.org <http://www.lz4.org> LZ4 decompression in CQL and Kafka dissectors
  • dissectors * SNAPPY, A fast compressor/decompressor from Google, https://google.github.io/snappy/ <https://google.github.io/snappy/> Snappy decompression in CQL and Kafka dissectors
  • 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/ <https://facebook.github.io/zstd/> Zstd decompression in Kafka dissector
  • dissector * NGHTTP2, HTTP/2 C library and tools, https://nghttp2.org <https://nghttp2.org> Header decompression in HTTP2
  • HTTP2 * LUA (required version >= 5.1)
  • 5.1) * SBC, Bluetooth low-complexity, subband codec (SBC) decoder, https://git.kernel.org/pub/scm/bluetooth/sbc.git <https://git.kernel.org/pub/scm/bluetooth/sbc.git> Support for playing SBC codec in RTP player
  • player * SPANDSP, a library of many DSP functions for telephony, https://www.soft-switch.org <https://www.soft-switch.org> Support for G.722 and G.726 codecs in RTP player
  • player * BCG729, G.729 decoder, https://www.linphone.org/technical-corner/bcg729/overview <https://www.linphone.org/technical-corner/bcg729/overview> Support for G.729 codec in RTP player
  • LibXml2
  • WinSparkle
  • player * LibXml2 * WinSparkle * Asciidoctor (required version >= 1.5)
  • XSLTPROC
  • HTMLHelp

1.5) * XSLTPROC * HTMLHelp -- The following REQUIRED packages have been found:

  • PowerShell
  • found: * PowerShell * GLIB2 (required version >= 2.32.0)
  • GTHREAD2
  • 2.32.0) * GTHREAD2 * GCRYPT (required version >= 1.4.2)
  • LEX
  • YACC
  • Perl
  • 1.4.2) * LEX * YACC * Perl * Python3 (required version >= 3.4)
  • Qt5Core
  • Qt5LinguistTools
  • 3.4) * Qt5Core * Qt5LinguistTools * Qt5Network (required version >= 5.9.9)
  • 5.9.9) * Qt5Gui (required version >= 5.9.9)
  • Qt5Multimedia
  • Qt5PrintSupport
  • Qt5Svg
  • Qt5Widgets
  • Qt5WinExtras
  • POD

5.9.9) * Qt5Multimedia * Qt5PrintSupport * Qt5Svg * Qt5Widgets * Qt5WinExtras * POD -- The following OPTIONAL packages have not been found:

  • DOXYGEN
  • found: * DOXYGEN * SpeexDSP, SpeexDSP is a patent-free, Open Source/Free Software DSP library, https://www.speex.org/ <https://www.speex.org/> RTP audio resampling

resampling -- Using MERGE_MODULE_DIR-NOTFOUND\Microsoft_VC142_CRT_x64.msm for the WiX installer -- Configuring done CMake Error in epan/CMakeLists.txt: Target "epan" INTERFACE_INCLUDE_DIRECTORIES property contains path:

path:

    "C:/repos/wireshark9/wireshark-win64-libs-3.2/vcpkg-export-20190318-win64ws/installed/x64-windows/include"

which is prefixed in the build directory.

directory. CMake Error in epan/CMakeLists.txt: Target "epan" INTERFACE_INCLUDE_DIRECTORIES property contains path:

path:

    "C:/repos/wireshark9/wireshark-win64-libs-3.2/vcpkg-export-20190318-win64ws/installed/x64-windows/include"

which is prefixed in the build directory.

directory. CMake Error in wsutil/CMakeLists.txt: Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

path:

    "C:/repos/wireshark9/wireshark-win64-libs-3.2/libgcrypt-1.8.3-win64ws/include"

which is prefixed in the build directory.

directory. CMake Error in wsutil/CMakeLists.txt: Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

path:

    "C:/repos/wireshark9/wireshark-win64-libs-3.2/gnutls-3.6.3-1-win64ws/include"

which is prefixed in the build directory.

directory. -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.

c:\repos\wsbuild64>

correctly.
click to hide/show revision 3
None

Cmake error: "which is prefixed in the build directory."

Sample output:

c:\repos\wireshark9>git status
On branch master-3.2
Your branch is up to date with 'origin/master-3.2'.

nothing to commit, working tree clean

c:\repos\wireshark9>git log
commit 5ce52f748553b9bf5d3ef1882af6ceb9cdb0f50a (grafted, HEAD -> master-3.2, origin/master-3.2)
Author: Tomasz Mo<C5><84> <[email protected]>
Date:   Sat May 2 22:36:46 2020 +0200

    Qt: Stretch last packet list header section

    Programatically show the master split widget before elements are added
    to prevent pending resize events from resizing packet columns to insane
    widths (in my case orders of magnitude higher than display resolution)

    Such resize was occuring when loading capture file if configuration file
    included hidden columns (e.g. 55 defined columns, 8 visible). The resize
    was not directly visible to user. Resize event call chain included calls
    to recent_set_column_width() that changed width stored in configuration.
    Modified configuration column width value would become effective after
    user added or removed columns.

    Hide PacketList when freezing and show it when thawing. Do not call
    setUpdatesEnabled(false) as it leads to widget/preferences columns
    missynchronization.

    Clear packet list before freeing frame data. This prevents accessing
    freed memory in ProtoTree on file close if packet list was in focus and
    the next widget to get focus is packet details.

    Ping-Bug: 16063
    Bug: 16491
    Change-Id: I2c21d928348681af1793b3263815c81ee73d41b0
    Reviewed-on: https://code.wireshark.org/review/37029

c:\repos\wireshark9>cd ..\wsbuild64

c:\repos\wsbuild64>cmake -G "Visual Studio 16 2019" -A x64 ..\wireshark9
-- Generating build using CMake 3.15.19101501-MSVC_2
-- Building for win64 using Visual Studio 16 2019
Working in C:\repos\wireshark9\wireshark-win64-libs-3.2
Tag 2020-04-08 found. Skipping.
-- CMake build type: RelWithDebInfo
-- V: 3.2.4, MaV: 3, MiV: 2, PL: 4, EV: .
-- Linker flags: /LARGEADDRESSAWARE /MANIFEST:NO /INCREMENTAL:NO /RELEASE /guard:cf
-- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "")
-- _fseeki64 and _ftelli64 are present
-- C-Flags:  /MP /Zo /utf-8 /guard:cf /w34295 /w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /W3 /MD /Zi /O2 /Ob1 /DNDEBUG
-- CXX-Flags:  /MP /Zo /utf-8 /guard:cf /w34295 /w34100 /w34189 /wd4200 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MD /Zi /O2 /Ob1 /DNDEBUG
-- Warnings as errors disabled
-- The following OPTIONAL packages have been found:

 * Git
 * GMODULE2
 * LIBSSH (required version >= 0.6), Library for implementing SSH clients, <https://www.libssh.org/>
   extcap remote SSH interfaces (sshdump, ciscodump)
 * PCAP
 * AIRPCAP
 * MaxMindDB, C library for the MaxMind DB file format, <https://github.com/maxmind/libmaxminddb>
   Support for GeoIP lookup
 * SMI
 * GNUTLS (required version >= 3.2.0)
 * KERBEROS
 * CARES (required version >= 1.5.0), Library for asynchronous DNS requests, <https://c-ares.haxx.se/>
   DNS name resolution for captures
 * ZLIB
 * Minizip, C library for supporting zip/unzip functionality, <https://www.winimage.com/zLibDll/minizip.html>
   Support for profiles import/export
 * BROTLI
 * LZ4, LZ4 is lossless compression algorithm used in some protocol (CQL...), <http://www.lz4.org>
   LZ4 decompression in CQL and Kafka dissectors
 * SNAPPY, A fast compressor/decompressor from Google, <https://google.github.io/snappy/>
   Snappy decompression in CQL and Kafka 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
 * NGHTTP2, HTTP/2 C library and tools, <https://nghttp2.org>
   Header decompression in HTTP2
 * LUA (required version >= 5.1)
 * 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/overview>
   Support for G.729 codec in RTP player
 * LibXml2
 * WinSparkle
 * Asciidoctor (required version >= 1.5)
 * XSLTPROC
 * HTMLHelp

-- The following REQUIRED packages have been found:

 * PowerShell
 * GLIB2 (required version >= 2.32.0)
 * GTHREAD2
 * GCRYPT (required version >= 1.4.2)
 * LEX
 * YACC
 * Perl
 * Python3 (required version >= 3.4)
 * Qt5Core
 * Qt5LinguistTools
 * Qt5Network (required version >= 5.9.9)
 * Qt5Gui (required version >= 5.9.9)
 * Qt5Multimedia
 * Qt5PrintSupport
 * Qt5Svg
 * Qt5Widgets
 * Qt5WinExtras
 * POD

-- The following OPTIONAL packages have not been found:

 * DOXYGEN
 * SpeexDSP, SpeexDSP is a patent-free, Open Source/Free Software DSP library, <https://www.speex.org/>
   RTP audio resampling

-- Using MERGE_MODULE_DIR-NOTFOUND\Microsoft_VC142_CRT_x64.msm for the WiX installer
-- Configuring done
CMake Error in epan/CMakeLists.txt:
  Target "epan" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "C:/repos/wireshark9/wireshark-win64-libs-3.2/vcpkg-export-20190318-win64ws/installed/x64-windows/include"

  which is prefixed in the build directory.


CMake Error in epan/CMakeLists.txt:
  Target "epan" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "C:/repos/wireshark9/wireshark-win64-libs-3.2/vcpkg-export-20190318-win64ws/installed/x64-windows/include"

  which is prefixed in the build directory.


CMake Error in wsutil/CMakeLists.txt:
  Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "C:/repos/wireshark9/wireshark-win64-libs-3.2/libgcrypt-1.8.3-win64ws/include"

  which is prefixed in the build directory.


CMake Error in wsutil/CMakeLists.txt:
  Target "wsutil" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "C:/repos/wireshark9/wireshark-win64-libs-3.2/gnutls-3.6.3-1-win64ws/include"

  which is prefixed in the build directory.


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.