-
Notifications
You must be signed in to change notification settings - Fork 735
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
Failing examples on 20.04 #772
Comments
Checking out 4.0.3 and building that from source worked instead. |
Confirmed that Cython examples also work on 4.0.3. |
Note that you should NOT use a Makefile for GTSAM-related projects if you are not super familiar with GTSAM internals. We recommend you use CMake and include GTSAM with If you still want to know what went wrong, please first build with CMake, and then |
The Makefile was just for the minimal reproduction. The error occurs on the official examples under build/examples when I built GTSAM on the current develop branch. |
I built the examples on my Ubuntu 20.04 machine and I cannot reproduce the error. @bryanhpchiang can you please try using the CMake based build? I suspect some linking is not happening correctly.
|
For sure, just tried building the Here's what I ran (I use the Python bindings):
Result:
Here's the full result from
|
Okay, I've been using Clang-9 rather than GCC. Let me switch as get back to you. I don't think there is any other major difference (I use Boost 1.72.0). |
Interesting. It works on GCC for me as well, I'm a bit confused at this point. |
I think it's something related to multiple GTSAM versions. 5 cents you have a global install of GTSAM that is not the same version as the source. |
That's a great suggestion. Perhaps some of your 4.0.3 install is still lingering in your system. |
Got it - that definitely makes sense since I might have installed GTSAM before with
By this I mean should I write a short C++ program to see what version of GTSAM is being used?
Thanks! |
|
Also check out |
Closing as stale |
Ubuntu 20.04 - built gtsam from the develop branch earlier today.
When running the examples (specifically the StereoVO one here), I'm getting an undefined symbol error:
I found out what the symbol represents, but not sure how to fix it:
Any suggestions would be appreciated!
Here's a minimal setup to reproduce (it builds but doesn't run):
Makefile:
main.cpp:
The text was updated successfully, but these errors were encountered: