Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

Intel TBB and Visual Studio 2005 compiling problem

mario31415
Beginner
154 Views

Hello I am new to the Intel TBB. I am just trying to compile the Sieve of Eratosthenesexample using Visual Studio 2005. (Windows XP SP 2)

I downloaded this file tbb20_014oss_win.tar.gz

Extracted it and

ran tbb20_014oss_winia32vc8in bbvars.bat

then I started visual studio using the command devenv /useenv

I create a console application project (paste the examplecode from the TBB site)but when I try to compile it I get the following error:

Error spawning 'cl.exe'.

Please help

0 Kudos
2 Replies
TimP
Black Belt
154 Views
As mentioned in the previous post, TBB problems will be answer much quicker on the TBB forum.
I'm no expert on TBB, but it looks like the path you set by that .bat file doesn't match where your copy of Microsoft C is installed. Your Microsoft C installation should include a vcvars??.bat which should be executed by your Intel .bat.
mario31415
Beginner
154 Views
Thank you for the response. Now that Ithink about itI installed visual studio on the D: drive as C: was kind of full.
Reply