-
Notifications
You must be signed in to change notification settings - Fork 116
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
Target "badslam_test" links to target "Eigen3::Eigen" but the target was not found. #79
Comments
This seems like there must be some error in locating the Eigen3 installation. Badslam's CMakeLists.txt does have a Line 72 in 32e47be
Perhaps Eigen3 is installed in a non-standard location on your system? In that case, you could try specifying its path to CMake manually (for example, by checking with |
Hello @lql0602, I got the same problem. Did you solve it? |
I replace |
@neilzhuu Thanks for the update. Eigen also seems to recommend using NO_MODULE (see Using Eigen in CMake Projects), so I committed the change to the repository. |
Thanks for your work. However, I cannot build it now. I just input: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CUDA_FLAGS="-arch=sm_61" ..
CMake Error at applications/badslam/CMakeLists.txt:200 (add_executable):
Target "badslam_test" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:200 (add_executable):
Target "badslam_test" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:200 (add_executable):
Target "badslam_test" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:200 (add_executable):
Target "badslam_test" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:180 (add_executable):
Target "badslam" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:180 (add_executable):
Target "badslam" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:180 (add_executable):
Target "badslam" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:180 (add_executable):
Target "badslam" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:56 (add_library):
Target "badslam_baselib" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:56 (add_library):
Target "badslam_baselib" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:56 (add_library):
Target "badslam_baselib" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at applications/badslam/CMakeLists.txt:56 (add_library):
Target "badslam_baselib" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
but i have instaledl eigen3
-modversion eigen3
3.3.7
The text was updated successfully, but these errors were encountered: