首页 > 其他分享 >Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)

Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)

时间:2022-11-18 13:12:55浏览次数:53  
标签:cmake missing Could LIBRARY CURL find DIR

CMake Error at cmake/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
  cmake/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindCURL.cmake:54 (find_package_handle_standard_args)
  cmake/ProjectJsonRpcCpp.cmake:3 (find_package)
  CMakeLists.txt:54 (include)
 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

解决方法:

sudo apt-get install libcurl4-openssl-dev

标签:cmake,missing,Could,LIBRARY,CURL,find,DIR
From: https://www.cnblogs.com/zxdplay/p/16902860.html

相关文章