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
389 stars 42 forks source link

Compilation error x86 and x64 #69

Closed benpatin closed 2 years ago

benpatin commented 2 years ago

Hi,

Visual Studio 2019 v16.11.20 I have imported the .vsconfig file and all components are ok (the installation configuration was successfully imported)

I'm using command line from the README.md

the commande "cmake -G "Visual Studio 16 2019" -A x64 -T v141_xp .." end like this :

CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find VisualStudio (missing: CPPUNITTEST_INCLUDE_DIR) Call Stack (most recent call first): C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake/FindVisualStudio.cmake:81 (find_package_handle_standard_args) external/vcpkg/scripts/buildsystems/vcpkg.cmake:788 (_find_package) src/OrcLib/CMakeLists.txt:17 (find_package)

-- Configuring incomplete, errors occurred! See also "C:/Users/production/dfir-orc/build-x64/CMakeFiles/CMakeOutput.log". See also "C:/Users/production/dfir-orc/build-x64/CMakeFiles/CMakeError.log".

I have attach CMakeError.log and CMakeOutput.log

Any advice to resolv this issue ? Thanks.

CMakeError.log CMakeOutput.log

benpatin commented 2 years ago

after some more research i found this issue https://github.com/DFIR-ORC/dfir-orc/issues/27 and it solve my problem.