DFIR-ORC / dfir-orc

Forensics artefact collection tool for systems running Microsoft Windows
https://dfir-orc.github.io
GNU Lesser General Public License v2.1
383 stars 42 forks source link

DFIR_Orc Cannot compile using VS2022 #61

Closed voilaviola closed 2 years ago

voilaviola commented 2 years ago

Hello team, I cannot compile DFIR_Orc on my Windows 10 with VS 2022. I tried to compile using the following commands (I changed the -G to adapt to VS 2022) :

git clone --recursive https://github.com/dfir-orc/dfir-orc.git
cd dfir-orc
mkdir build-x86 build-x64
cd build-x86
cmake -G "Visual Studio 17 2022" -A Win32 -T v141_xp ..
cmake --build .--config MinSizeRel -- -maxcpucount
cd ../build-x64
cmake -G "Visual Studio 17 2022" -A x64 -T v141_xp ..
cmake --build .--config MinSizeRel -- -maxcpucount

Below is the console output I received. I noticed many "7zip::extras target not found" errors, do you have any idea about it? Thx!

-- Found SemVer: 10.1.0 (v10.1.0-rc9)
CMake Warning at CMakeLists.txt:77 (message):
  BEWARE: VCPKG is currently compatible ONLY with ENGLISH version of Visual
  Studio.

CMake Warning at cmake/vcpkg_configure_triplets.cmake:22 (message):
  vcpkg: using v141 toolset as v141_xp is not supported
Call Stack (most recent call first):
  CMakeLists.txt:82 (vcpkg_configure_triplets)

-- Using vcpkg: C:/Users/dev/Documents/user/tool/DFIR_Orc/dfir-orc/external/vcpkg/vcpkg.exe
All installed packages are up-to-date with the local portfiles.
-- Install dependencies with: "C:/Users/dev/Documents/user/tool/DFIR_Orc/dfir-orc/external/vcpkg\vcpkg.exe" --vcpkg-root "C:/Users/dev/Documents/user/tool/DFIR_Orc/dfir-orc/external/vcpkg" --overlay-triplets=C:/Users/dev/Documents/user/tool/DFIR_Orc/dfir-orc/build-x86/vcpkg/tripletsinstall 7zip:x86-windows-static boost-algorithm:x86-windows-static boost-dynamic-bitset:x86-windows-static boost-logic:x86-windows-static boost-multi-index:x86-windows-static boost-outcome:x86-windows-static boost-scope-exit:x86-windows-static boost-system:x86-windows-static boost-tokenizer:x86-windows-static fmt:x86-windows-static ms-gsl:x86-windows-static spdlog:x86-windows-static yara:x86-windows-static rapidjson:x86-windows-static cli11:x86-windows-static boost-stacktrace:x86-windows-static

Computing installation plan...
The following packages are already installed:
    7zip[core]:x86-windows-static -> 19.00#4
    boost-algorithm[core]:x86-windows-static -> 1.78.0
    boost-dynamic-bitset[core]:x86-windows-static -> 1.78.0
    boost-logic[core]:x86-windows-static -> 1.78.0
    boost-multi-index[core]:x86-windows-static -> 1.78.0
    boost-outcome[core]:x86-windows-static -> 1.78.0
    boost-scope-exit[core]:x86-windows-static -> 1.78.0
    boost-stacktrace[core]:x86-windows-static -> 1.78.0
    boost-system[core]:x86-windows-static -> 1.78.0
    boost-tokenizer[core]:x86-windows-static -> 1.78.0
    cli11[core]:x86-windows-static -> 2.1.2#1
    fmt[core]:x86-windows-static -> 8.1.1
    ms-gsl[core]:x86-windows-static -> 4.0.0
    rapidjson[core]:x86-windows-static -> 2020-09-14#2
    spdlog[core]:x86-windows-static -> 1.9.2
    yara[core]:x86-windows-static -> 4.1.1
Package 7zip:x86-windows-static is already installed
Package boost-algorithm:x86-windows-static is already installed
Package boost-dynamic-bitset:x86-windows-static is already installed
Package boost-logic:x86-windows-static is already installed
Package boost-multi-index:x86-windows-static is already installed
Package boost-outcome:x86-windows-static is already installed
Package boost-scope-exit:x86-windows-static is already installed
Package boost-stacktrace:x86-windows-static is already installed
Package boost-system:x86-windows-static is already installed
Package boost-tokenizer:x86-windows-static is already installed
Package cli11:x86-windows-static is already installed
Package fmt:x86-windows-static is already installed
Package ms-gsl:x86-windows-static is already installed
Package rapidjson:x86-windows-static is already installed
Package spdlog:x86-windows-static is already installed
Package yara:x86-windows-static is already installed
Restored 0 packages from C:\Users\dev\AppData\Local\vcpkg\archives in 249.8 us. Use --debug to see more details.

Total elapsed time: 314.3 ms

The package 7zip provides CMake targets:

    find_package(7zip CONFIG REQUIRED)
    target_link_libraries(main PRIVATE 7zip::7zip)

The package boost is compatible with built-in CMake targets:

    find_package(Boost REQUIRED [COMPONENTS <libs>...])
    target_link_libraries(main PRIVATE Boost::boost Boost::<lib1> Boost::<lib2> ...)

The package cli11 provides CMake targets:

    find_package(CLI11 CONFIG REQUIRED)
    target_link_libraries(main PRIVATE CLI11::CLI11)

The package fmt provides CMake targets:

    find_package(fmt CONFIG REQUIRED)
    target_link_libraries(main PRIVATE fmt::fmt)

    # Or use the header-only version
    find_package(fmt CONFIG REQUIRED)
    target_link_libraries(main PRIVATE fmt::fmt-header-only)

The package ms-gsl provides CMake targets:

    find_package(Microsoft.GSL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Microsoft.GSL::GSL)

The package rapidjson provides CMake targets:

    find_package(RapidJSON CONFIG REQUIRED)
    target_link_libraries(main PRIVATE rapidjson)

The package spdlog provides CMake targets:

    find_package(spdlog CONFIG REQUIRED)
    target_link_libraries(main PRIVATE spdlog::spdlog spdlog::spdlog_header_only)

-- Using toolchain: C:/Users/dev/Documents/user/tool/DFIR_Orc/dfir-orc/external/vcpkg/scripts/buildsystems/vcpkg.cmake
-- Using vcpkg triplet: x86-windows-static
-- Selecting Windows SDK version 10.0.20348.0 to target Windows 5.1.
-- RapidJSON found. Headers: C:/Users/dev/Documents/user/tool/DFIR_Orc/dfir-orc/external/vcpkg/installed/x86-windows-static/share/rapidjson/../../include
CMake Warning at src/Orc/CMakeLists.txt:71 (message):
  : not found, it could be required on some XP SP2 installation

CMake Warning at src/FastFind/CMakeLists.txt:64 (message):
  : not found, it could be required on some XP SP2 installation

-- Configuring done
CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "Orc" links to target "7zip::extras" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  src/Orc/CMakeLists.txt:46 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "Orc" links to target "7zip::extras" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  src/Orc/CMakeLists.txt:46 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "Orc" links to target "7zip::extras" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  src/Orc/CMakeLists.txt:46 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "Orc" links to target "7zip::extras" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  src/Orc/CMakeLists.txt:46 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "FastFind" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/FastFind/CMakeLists.txt:30 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "FastFind" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/FastFind/CMakeLists.txt:30 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "FastFind" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/FastFind/CMakeLists.txt:30 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "FastFind" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/FastFind/CMakeLists.txt:30 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "rcedit" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tools/rcedit/CMakeLists.txt:65 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "rcedit" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tools/rcedit/CMakeLists.txt:65 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "rcedit" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tools/rcedit/CMakeLists.txt:65 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "rcedit" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tools/rcedit/CMakeLists.txt:65 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLibTest" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tests/OrcLibTest/CMakeLists.txt:149 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLibTest" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tests/OrcLibTest/CMakeLists.txt:149 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLibTest" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tests/OrcLibTest/CMakeLists.txt:149 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLibTest" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tests/OrcLibTest/CMakeLists.txt:149 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLib" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcLib/CMakeLists.txt:902 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLib" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcLib/CMakeLists.txt:902 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLib" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcLib/CMakeLists.txt:902 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLib" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcLib/CMakeLists.txt:902 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcCommand" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcCommand/CMakeLists.txt:295 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcCommand" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcCommand/CMakeLists.txt:295 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcCommand" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcCommand/CMakeLists.txt:295 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcCommand" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcCommand/CMakeLists.txt:295 (add_library)

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
fabienfl-orc commented 2 years ago

Hello, I think you will not be able to build with VS2022 and v141_xp toolset. It could work without specifying the toolset (you will lose XP SP2 support) ?

voilaviola commented 2 years ago

Hello, I think you will not be able to build with VS2022 and v141_xp toolset. It could work without specifying the toolset (you will lose XP SP2 support) ?

Thank you, I'll try

fabienfl-orc commented 2 years ago

Hello, I have successfully built DFIR-Orc using Microsoft's virtual machine with vs2022 from

https://developer.microsoft.com/fr-fr/windows/downloads/virtual-machines/

It is required to install "Desktop Development with C++" using the provided VS installer.

cmake -G "Visual Studio 17 2022" -A x64 ..
cmake --build . --config MinSizeRel -- -maxcpucount
voilaviola commented 2 years ago

Hi Fabien, Sorry for my late reply. I verified the installation of Desktop Dev with C++, cleared make cache files and reran the build command cmake -G "Visual Studio 17 2022" -A x64 .., but still got the same error:

-- RapidJSON found. Headers: C:/Users/dev/Documents/dev/4_Tools/DFIR_Orc/dfir-orc/external/vcpkg/installed/x64-windows-static/share/rapidjson/../../include
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "Orc" links to target "7zip::extras" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  src/Orc/CMakeLists.txt:46 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "Orc" links to target "7zip::extras" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  src/Orc/CMakeLists.txt:46 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "Orc" links to target "7zip::extras" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  src/Orc/CMakeLists.txt:46 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "Orc" links to target "7zip::extras" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  src/Orc/CMakeLists.txt:46 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "FastFind" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/FastFind/CMakeLists.txt:30 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "FastFind" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/FastFind/CMakeLists.txt:30 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "FastFind" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/FastFind/CMakeLists.txt:30 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "FastFind" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/FastFind/CMakeLists.txt:30 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "rcedit" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tools/rcedit/CMakeLists.txt:65 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "rcedit" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tools/rcedit/CMakeLists.txt:65 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "rcedit" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tools/rcedit/CMakeLists.txt:65 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:545 (_add_executable):
  Target "rcedit" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tools/rcedit/CMakeLists.txt:65 (add_executable)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLibTest" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tests/OrcLibTest/CMakeLists.txt:149 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLibTest" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tests/OrcLibTest/CMakeLists.txt:149 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLibTest" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tests/OrcLibTest/CMakeLists.txt:149 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLibTest" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  tests/OrcLibTest/CMakeLists.txt:149 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLib" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcLib/CMakeLists.txt:902 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLib" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcLib/CMakeLists.txt:902 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLib" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcLib/CMakeLists.txt:902 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcLib" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcLib/CMakeLists.txt:902 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcCommand" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcCommand/CMakeLists.txt:295 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcCommand" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcCommand/CMakeLists.txt:295 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcCommand" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcCommand/CMakeLists.txt:295 (add_library)

CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:583 (_add_library):
  Target "OrcCommand" links to target "7zip::extras" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  src/OrcCommand/CMakeLists.txt:295 (add_library)

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
fabienfl-orc commented 2 years ago

I guess you do not have issue anymore with 10.1.0