Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Linking issue with Intel Debug build ...

Andrew_R_3
Beginner
421 Views

Hello,

I get the following linking error when building a debug build with Intel 16.0 compiler:

 error LNK2019: unresolved external symbol ___intel_ssse3_strncpy referenced in function

Does anyone know the corresponding lib where this symbol resides?  

Many thanks,

Andrew.

ps>  Using windows with VS2013, Intel Compiler 16.0.

0 Kudos
4 Replies
Vladimir_P_1234567890
421 Views

Hello, have you linked with libirc.lib? Probably you use /nodefaultlib option and this lib disapeared from the project.

--Vladimir

0 Kudos
SergeyKostrov
Valued Contributor II
421 Views
>>...have you linked with libirc.lib? libircmt.lib also could be used.
0 Kudos
Andrew_R_3
Beginner
421 Views

 

Hi all,

Yes, good call.  However, this was the first setting I checked.  Alas, /NODEFAULTLIB is not being used.  

But I did find out which settings seemed to cause this bizarre behavior in DEBUG build only.  /FR and possible /Qstd=c99.

Hope this helps the compiler team.

Thanks,

Andrew.

 

0 Kudos
Andrew_R_3
Beginner
421 Views

 

Okay.  Found the issue.  Somehow, which I'm currently trying to understand, VS2013 is dropping the Intel system library path.

 

Thanks for all the help.

Andrew

0 Kudos
Reply