Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16802 Discussions

HLS i++ compile failure for Quartus Prime 21.1.1 Lite

tpalomaki
Novice
2,077 Views

in the HLS examples in folder: hls\examples\counter

command line: "build test-fpga"

command output:"

i++ -march=CycloneV counter.cpp -o test-fpga.exe
HLS Testbench parse FAILED.
Run test-fpga.exe to execute the test."

 

Issue 1) aocl-clang.exe dll related errors (the procedure entry point, dspba\windows64\dsdk.dll, mathlibdll, generationlib.dll, mip_common.dll)

Issue 2) same issues with command line "build test-x86-64"

Issue 3) -march=Arria10, does not work with quartus prime lite, CycloneV works  better

edit: 

do you have an issue with windows 11, and also you should support the latest visual studio 2022. currently on win11 but with with the documented visual studio 2017.

0 Kudos
9 Replies
BoonBengT_Intel
Moderator
2,034 Views

Hi @tpalomaki,


Thank you for posting in Intel community forum and hope all is well.

My guess is the sourcing of the HLS component are incomplete, or the VS studio version are incorrect in your environment.

Hence would suggest to run the init_hls.bat to check on the environment.


As for the VS support currently the latest support are for the version 2017 on hls pro version

Hope that clarify.


Best Wishes

BB


0 Kudos
tpalomaki
Novice
2,026 Views

no, the init_hls.bat (ran it as admin on windows 11) did not help, still the same "dll entry point not found" issue, win11 ~= win10.
All INFO points are being found by the script. That should work but it does not. not very robust. Shatters very easily like glass.

 

all software (like dgpu drivers) should work out of the box, no user configuration needed, if you want to be high quality. not all are engineers.

all other components are the suggested (vs2017, win11), but all the latest tool versions should be supported.

if you need support service setting things up, the software is not complete.

0 Kudos
BoonBengT_Intel
Moderator
2,013 Views

Hi @tpalomaki,


Apologies for the inconvenient cause, it would be a great help if you are able to provide us with a screenshot of the output when running the init_hls.bat for further troubleshooting.

And what would be the build version that your Window 11 are having? Im in the mids of contacting the platform team to confirm on the supportability.

Looking forward hearing from you.


Best Wishes

BB


0 Kudos
tpalomaki
Novice
2,007 Views

seems like the error points to different direction than the compiler was instructed to look in, the "host" directory is missing in the error.


0 Kudos
tpalomaki
Novice
1,988 Views

An additional bug to report (quartus prime lite 21.1.1 recent version).

 

When you create new project, then go into the folder selection, the whole program crashes, but when you directly type the path into the path box, then it will work and make the new project, pressing the path directory location button will crash after it has opened and shown the location almost immediately.

 

Hope this helps you to track down this problem.

0 Kudos
BoonBengT_Intel
Moderator
1,948 Views

Hi @tpalomaki,


Thank you for the patients, after some alignment internally we understand that the Intel Quartus lite and Intel HLS are only supported until Windows 10. Our engineering team are still evaluating the windows 11 OS support as part of the release cycle. (More details can be found in the link : https://www.intel.com/content/www/us/en/support/programmable/support-resources/design-software/os-support.html)

Unfortunately there is no confirm timeline for this, but tentatively the evaluation are for 22.3 cycle.


Apologies for the inconvenient cause, there might be some anomaly as you noted, we will be raising this during the evaluation period, hence for now it would be best effort support.

That said would recommend on the following steps to try below:

- Please do try on the steps mention by Microsoft to see if it helps. (https://docs.microsoft.com/en-us/answers/questions/773733/svchostexe-entry-point-not-found.html)

- There seems to be some path corruption, recommend to try uninstalled and delete the program registry followed by reinstallation to see if that work.

- Worse case if possible please do try to perform a factory reset on the Windows 11 machine and reinstall.


Hope that clarify.


Regards

BB


0 Kudos
BoonBengT_Intel
Moderator
1,941 Views

Hi @tpalomaki,


Greetings, just checking in to see if there is any further doubts in regards to this matter.

Hope we have clarify your doubts.


Best Wishes

BB


0 Kudos
BoonBengT_Intel
Moderator
1,927 Views

Hi @tpalomaki,


Greetings, as we do not receive any further clarification/updates on the matter, hence would assume challenge are overcome, and will no longer monitor this thread. For new queries, please feel free to open a new thread and we will be right with you. Pleasure having you here.


Best Wishes

BB


0 Kudos
tpalomaki
Novice
1,769 Views

now on win10/vs2017 current:
these two messages should never appear (remove any online/download license requirements from free products, "does not require a license", so why does it require then):

vsim: (even if the online provided license file has been correctly entered in quartus prime license prompt and LM_LICENSE_FILE environment variable).
"Unable to checkout a viewer license necessary for use of the Questa Intel Starter FPGA Edition graphical user interface. Vsim is closing."

also conflicting setup in init_hls.bat and build.bat in examples, linker in PATH or not:
"HLS Elaborate verification testbench FAILED. See c:/projects/examples/tutorials/ac_datatypes/ac_fixed_constructor/tutorial-fpga.prj/debug.log for details. Error: Cosim testbench elaboration failed."
"Error: i++: Can't find the Microsoft linker LINK.EXE. Make sure your Visual Studio is correctly installed and that it's linker can be found."
"c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\bin\hostx64\x64\link.exe : fatal error LNK1107: invalid or corrupt file: cannot read at 0x300"

Error: Missing simulator license for C:\intelFPGA_lite\22.1std\questa_fse\win64\vsim.exe. Either:
1) Ensure you have a valid ModelSim license
2) Use the --simulator none flag to skip the verification flow

cmd>lmutil lmdiag (for "no license required product", also none of the software should require administrative access console):

lmutil - Copyright (c) 1989-2019 Flexera. All Rights Reserved.
FlexNet diagnostics on Sat 12/3/2022 03:58

-----------------------------------------------------
License file: C:\intelFPGA_lite\22.1std\licenses\LR-******_License.dat
-----------------------------------------------------
"intelqsimstarter" v2023.12, vendor: mgcld, expiry: 2-dec-2023
vendor_string: 2FE1606B
uncounted nodelocked license, locked to ethernet address "********2c" starts: 2-dec-2022, expires: 2-dec-2023

This license cannot be checked out because:
Cannot checkout an uncounted license within a Windows Terminal Services guest session.
Feature: intelqsimstarter
License path: C:\intelFPGA_lite\22.1std\licenses\LR-********_License.dat;
FlexNet Licensing error:-103,577
-----------------------------------------------------

edit: using of "lmutil lmdiag" and "vsim" works only locally, not over a rdp session (when license is double copied to c:\flexlm\license.dat & the LM_LICENSE_FILE path).

0 Kudos
Reply