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.
Link Copied
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
Hi, I managed to fix the problem by changing the Runtime Library from /MD to /MT
Thanks
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
For more complete information about compiler optimizations, see our Optimization Notice.