- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The latest developer release of the TBB source fails to compile because affinity.h -- included in parallel_for.h -- is missing.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sooner rather than later, this header will be real. If you follow the blog of Arch Robison, you probably can guess what it is intended to be for :)
For now, you can either delete the line(s) that #include "affinity.h", or add an empty file with this name into the folder with TBB headers.
Thank you for noticing it and letting us know; and our apologies to everyone affected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue is fixed in the most recent developer snapshot; take it from the download area of http://threadingbuildingblocks.org
My prediction that the header will become real, however, completely failed :) As the initial affinity prototype improved and matured, the file became unnecessary and simply had gone.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page