-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Invalid arguments to find_dependency #56
Comments
Have you installed GTSAM that is specified in readme successfully? |
Yes.It is 4.0 |
@zuowanghanguang I met the same error and solved by improved my cmake version to 3.10, maybe you can try this solution. |
@mjjdick ok.I will try.Thank you! |
I also met this error and I solved this by change "find_dependency" into "find_package" in file GTSAMConfig.cmake |
I also meet same error. Could you let me know more details? |
Both 'mjjdick' and 'WAT183' says are valid. The reason can be referenced to 'pabloariasal/modern-cmake-sample#5' , which says "find_dependency() does not support COMPONENTS argument before CMake 3.8.0". |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello,when I run 'make -j1',I meet the error:
CMake Error at /usr/share/cmake-3.5/Modules/CMakeFindDependencyMacro.cmake:45 (message):
Invalid arguments to find_dependency
Call Stack (most recent call first):
/usr/local/lib/cmake/GTSAM/GTSAMConfig.cmake:17 (find_dependency)
LeGO-LOAM/LeGO-LOAM/CMakeLists.txt:23 (find_package)
Does anyone known the reason and how to solve it?Thank you!
The text was updated successfully, but these errors were encountered: