strasdat / Sophus

C++ implementation of Lie Groups using Eigen.
Other
2.04k stars 595 forks source link

I cause a problem when I build Sophus-main about CUDA #550

Open Cureser opened 1 month ago

Cureser commented 1 month ago

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)

Any advice?

Cureser commented 1 month ago

Ubuntu20.40 CUDA version:12.6 cere version:2.2.0