简体   繁体   English

使用代码块在Windows 7上运行TBB代码

[英]Running TBB code on windows 7 using code blocks

i have installed TBB setup for windows 7 and want to execute code in it.i don't have visual studio setup and i have code blocks IDE. 我已经为Windows 7安装了TBB安装程序,并想在其中执行代码。我没有visual studio安装程序,我有代码块IDE。 i want to execute my TBB code in it.Pls Help to configure Code Blocks. 我想在其中执行我的TBB代码。请帮助配置代码块。 I have done Linker settings ie i have included libraries from this path 我已经完成了链接器设置,即我已经包含了该路径中的库

C:\\Program Files\\Intel\\Composer XE 2013\\tbb\\lib\\ia32\\ C:\\ Program Files \\ Intel \\ Composer XE 2013 \\ tbb \\ lib \\ ia32 \\

and i have set search directory to 我已经将搜索目录设置为

C:\\Program Files\\Intel\\Composer XE 2013\\tbb\\include\\tbb C:\\ Program Files \\ Intel \\ Composer XE 2013 \\ tbb \\ include \\ tbb

still also when i compile it gives error tbb/task_scheduler_init.h :No such file or directory. 还有当我编译它给错误tbb / task_scheduler_init.h:没有这样的文件或目录。

Can anyone pls suggest how to run TBB code in windows?? 任何人都可以建议如何在Windows中运行TBB代码吗?

I have set the search directory to 我已将搜索目录设置为

C:\\Program Files\\Intel\\Composer XE 2013\\tbb\\include\\tbb C:\\ Program Files \\ Intel \\ Composer XE 2013 \\ tbb \\ include \\ tbb

Pretty clear from the error message and the location of the file you gave that you should have set the search directory to 从错误消息和给出的文件位置可以很清楚地看出,您应该将搜索目录设置为

C:\\Program Files\\Intel\\Composer XE 2013\\tbb\\include C:\\ Program Files \\ Intel \\ Composer XE 2013 \\ tbb \\ include

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM