Information*/Troubleshoot

WinAFL build error

ch4rli3kop 2021. 9. 30. 15:49
반응형
D:\Tools\winafl\build64>cmake -G "Visual Studio 16 2019" -A x64 .. -DDynamoRIO_DIR=..\..\DynamoRIO-Windows-8.0.18859\cmake -DINTELPT=1
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at third_party/processor-trace/CMakeLists.txt:27 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19042.
-- Could NOT find UnixCommands (missing: BASH CP GZIP MV RM)
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19042.
CMake Warning at CMakeLists.txt:151 (find_package):
  By not providing "FindDynamoRIO.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "DynamoRIO", but CMake did not find one.

  Could not find a package configuration file provided by "DynamoRIO" with
  any of the following names:

    DynamoRIOConfig.cmake
    dynamorio-config.cmake

  Add the installation prefix of "DynamoRIO" to CMAKE_PREFIX_PATH or set
  "DynamoRIO_DIR" to a directory containing one of the above files.  If
  "DynamoRIO" provides a separate development package or SDK, be sure it has
  been installed.


CMake Error at CMakeLists.txt:153 (message):
  DynamoRIO package required to build


-- Configuring incomplete, errors occurred!
See also "D:/Tools/winafl/build64/CMakeFiles/CMakeOutput.log".

 

Dynamorio 디렉토리의 relative path는 winafl 디렉토리를 기준으로 함. (현재 명령어를 사용하는 디렉토리 기준이 아님!)

D:\Tools\winafl\build64>cmake -G"Visual Studio 16 2019" -A x64 .. -DDynamoRIO_DIR=DynamoRIO-Windows-8.0.18895\cmake -DINTELPT=1
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at third_party/processor-trace/CMakeLists.txt:27 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19042.
-- Could NOT find UnixCommands (missing: BASH CP GZIP MV RM)
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19042.
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Tools/winafl/build64

 

반응형

'Information* > Troubleshoot' 카테고리의 다른 글

Hyper-v 로그인 화면 안 뜰 때  (0) 2022.05.20
wslregisterdistribution failed with error: 0x80370102  (0) 2021.10.05
afl-clang-fast make error  (2) 2021.01.22
frida Failed to spawn  (0) 2020.09.13
OSS Fuzzer Error  (0) 2020.07.19