Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel ICX Compiler , Intel® DPC++ Compatibility Tool, and GDB*
581 Discussions

undefined symbol: __declspec(dllimport) __svml_hypot16/32/64

ziglar
Beginner
1,884 Views

I am trying to build and analyse a VS2019 project using DPC++ 2021.1 and get the following errors during linking:

undefined symbol: __declspec(dllimport) __svml_hypot16

undefined symbol: __declspec(dllimport) __svml_hypot32

undefined symbol: __declspec(dllimport) __svml_hypot64

This project build and runs just fine under VS2019 16.8.4.

The only thing that may be significant is that the project uses Boost ublas.

0 Kudos
3 Replies
GouthamK_Intel
Moderator
1,849 Views

Hi,

Thanks for reaching out to us!

>>"I am trying to build and analyse a VS2019 project using DPC++ 2021.1 and get the following errors during linking:"

Could you please let us know the exact version of VS2019 and BOOST that you are using?

Also, please share the steps to reproduce along with the source code if possible? So that we can investigate more on your issue.

 

Thanks & Regards

Goutham

 

0 Kudos
ziglar
Beginner
1,829 Views

Hi, I managed to fix the problem by changing the Runtime Library from /MD to /MT

Thanks

0 Kudos
GouthamK_Intel
Moderator
1,806 Views

Hi,

Thanks for the confirmation!

As this issue has been resolved, we will no longer respond to this thread. 

If you require any additional assistance from Intel, please start a new thread. 

Any further interaction in this thread will be considered community only. 

Have a Good day.


Thanks & Regards

Goutham


0 Kudos
Reply