tbb fails with codelite (works fine with VS)
I tried to install the tbb library for c++. I used vcpkg on install it, I installed it directly with intels installer and I compiled it with cmake and vscode - neither of those three libraries works when linked. It seems to find the header and lib files but then runs into several undefined references:
"undefined reference to 'tbb::detail::r1::notify_waiters(unsigned long long'"
"undefined reference to 'tbb::detail::r1::execution_slot(tbb::detail::d1::execution_data const*)'"
...
The code I tried is from one of the test sites from intel (tbb::parallel_invoke(...);). The same code compiles fine however in VS Community 2022.
Does any of this sound familiar? Can anybody help me to get tbb running in Codelite?
Many thanks!