Skip to content
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

tbb Allocator with boost #575

Closed
hz658832 opened this issue Oct 26, 2020 · 4 comments
Closed

tbb Allocator with boost #575

hz658832 opened this issue Oct 26, 2020 · 4 comments
Labels
matlab Related to MATLAB wrapper

Comments

@hz658832
Copy link

Description

While compling gtsam (>4.0.x) with:

  1. python and pybind11
  2. matlab wrapper
  3. tbb
  4. boost (1.71)
    compiler throws out error "no matching function ..." by gtsam objects which are allocated with tbb instead of stl

Steps to reproduce

Just setup with the description.

Expected behavior

Fix bug in CMakeList, perhaps set(preferred_allocator STL)?

Environment

OS: Ubuntu 20.04
Matlab R2020b
Python 3.8
libboost 1.71

Question

Was it because of the version of boost?

@varunagrawal
Copy link
Collaborator

Hi @hz658832. Can you please try with GTSAM 4.1 and see if that works for you?

TBB is seeing a lot of changes and deprecations right now and we're having a hard time keeping up with them.

@tmcg0
Copy link
Contributor

tmcg0 commented Nov 13, 2020

@hz658832, what version of TBB were you using here? I think default apt libtbb-dev on Ubuntu 20 is 2020.1-2.

@varunagrawal
Copy link
Collaborator

This has been fixed by #603. Please pull the latest develop branch and try again.

Closing.

@varunagrawal varunagrawal added the matlab Related to MATLAB wrapper label Nov 16, 2020
@varunagrawal
Copy link
Collaborator

Feel free to re-open in case your issue has not been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
matlab Related to MATLAB wrapper
Projects
None yet
Development

No branches or pull requests

3 participants