简体   繁体   English

在Windows 8下使用Tbb构建Qt创建器错误

[英]Building errors Qt creator with Tbb under Windows 8

I compiled TBB library as shown QtCreator and TBB under Windows set the necessary paths to the library (. Dll) 我编译了TBB库,如图所示QtCreator和Windows下的TBB设置了库的必要路径(.Dll)

INCLUDEPATH += "C:\Tbb\include"
LIBS += -L"C:\Tbb\build\windows_ia32_gcc_mingw_debug\" \
    -tbb_debug.dll"

as shown, but build the project I have the following error image , any ideas? 如图所示,但是构建项目我有以下错误图片 ,有什么想法吗?

  1. Do not use extensions for libraries to link (they are added automagically) 不要使用扩展名来链接库(它们是自动添加的)
  2. Understand command line switches :) --library=namespec has a shorthand version -lnamespec . 了解命令行开关:) --library=namespec具有简写版本-lnamespec Following that you defined command line switch -t with an argument bb_debug.dll , which is nonsense :) 接下来,您定义了带有参数bb_debug.dll命令行开关-t ,这是胡说八道:)

You should use -ltbb_debug 您应该使用-ltbb_debug

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM