I have just downloaded the Commercial-Aligned Open Source version of Intel TBB. I tried running the sample program Sub_String_Finder. The project compiles and links succesfully, however there is a warning ( Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release ) which does not seem serious.
Anyway, the problem I am facing is when I actually run the program in debug mode it seems to go into an infinite loop or something when it reaches this line of code:
parallel_for(blocked_range(0, num_elem ), SubStringFinder( to_scan, max, pos ) );
I am just wondering if this is a problem with my machine or is anyone else facing it? I am using a dual core windows XP machine and am using Microsoft Visual C++ Express 2008. I am pretty sure I am using the correct lib (C:\\Intel TBB 3.0174\\lib\\ia32\\vc9) and dll (C:\\Intel TBB 3.0174\\bin\\ia32\\vc9).
My machine is a Centrino Duo using Windows XP. I am using Microsoft Visual C++ Express 2008 ( which corresponds to vc 9 i am pretty sure ). I am just wondering if there is anything I am missing, like missing compiler options etc. I have tried building the sample by creating my own project as well as using the project files that came with the download.