Skip to content

perftools cannot be built with openssl 1.1.1 on Windows #85

@quarckster

Description

@quarckster

I wanted to run the perftools against openssl 1.1.1 but cmake failed:

cmake --version
cmake version 4.2.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Details
PS C:\Users\openssl\perftools-OpenSSL_1_1_1-stable\source> cmake -S . -B .\build -DOPENSSL_ROOT_DIR=C:\Users\openssl\OpenSSL_1_1_1-stable
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.42.34435.0
-- The CXX compiler identification is MSVC 19.42.34435.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Found OpenSSL: C:/Users/openssl/OpenSSL_1_1_1-stable/libcrypto.lib (found version "1.1.1x")
-- Looking for OSSL_LIB_CTX_freeze
-- Looking for OSSL_LIB_CTX_freeze - not found
-- Looking for SSL_set1_dnsname
-- Looking for SSL_set1_dnsname - not found
-- Configuring done (4.8s)
CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:evp_fetch>

  No target "evp_fetch"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


CMake Error at CMakeLists.txt:466 (add_custom_target):
  Error evaluating generator expression:

    $<TARGET_FILE_DIR:providerdoall>

  No target "providerdoall"
Call Stack (most recent call first):
  CMakeLists.txt:535 (gen_run_taget)


-- Generating done (5.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions