Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
2466 Discussions

Cannot open include file: "\tbb/task.h" and Cannot open include file: "\tbb/task_group.h"

DrFallerson
Beginner
794 Views

Hello,

 

I am attempting to compile source code written in C++ from this Github repository:

https://github.com/Fossana/cplusplus-cfr-poker-solver

 

The date indicates September 2019 when the code was committed. I am using VS 2019 and I installed the intel tbb library using the following commands:

git clone https://github.com/Microsoft/vcpkg.git

.\vcpkg\bootstrap-vcpkg.bat

vcpkg install tbb

vcpkg integrate install

 

The installation of Intel TBB worked perfectly. At least that is what I believe. The version installed was: 2021.6.0 of the Intel Building Blocks program.

 

When I go to open the c++ project, as previously mentioned, the program complains that:

Cannot open include file: "\tbb/task.h"

Cannot open include file: "\tbb/task_group.h"

 

This occurs in several files in the c++ project.

 

1. Do I need to use an older version of Intel TBB?

2. How do I fix these problems?

 

Thank you,

Watterson

 

0 Kudos
3 Replies
NoorjahanSk_Intel
Moderator
773 Views

Hi,


Thanks for reaching out to us.


Could you please let us know the steps you have followed to reproduce the errors at our end? If possible please attach the complete visual studio project file.


Also please let us know which compiler you are using to build your code.



Thanks & Regards,

Noorjahan


0 Kudos
NoorjahanSk_Intel
Moderator
737 Views

Hi,


We haven't heard back from you. Could you please provide an update on your issue?


Thanks & Regards,

Noorjahan.


0 Kudos
NoorjahanSk_Intel
Moderator
722 Views

Hi,


We have not heard back from you, so we will close this inquiry now. If you need further assistance, please post a new question.


Thanks & Regards,

Noorjahan.


0 Kudos
Reply