- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day,
I recently installed HLS Compiler 24.1 together with Quartus Prime Lite 23.1std in order to do the first HLS tests.
I installed Visual Studio 2017 Community and the latest version of Microsoft Visual C++ Redistributables (2015-2022).
My OS is Windows 10 Home 10.0.19045
Trying to test an HLS example, I enter the Visual Studio console by launching the init_hls.bat file in C:\intelFPGA_lite\23.1std\hls.
It seems to detect every dependency.
Launching the build.bat of an example in test-x86-64 mode returns the following error, translated below the image:
"The procedure entry point [...] could not be located in the dynamic link library [...]."
This also happens for mathlib.dll, generationlib.dll and mip_common.dll.
I tried deleting and reinstalling HLS Compiler and deleting and reinstalling MVC++ Redistributables.
I also tried launchig build.bat in test-FPGA mode, changing the board from Arria10 to CycloneV, which returns the same error.
Below are linked two threads that inquire about similar errors, but the original poster did not share if and how it was finally resolved.
aocl-clang.exe - Entry Point Not Found - Intel Community
HLS i++ compile failure for Quartus Prime 21.1.1 Lite - Intel Community
Any suggestions on how to proceed?
Thank you in advance,
Noah
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Updated to Windows 10 Home version 22H2, the error persists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @NoahHuguenin,
Thank you for posting in Intel community forum, hope all is well and apologies for the delayed in response.
Noted on the details of the error, a quick check on the installation path, did you managed to combine the installation path for Quartus Prime Lite and Intel HLS compiler together?
Could you possible share a screenshot of the path?
Also are you able to launch quartus lite and try to create a new project with CycloneV just to test on the quartus installation?
Hope to hear from you soon.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder if there are some permission limitations with building in the 'examples' directory.
When I try to compile the counter design on my machine, it runs fine if I first copy the 'counter' directory out of C:\intelFPGA_lite\23.1std\hls\examples, and somewhere else (e.g. C:\hls_customers\forum\counter).
I've also heard of issues with mixing versions of visual studio, e.g. if you already have 2022 installed, and then try to install 2017. The recommended solution there was to remove all visual studio installations, and install the oldest one first. (e.g. first 2017, then 2022).
https://learn.microsoft.com/en-gb/previous-versions/visualstudio/visual-studio-2015/install/install-visual-studio-versions-side-by-side?view=vs-2015&redirectedfrom=MSDN
Why are you installing the visual C++ redistributables? The necessary libraries should be included with visual studio:
https://www.intel.com/content/www/us/en/docs/programmable/683680/24-1/pro-edition-prerequisites.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello and thank you for your answers.
Checking the Quartus project creation as @BoonBengT_Intel suggested, Quartus would freeze everytime a project is created.
This was fixed, as inspired by @whitepau 's suspicion, by unchecking the "Read Only" attribute from the intelFPGA_Lite folder.
However, the error in HLS example remains even when copying the example to a different folder.
Perhaps it is not due to permissions, since the error seems to occur when readign the .dll files anyways.
To answer your other questions:
C:\intelFPGA_lite\23.1std\hls is the installation path of HLS within the Quartus Lite folder. Below is a screenshot of the folder.
I assumed the combiled installation worked correctly, since running init_hls.bat seems to indicate that all dependencies (including Quartus) are found correctly.
As for Microsoft Visual Studio, I only have the 2017 version. I didn't know the redistributables were already included!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should have everything you need by installing visual studio 2017 along with the C++ support. Make sure everything is updated (here is the working configuration I have):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked the Visual Studio installation and everything seems to be updated.
Just in case, I let the Visual Studio installer add the C++ redistributables instead of installing them separately, but the error in HLS compilation remains the same
![](/skins/images/BC9A7A3465121B56B278007F4EE8899F/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page