Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA::cublas but the target was not found #523

Closed
Echo-gh opened this issue Sep 18, 2023 · 1 comment
Closed

CUDA::cublas but the target was not found #523

Echo-gh opened this issue Sep 18, 2023 · 1 comment
Labels

Comments

@Echo-gh
Copy link

Echo-gh commented Sep 18, 2023

cmake error:
"""
CMake Error at /usr/local/lib/cmake/Ceres/CeresTargets.cmake:59 (set_target_properties):
The link interface of target "Ceres::ceres" contains:

CUDA::cublas

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

Call Stack (most recent call first):
/usr/local/lib/cmake/Ceres/CeresConfig.cmake:272 (include)
test/core/CMakeLists.txt:15 (find_package)

CMake Error at /usr/local/lib/cmake/Ceres/CeresTargets.cmake:59 (set_target_properties):
The link interface of target "Ceres::ceres" contains:

CUDA::cublas

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

Call Stack (most recent call first):
/usr/local/lib/cmake/Ceres/CeresConfig.cmake:272 (include)
test/ceres/CMakeLists.txt:5 (find_package)
"""

Ceres version: 2.1.0
CUDA version: 11.2

I cannot find any useful information. Please tell me how to fix it. Thanks!

@Echo-gh Echo-gh added the bug label Sep 18, 2023
@Echo-gh
Copy link
Author

Echo-gh commented Sep 19, 2023

I solved it by reinstalling Ceres.

@Echo-gh Echo-gh closed this as completed Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant