Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ziglar
Beginner
89 Views

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

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
54 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

 

ziglar
Beginner
34 Views

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

Thanks

GouthamK_Intel
Moderator
11 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