Title: Could not find a package configuration file provided by "cppnetlib" (requested version 0.13.0) with any of the following names · Issue #895 · cpp-netlib/cpp-netlib · GitHub
Open Graph Title: Could not find a package configuration file provided by "cppnetlib" (requested version 0.13.0) with any of the following names · Issue #895 · cpp-netlib/cpp-netlib
X Title: Could not find a package configuration file provided by "cppnetlib" (requested version 0.13.0) with any of the following names · Issue #895 · cpp-netlib/cpp-netlib
Description: I have compiled and installed cppnetlib on my Ubuntu following https://cpp-netlib.org/0.13.0/getting_started.html and everything is OK. But when I tried to use it in my project by : set ( CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ~/cpp-netl...
Open Graph Description: I have compiled and installed cppnetlib on my Ubuntu following https://cpp-netlib.org/0.13.0/getting_started.html and everything is OK. But when I tried to use it in my project by : set ( CMAKE_PRE...
X Description: I have compiled and installed cppnetlib on my Ubuntu following https://cpp-netlib.org/0.13.0/getting_started.html and everything is OK. But when I tried to use it in my project by : set ( CMAKE_PRE...
Opengraph URL: https://github.com/cpp-netlib/cpp-netlib/issues/895
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Could not find a package configuration file provided by \"cppnetlib\" (requested version 0.13.0) with any of the following names","articleBody":"I have compiled and installed cppnetlib on my Ubuntu following [https://cpp-netlib.org/0.13.0/getting_started.html](https://cpp-netlib.org/0.13.0/getting_started.html) and everything is OK. But when I tried to use it in my project by :\r\n `set ( CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ~/cpp-netlib-build )\r\n find_package ( cppnetlib 0.13.0 REQUIRED )\r\n include_directories ( ${CPPNETLIB_INCLUDE_DIRS} )\r\n target_link_libraries ( MyApplication ${CPPNETLIB_LIBRARIES} )`\r\n\r\nI got the error:\r\n `\r\nCMake Error at CMakeLists.txt:9 (find_package):\r\nBy not providing \"Findcppnetlib.cmake\" in CMAKE_MODULE_PATH this project\r\nhas asked CMake to find a package configuration file provided by\r\n\"cppnetlib\", but CMake did not find one.\r\n\r\nCould not find a package configuration file provided by \"cppnetlib\"\r\n(requested version 0.13.0) with any of the following names:\r\n\r\ncppnetlibConfig.cmake\r\ncppnetlib-config.cmake\r\n\r\nAdd the installation prefix of \"cppnetlib\" to CMAKE_PREFIX_PATH or set\r\n\"cppnetlib_DIR\" to a directory containing one of the above files. If\r\n\"cppnetlib\" provides a separate development package or SDK, be sure it has\r\nbeen installed.\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/paas_requester/download_image_testbed/build/CMakeFiles/CMakeOutput.log\".\r\nMakefile:176: recipe for target 'cmake_check_build_system' failed\r\nmake: *** [cmake_check_build_system] Error 1\r\n`\r\n\r\nAnd I've checked that there's actually no config.cmake under cpp-netlib-build.","author":{"url":"https://github.com/Mactarvish","@type":"Person","name":"Mactarvish"},"datePublished":"2021-05-25T09:46:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/895/cpp-netlib/issues/895"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a8e64b1e-e3a0-9cbe-e6d0-ee827713164f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5EC:2CF272:2A6D4F:3B7A6D:696F7B3C |
| html-safe-nonce | 821dc3dddb0fc2632ab96d9d2f53e6259755a4759c0e5a246710d44e3966d30d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUVDOjJDRjI3MjoyQTZENEY6M0I3QTZEOjY5NkY3QjNDIiwidmlzaXRvcl9pZCI6IjM1NDA0MjE1NzYyODIzMDczODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d6a3d417b102da5d9e41e63251bab2e28eb07f086ee38a29e3f1871fbeffe76e |
| hovercard-subject-tag | issue:900565395 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cpp-netlib/cpp-netlib/895/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6940263d0b00c9863b190cf563a7bfcc3d6f7d936f8b7bd9a75f3dde35e5869b/cpp-netlib/cpp-netlib/issues/895 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6940263d0b00c9863b190cf563a7bfcc3d6f7d936f8b7bd9a75f3dde35e5869b/cpp-netlib/cpp-netlib/issues/895 |
| og:image:alt | I have compiled and installed cppnetlib on my Ubuntu following https://cpp-netlib.org/0.13.0/getting_started.html and everything is OK. But when I tried to use it in my project by : set ( CMAKE_PRE... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Mactarvish |
| hostname | github.com |
| expected-hostname | github.com |
| None | acc7f8c2e144976eeb6e7a73826049dd183bc572ccf5eaa9afb8265c617a97ab |
| turbo-cache-control | no-preview |
| go-import | github.com/cpp-netlib/cpp-netlib git https://github.com/cpp-netlib/cpp-netlib.git |
| octolytics-dimension-user_id | 192422 |
| octolytics-dimension-user_login | cpp-netlib |
| octolytics-dimension-repository_id | 494068 |
| octolytics-dimension-repository_nwo | cpp-netlib/cpp-netlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 469399 |
| octolytics-dimension-repository_parent_nwo | glynos/cpp-netlib |
| octolytics-dimension-repository_network_root_id | 469399 |
| octolytics-dimension-repository_network_root_nwo | glynos/cpp-netlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc546a224d6d4726a8d7c3a0dfe0cf65dbf9b7bd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width