graph-prototype icon indicating copy to clipboard operation
graph-prototype copied to clipboard

Fails to compile on clang++ clang version 18.1.6 (Fedora 18.1.6-3.fc40)

Open marcusmueller opened this issue 1 year ago • 0 comments

Trying to compile c01c93ccfbaafe7ab0674910469d154c8d007288 using

-DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache  -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang 

on Fedora 40's default clang; failing with

-- Is block registry enabled? (faster compile-times and when runtime or Python wrapping APIs are not required) ON
-- Is plugin system enabled? ON
-- CMake version: 3.28.2
-- ccache found and will be used
-- Version: 10.2.1
-- Build type: RelWithDebInfo
-- CPM: adding package [email protected] (v1.10.0)
CMake Deprecation Warning at build/_deps/yaml-cpp-src/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 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 Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build/_deps/cpp-httplib-src/CMakeLists.txt:118 (find_package)


-- Configuring incomplete, errors occurred!

cpp-httplib has had a minor version bump lately, but using 0.16.3 instead of the current 0.15.3.

marcusmueller avatar Aug 27 '24 15:08 marcusmueller