Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

TBB + Parallel Studio XE 2016 + Visual Studio 2015

Przemysław_O_
Beginner
498 Views

Hello,

I have installed Parallel Studio XE 2016 and TBB update and then set my VS projects to Intel 2016. Linker says:

1>tbbproxy.lib(tbbproxy.obj) : error LNK2019: unresolved external symbol __imp__fprintf referenced in function ___tbb_internal_runtime_loader_stub
1>tbbproxy.lib(tbbproxy.obj) : error LNK2019: unresolved external symbol __imp____iob_func referenced in function ___tbb_internal_runtime_loader_stub
1>tbbproxy.lib(tbbproxy.obj) : error LNK2019: unresolved external symbol __imp__vsnprintf referenced in function ___tbb_internal_runtime_loader_stub
1>MSVCRT.lib(vsnprintf.obj) : error LNK2001: unresolved external symbol __imp__vsnprintf
1>tbbproxy.lib(tbbproxy.obj) : error LNK2019: unresolved external symbol __imp___snprintf referenced in function "enum tbb::interface6::runtime_loader::error_code __cdecl tbb::interface6::internal::runtime_loader::load(enum tbb::interface6::runtime_loader::error_mode,char const * * const,int,int)" (?load@runtime_loader@internal@interface6@tbb@@YA?AW4error_code@134@W4error_mode@134@QAPBDHH@Z)
1>MSVCRT.lib(vsnprintf.obj) : error LNK2001: unresolved external symbol __imp___vsnprintf

I have looked in Program files directory and there are no tbb libs for vc14. Is there workaround for this issue? Do you plan an update?

Greetings

Przemek

0 Kudos
6 Replies
Przemysław_O_
Beginner
498 Views

Hello,

after one week of waiting for the Answer I try to ask about it again.

I can not build my project with TBB under Visual Studio 2015 with Parallel Studio XE 2016.

Is this a known issue? Have you plan an update?

My colleague (Werner Fell) have already asked by our Intel Premier Support, but also have not become an Answer.

Greetings

Przemek

0 Kudos
Vladimir_P_1234567890
498 Views

Hello, 

there are a few limitations in initial release of 4.4 since vs2015 was released after release build which was taken for 4.4. The current limitations are:

  1. No vs2015-specific binaries (supported via vc_mt universal binaries)
  2. No malloc replacement for vs2015 runtime
  3. No tbbproxy library since it should be specific for vs2015

we are going to release remaining functionality in coming updates, stay tuned.

--Vladimir

0 Kudos
Vladimir_P_1234567890
498 Views

vs2015 specific libraries are released in Intel TBB 4.4 U1 and newer

--Vladimir

0 Kudos
Przemysław_O_
Beginner
498 Views

I know, we already use them.

Greetings

Przemek

0 Kudos
thrishul_h_
Beginner
498 Views

edkutils.lib(EdkUtils.obj) :error LNK2019: unresolved external symbol __imp___snprintf referenced in function _HrCreateProfileName

am also facing the same issue in VS 2015 plz provide me a resolution ASAP

i will be very thankful to u 

0 Kudos
Vladimir_P_1234567890
498 Views

It looks you need to build your application with /MD instead of /MT or take right edkutils.lib libriary

edkutils.lib is not related to TBB so it is better to ask such questions on MSDN forums.

--Vladimir

0 Kudos
Reply