-
Notifications
You must be signed in to change notification settings - Fork 779
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
CMake Build Failure ["debug" argument must be followed by a library] #145
Comments
I think PR #135 should fix this one too. |
Just checked the PR and cmake works fine! Hopefully this PR can get merged ASAP and a new release made, so ArchLinux users can have a working gtsam package. EDIT: I'll go ahead and close this issue once the PR is merged. |
I merged #135 and will close this issue for you :-) Thanks for helping to make GTSAM better! |
Thanks for the super quick response, really means a lot! |
Hi, I was using tag 4.0.0 but this problem is still there. CMake Error at wrap/CMakeLists.txt:29 (target_link_libraries): Could you tell me which tag has fixed your error? @acxz |
56e7c0c81 Merge pull request #145 from borglab/matlab/raw_ptr 2e82cd38d address review 58ff3b0a1 update tests and fixtures dcb6ef80f fix matlab wrapper to properly handle raw pointers 2377b330f refactor argument list generation git-subtree-dir: wrap git-subtree-split: 56e7c0c81c6df4e08c3496cc6cc8e48d881c2a8c
Description
gtsam does not build, in fact
cmake
fails.Steps to reproduce
cd gtsam && mkdir build && cd build
cmake ..
Error Message:
Expected behavior
cmake
command should not error out and finish successfully.Environment
gtsam:
develop
branchcmake:
3.15.4
boost:
1.71.0
OS: ArchLinux
Additional information
After some prelim debugging, it seems as tho in the latest
cmake
version (or the latestboost
version), you cannot have empty fields after library identifies such asdebug
. Since I am not building gtsam in debug mode, the following variables are empty for me and as such when calling${WRAP_BOOST_LIBRARIES}
further in the CMakeLists.txt, the above error triggers. This happens not just in thewrap/CMakeLists.txt
but also in other locations wheredebug
is specified in the variable name, but no debug libraries are included. Another case is with${GTSAM_BOOST_LIBRARIES}
here with the relevant definition happening here.The text was updated successfully, but these errors were encountered: