- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I experiment with the TBB composite node and the TBB CMake scripts.
My test repository https://github.com/thedarksideofthemoon/tbb-test works fine when I compile it using GCC 5.4 at Ubuntu 16.04. However, I cannot get my test program to compile with Clang 6.0. Instead, I get the compiler error error: unknown template name 'composite_node'.
Do I need any additional flags to find the composite_node?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Florian,
We do not support pre-release compiler versions. Your test compiles well on Clang 4.0. Why do you need exactly Clang 6.0?
Nikita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
you can define __TBB_FLOW_GRAPH_CPP11_FEATURES macro to 1 to overcome this particular problem with this prereleased compiler.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Florian!
I have checked your tbb-test example on Ubuntu 16.04 with clang 6.0 and everything is ok. Could you please compile test_composite_node with stdver=c++11 enabled?
Nikita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I updated the repository with stdver=c++11 – with no effect.
error: no type named 'composite_node' in namespace 'tbb::flow'
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page