You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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)
The error message is:
CMake Error: install(EXPORT "cpp_redis" ...) includes target "cpp_redis" which requires target "tacopie" that is not in any export set.
I tried to figure things out, but I'm really not good at understanding CMake configuration files. Sorry...
Here is the full log:
$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at tacopie/CMakeLists.txt:41 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- 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 - found
-- Found Threads: TRUE
-- Configuring done
CMake Error: install(EXPORT "cpp_redis" ...) includes target "cpp_redis" which requires target "tacopie" that is not in any export set.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Hoping that you could find out what's wrong.
By the way, your lib is great work, many thanks for having provided to the community.
Regards from Paris..
The text was updated successfully, but these errors were encountered:
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 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)
The error message is:
CMake Error: install(EXPORT "cpp_redis" ...) includes target "cpp_redis" which requires target "tacopie" that is not in any export set.
I tried to figure things out, but I'm really not good at understanding CMake configuration files. Sorry...
Here is the full log:
$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at tacopie/CMakeLists.txt:41 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- 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 - found
-- Found Threads: TRUE
-- Configuring done
CMake Error: install(EXPORT "cpp_redis" ...) includes target "cpp_redis" which requires target "tacopie" that is not in any export set.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Hoping that you could find out what's wrong.
By the way, your lib is great work, many thanks for having provided to the community.
Regards from Paris..
The text was updated successfully, but these errors were encountered: