I did not tell you to use debian repos.
I only wrote that tbb is in debian repos, but I don't know whether it is in ubuntu.
Install libtbb-dev and remove all the settings you have made to get it working (LD_LIBRARY_PATH and so on).
put `pkg-config tbb --cflags`
in your projects "Compiler settings -> Other options:" and in your projects "Linker settings -> Other linker options:" and that's it.
Be aware of the backticks in the code !