Closed voilaviola closed 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) ?
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
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
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.
I guess you do not have issue anymore with 10.1.0
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) :
Below is the console output I received. I noticed many "7zip::extras target not found" errors, do you have any idea about it? Thx!