- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
The tbb has been deprecated in in version 2020.1, please check Intel® Integrated Performance Primitives Release Notes
Best Regards,
Ruqiu
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Image 2: TL > tbb > " ippcore_tl_tbb.lib "
Image 3: The reproducer works well in our end.
Best Regards,
Ruqiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
The tbb has been deprecated in in version 2020.1, please check Intel® Integrated Performance Primitives Release Notes
Best Regards,
Ruqiu
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page