Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

make error: use of deleted function of tbb #954

Closed
xjqbest opened this issue Mar 4, 2021 · 8 comments
Closed

make error: use of deleted function of tbb #954

xjqbest opened this issue Mar 4, 2021 · 8 comments

Comments

@xjqbest
Copy link

xjqbest commented Mar 4, 2021

Details

mkdir build && cd build && cmake .. && make

do I depend the wrong version of tbb? thanks!

pmemkv commit id : c2755cc
tbb commit id : 4523a7615eaed49c4ed75654b349ca41b92c6381
gcc version 7.3.0 (GCC)

image

@lukaszstolarczuk
Copy link
Member

Hi,

I'm afraid the TBB you're using is too new. They made some changes recently which change their API, so this may be one of these. See also our issue on our second repo: pmem/libpmemobj-cpp#990

I'm currently using TBB in version 2020.3 (Ubuntu 20.10 + apt install libtbb-dev) or installed manually version 2020 (https://github.com/oneapi-src/oneTBB/releases/tag/2020) and it works fine. For now, just please use different version of TBB.

@xjqbest
Copy link
Author

xjqbest commented Mar 4, 2021

thanks! I will try this tommorow

@xjqbest
Copy link
Author

xjqbest commented Mar 5, 2021

new error occurs, do I use the wrong version of pmemkv ? thanks !

image

@igchor
Copy link
Contributor

igchor commented Mar 5, 2021

@xjqbest what OS are you using? It seems that you use pretty old version of C++ standard library (I see /usr/include/c++/4.8.2). Could you try to update it?

@xjqbest
Copy link
Author

xjqbest commented Mar 7, 2021

ok, I will try newer version of gcc, thanks!

@xjqbest
Copy link
Author

xjqbest commented Mar 8, 2021

gcc 7.3.0 is ok, thanks !

@lukaszstolarczuk
Copy link
Member

The first issue mentioned in the thread should be fixed by now (ref. #970), so using current version of TBB (from master) should work.

@lukaszstolarczuk
Copy link
Member

I hope everything is working fine for you now, I'm closing this issue, but don't hesitate to contact us again if you need our assistance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants