GCC 9.2.0 C++ and Threading Building Blocks

Pages: 12

Thank you @coder777 and @Furry Guy for the information about dependency walker:
I have downloaded Version 2.2 and ran it and it gave following dependency information:

TBB_FIG_1_04_PROJ.EXE
TBB_DEBUG.DLL
KERNEL32.DLL
MSVCP140D.DLL
VCRUNTIME140D.DLL
UCRTBASED.DLL

Looks like the walker found all of above five DLLs.

But it gave "Error opening file. The system cannot find the file specified (2)." to following & many other such DLLs.
API-MS-WIN-APPMODEL-IDENTITY-L1-2-0.DLL
API-MS-WIN-APPMODEL-RUNTIME-INTERNAL-L1-1-2.DLL etc and etc

Looks like KERNEL32.DLL depends on KERNELBASE.DLL and it depends on these missing DLLs.

Also it gave following Errors & warnings
Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export function in an
implicitly dependent module.
Error: Modules with different CPU types were found.
Error: A circular dependency was detected.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in
a delay-load dependent module.

I am not sure about how to fix these errors or what is causing these errors, please.
As shown below, I have commented out TBB specific code and re-built and it ran and gave following output:

Hello C++ World.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
// #include <tbb/tbb.h>

int main() { 

/*
  tbb::parallel_invoke(
    []() { std::cout << " Hello " << std::endl; },
    []() { std::cout << " TBB! " << std::endl; }
  );
*/
	std::cout << "Hello C++ World." << std::endl;

  return 0;
}
Topic archived. No new replies allowed.
Pages: 12