Hello,
I am testing a simplest test as possible on Flow Graph Designer, the same as this video:
https://www.youtube.com/watch?v=dSY0dtvA6w4
That generate this code:
int main( int argc, char *argv[] ) { graph MainThreads0; source_node< int > beginFrame(MainThreads0, beginFrame_body(), false ); function_node< int, int > GraphicThread(MainThreads0, 1, GraphicThread_body() ); function_node< int, int > EngineFrame(MainThreads0, 1, EngineFrame_body() ); join_node< flow::tuple< int, int >, queueing > join(MainThreads0); function_node< int, int > EndFrame(MainThreads0, 1, EndFrame_body() ); make_edge( beginFrame, GraphicThread); make_edge( beginFrame, EngineFrame); make_edge( GraphicThread, input_port< 0 >( join )); make_edge( EngineFrame, input_port< 1 >( join )); make_edge( join, EndFrame); beginFrame.activate(); MainThreads0.wait_for_all(); return 0; }
And with Intel Compiler C++ 2013 SP1 I got this error:
1>main.cpp(190): error : no instance of function template "tbb::flow::interface7::make_edge" matches the argument list 1> argument types are: (tbb::flow::interface7::join_node<std::tuple<int, int>, tbb::flow::interface7::internal::graph_policy_namespace::queueing>, tbb::flow::interface7::function_node<int, int, tbb::flow::interface7::internal::graph_policy_namespace::queueing, tbb::cache_aligned_allocator<int>>) 1> make_edge( join, EndFrame ); 1> ^
The code generation was breaked with a new version of tbb?
Thanks