Adding the first filter (the input_filter) to a tbb pipeline causes this assertion error: pipeline.cpp Line: 346
" Expression: filter_.prev_filter_in_pipeline==filter::not_in_pipeline()
filter already part of pipeline? "
This happens with not just my code, but the filter definitions from the supplied text_filter project, after copying them into my code environment.
Compiling and running the text_filter project by itself works fine. (version: TBB: VERSION 2.1
TBB: INTERFACE VERSION 3014
TBB: BUILD_DATE Sun, 7 Dec 2008 14:18:46)
The debugger shows that "prev_filter_in_pipeline" has value -1 in my environment when the same code compiled alone gets value 0, and thus no assertion error.
Can anyone help?