Danedo
Danedo

Reputation: 2263

Intel TBB - Eclipse reports multiple build errors

I'm using Eclipse CDT. I downloaded 4.1 for windows.

I added the include folder to my project by going to my project's properties, then adding the folder in C/C++ General >> Paths and Symbols >> Includes.

I added an include to the make file.

Unfortunately I am receiving build errors.

#error Unsupported machine word size.

‘__TBB_CompareAndSwapW’ was not declared in this scope

incomplete type ‘tbb::internal::machine_load_store_relaxed<int, 4u>’ 
    used in nested name specifier

there are no arguments to ‘__TBB_CompareAndSwapW’ that depend on a template      
    parameter, so a declaration of ‘__TBB_CompareAndSwapW’ must be available    

What can I do to help myself?

Upvotes: 1

Views: 429

Answers (1)

Anton Potapov
Anton Potapov

Reputation: 36

"#error Unsupported machine word size." appear then TBB unable to recognize compiler being used , or known compiler used in unsupported configuration. E.g. for 32 bit mingw -march=i686 or higher is needed.

Upvotes: 1

Related Questions