英特尔 TBB - Eclipse 报告多个构建错误

Intel TBB - Eclipse reports multiple build errors

本文关键字:构建 错误 报告 TBB Eclipse 英特尔      更新时间:2023-10-16

我正在使用Eclipse CDT。我下载了适用于Windows的4.1。

我通过转到项目的属性,然后在 C/C++ 常规>>路径和符号>>包含中添加文件夹,将包含文件夹添加到我的项目中。

我在制作文件中添加了一个包含。

不幸的是,我收到构建错误。

#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    

我能做些什么来帮助自己?

"#error 不支持的机器字大小"出现,则 TBB 无法识别正在使用的编译器,或已知编译器用于不支持的配置。 例如,对于 32 位 mingw -march=i686 或更高,需要