1

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?

4

1 回答 1

1

“#error 不支持的机器字长。” 然后出现 TBB 无法识别正在使用的编译器,或者在不支持的配置中使用了已知的编译器。例如,需要 32 位 mingw -march=i686 或更高版本。

于 2014-04-29T12:54:20.327 回答