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

NuGet intelipp.devel.win-x64.2021.10.0.660 linkage error

Alina357
Novice
948 Views

Recently I have updated the NuGet intelipp.devel.win-x64 package to the latest version 2021.10.0.660 and then I encountered a couple of LNK1181 on ippcore_tl_tbb.lib.
After a brief investigation I figured there is an error in intelipp.devel.win-x64.2021.10.0.660\build\native\intelipp.devel.win-x64.targets, the path is missing \tl folder in <AdditionalLibraryDirectories>:

 

<ItemDefinitionGroup Condition="'$(linkage-IPP-devel-win-x64)' != '' And '$(threading-IPP-devel-win-x64)' == 'tbb'">
<Link>
<AdditionalLibraryDirectories>$(MSBuildThisFileDirectory)..\..\build\native\win-x64\tl\tbb;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(linkage-IPP-devel-win-x64)' != '' And '$(threading-IPP-devel-win-x64)' == 'openmp'">
<Link>
<AdditionalLibraryDirectories>$(MSBuildThisFileDirectory)..\..\build\native\win-x64\tl\openmp;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>

 

I hope it will help other developers who have encountered the same problem, and there will hopefully be a new NuGet version with the fix.

1 Solution
Ruqiu_C_Intel
Moderator
725 Views

Hello Alina,

Thank you for the information. We understand your question now which is the missing \tl in the intelipp.devel.win-x64.targets file for tbb and openmp. We will fix it in the future release.

For your compile error, please select Sequential as threading layer instead of tbb

Ruqiu_C_Intel_0-1704878458262.png

The tbb has been deprecated in in version 2020.1, please check Intel® Integrated Performance Primitives Release Notes 

 

Best Regards,

Ruqiu

View solution in original post

0 Kudos
5 Replies
JilaniS_Intel
Moderator
908 Views

Hi,



Thanks for posting in Intel communities.


We have successfully integrated the " intelipp.devel.win-x64 " NuGet package into our Visual Studio sample project and compiled it without encountering any linker errors.


NuGet package : intelipp.devel.win-x64

Nuget version : 2021.10.0.660

Visual Studio Version : 17.9.0 Preview 1.1



We are currently utilizing MKL version "2024.0," and the "ippcore_tl_tbb.lib" file is available in our system at the below path.


Path : "\packages\intelipp.devel.win-x64.2021.10.0.660\build\native\win-x64\tl\tbb"



Kindly provide the entire project along with a sample reproducer in a zip file. This would greatly assist in identifying and resolving the issue more effectively.



Regards,

Jilani


0 Kudos
Alina357
Novice
898 Views

The NuGet installed from VS Nuget Manager. And the path in the intelipp.devel.win-x64.2021.10.0.660\build\native\intelipp.devel.win-x64.targets is :

..\..\build\native\win-x64\tbb

 without the \tl folder.

 

Unfortunately, the zip file of the entire project is too large to attach here. So I'm providing a link to the file in GDrive. The zip contains the entire project along with a sample reproducer.

 

https://drive.google.com/file/d/1LGxC3cQktJAl4Rgps72QPcKXe_-05e4Y/view?usp=sharing

 

Thank you.

0 Kudos
Ruqiu_C_Intel
Moderator
781 Views

Hello Alina,

Thanks for your reply.

We have thoroughly reviewed the project zip file you shared with us in GDrive. It has come to our attention that within the project file, there is also a folder labeled "TL." Please find the below path and  attached screenshots for the same.

 

path : C:\Users\JILANISX\OneDrive - Intel Corporation\Desktop\Nuget\TestIppApp\TestIppApp\Project1\packages\intelipp.devel.win-x64.2021.10.0.660\build\native\win-x64

Image 1: TL folder present

Ruqiu_C_Intel_0-1704694593652.jpeg

Image 2: TL > tbb > " ippcore_tl_tbb.lib "

Ruqiu_C_Intel_1-1704694593654.jpeg 

Image 3: The reproducer works well in our end.

Ruqiu_C_Intel_2-1704694665653.png

Best Regards,

Ruqiu

0 Kudos
Alina357
Novice
755 Views

Hi,

The path you have provided is right. The folder exists and the file is there. The problem is in intelipp.devel.win-x64.2021.10.0.660\build\native\intelipp.devel.win-x64.targets file. I'm not sure why you are able to compile, maybe you explicitly provided the path to the lib file, which is not the case when you install the NuGet through VS nuget manager and then it uses the .target file to provide the path to all the libs. The .target does not contain the \tl in its path so it is not compile:

Alina357_0-1704790591650.png

 

Alina357_1-1704790634408.png

 

Alina357_2-1704790754061.png

 

 

0 Kudos
Ruqiu_C_Intel
Moderator
726 Views

Hello Alina,

Thank you for the information. We understand your question now which is the missing \tl in the intelipp.devel.win-x64.targets file for tbb and openmp. We will fix it in the future release.

For your compile error, please select Sequential as threading layer instead of tbb

Ruqiu_C_Intel_0-1704878458262.png

The tbb has been deprecated in in version 2020.1, please check Intel® Integrated Performance Primitives Release Notes 

 

Best Regards,

Ruqiu

0 Kudos
Reply