Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

LNK2001 Error

ysyoon
Beginner
523 Views
When I use IPP eMVC++, I have below error, which wasn't in Microsoft compiler.
error LNK2001: unresolved external symbol __divsi3
Is there someone who can solve this?
Thank you.
0 Kudos
5 Replies
Vladimir_Dudnik
Employee
523 Views
Hi,
could you provide more details? What you are tried to compile?
Regards,
Vladimir
0 Kudos
ysyoon
Beginner
523 Views
I made a dll which hooks data from an audio driver in PXA250 machine. At first, I did everything using eMVC++4.2 and currenty tried to compile it and compare it with MS compiler. As soon as I run Intel compiler for eMVC++ 4.2 I had this message and no more advance.
I think it is more like intel compiler problem rather than IPP.
Thank you.
0 Kudos
Vladimir_Dudnik
Employee
523 Views
You can search for this symbol in libraries which comes with Intel compiler, probably you need to link some additional libraries when you use Intel compiler.
Regards,
Vladimir
0 Kudos
ysyoon
Beginner
523 Views
Thank you Vladimir.
I tried to include in my project which was explained as in their help file. Below is the code from the IPP C++ compiler help file. But still have same problem. I have no idea why it happened.
#include

int main(void)
{
long long x = -7, y = -2;

printf("The value of integer %ld / %ld is %ld ", x, y, __divsi3(x, y));

return 0;
}

Message Edited by ysyoon@hotmail.com on 03-30-2005 08:06 AM

0 Kudos
Vladimir_Dudnik
Employee
523 Views
Hi,
no, I think you need to link you application with some library which comes with Intel compiler, something like libm.lib or so one. You can search _divsi3 symbol in LIB folder where compiler installed to find in which lib it is defined.
Regards,
Vladimir
0 Kudos
Reply