Title: Cannot build the lib due to CMake Export pb · Issue #114 · cpp-redis/cpp_redis · GitHub
Open Graph Title: Cannot build the lib due to CMake Export pb · Issue #114 · cpp-redis/cpp_redis
X Title: Cannot build the lib due to CMake Export pb · Issue #114 · cpp-redis/cpp_redis
Description: Hi ! One year ago, I have built the lib without problem But today, CMake complains about Export problem. I guess it's a new version of CMake that brings this issue. My environment: Linux Ubuntu 20.04.4 LTS with gcc 9.4.0 + cmake 3.16.3 I...
Open Graph Description: Hi ! One year ago, I have built the lib without problem But today, CMake complains about Export problem. I guess it's a new version of CMake that brings this issue. My environment: Linux Ubuntu 20....
X Description: Hi ! One year ago, I have built the lib without problem But today, CMake complains about Export problem. I guess it's a new version of CMake that brings this issue. My environment: Linux Ubuntu...
Opengraph URL: https://github.com/cpp-redis/cpp_redis/issues/114
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot build the lib due to CMake Export pb","articleBody":"Hi !\r\nOne year ago, I have built the lib without problem\r\nBut today, CMake complains about Export problem.\r\nI guess it's a new version of CMake that brings this issue.\r\n\r\nMy environment:\r\nLinux Ubuntu 20.04.4 LTS with gcc 9.4.0 + cmake 3.16.3\r\nI also face the same issue with Ret Had Enterprise 8.7 + gcc 8.5.0 + cmake 3.18.2 or 3.20.2 (both tested)\r\n\r\nThe error message is:\r\nCMake Error: install(EXPORT \"cpp_redis\" ...) includes target \"cpp_redis\" which requires target \"tacopie\" that is not in any export set.\r\n\r\nI tried to figure things out, but I'm really not good at understanding CMake configuration files. Sorry...\r\n\r\nHere is the full log:\r\n$ cmake .. -DCMAKE_BUILD_TYPE=Release\r\n-- The CXX compiler identification is GNU 9.4.0\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\nCMake Warning (dev) at tacopie/CMakeLists.txt:41 (project):\r\n Policy CMP0048 is not set: project() command manages VERSION variables.\r\n Run \"cmake --help-policy CMP0048\" for policy details. Use the cmake_policy\r\n command to set the policy and suppress this warning.\r\n\r\n The following variable(s) would be set to empty:\r\n\r\n PROJECT_VERSION\r\n PROJECT_VERSION_MAJOR\r\n PROJECT_VERSION_MINOR\r\n PROJECT_VERSION_PATCH\r\nThis warning is for project developers. Use -Wno-dev to suppress it.\r\n\r\n-- Looking for C++ include pthread.h\r\n-- Looking for C++ include pthread.h - found\r\n-- Performing Test CMAKE_HAVE_LIBC_PTHREAD\r\n-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE \r\n-- Configuring done\r\nCMake Error: install(EXPORT \"cpp_redis\" ...) includes target \"cpp_redis\" which requires target \"tacopie\" that is not in any export set.\r\n-- Generating done\r\nCMake Generate step failed. Build files cannot be regenerated correctly.\r\n\r\nHoping that you could find out what's wrong.\r\nBy the way, your lib is great work, many thanks for having provided to the community.\r\nRegards from Paris..","author":{"url":"https://github.com/cmassaloux","@type":"Person","name":"cmassaloux"},"datePublished":"2023-02-08T17:56:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/114/cpp_redis/issues/114"}
| 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:5ed93f57-a2e1-169f-d0c5-0011e90238a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF86:308A8E:262571A:314CB7F:6974BFC3 |
| html-safe-nonce | 034b493c4fe95ce5620011809dd7b24eab83c0f9ad781d816913ce9165b01fcd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjg2OjMwOEE4RToyNjI1NzFBOjMxNENCN0Y6Njk3NEJGQzMiLCJ2aXNpdG9yX2lkIjoiNDg1Mjc1OTMwOTAwMDY4NzU1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 66c4cd64673c34e07cf2e9c66bf56c05ebf2e8079160fb7f2f7fae108f304330 |
| hovercard-subject-tag | issue:1576560521 |
| 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-redis/cpp_redis/114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b05ea37c524037ee1d3438b5644eea835525b86a2544f0cfa1f453e80408222c/cpp-redis/cpp_redis/issues/114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b05ea37c524037ee1d3438b5644eea835525b86a2544f0cfa1f453e80408222c/cpp-redis/cpp_redis/issues/114 |
| og:image:alt | Hi ! One year ago, I have built the lib without problem But today, CMake complains about Export problem. I guess it's a new version of CMake that brings this issue. My environment: Linux Ubuntu 20.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cmassaloux |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/cpp-redis/cpp_redis git https://github.com/cpp-redis/cpp_redis.git |
| octolytics-dimension-user_id | 45303665 |
| octolytics-dimension-user_login | cpp-redis |
| octolytics-dimension-repository_id | 158901124 |
| octolytics-dimension-repository_nwo | cpp-redis/cpp_redis |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 38889153 |
| octolytics-dimension-repository_parent_nwo | Cylix/cpp_redis |
| octolytics-dimension-repository_network_root_id | 38889153 |
| octolytics-dimension-repository_network_root_nwo | Cylix/cpp_redis |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width