Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
663 Discussions

Can not run HLS example "QRD"

tim4
Novice
1,415 Views

Hi, 

I tried to run the example "QRD":

cd C:\intelFPGA\18.1\hls

.\init_hls.bat

cd C:\intelFPGA\18.1\hls\examples\QRD

.\build.bat test-x86-64

 

i++ -ffp-contract=fast -ffp-reassoc -march=x86-64 MGS.cpp QRD_Testbench.cpp TestbenchHelpers.cpp -o test-x86-64.exe
In file included from MGS.cpp:4:
In file included from ./MGS.h:7:
In file included from C:/intelFPGA/18.1/hls/include\HLS/hls.h:22:
In file included from C:/intelFPGA/18.1/hls/include\HLS/internal/_stream.h:17:
C:/intelFPGA/18.1/hls/include\HLS/internal/_hls.h:37:10: fatal error: 'type_traits' file not found
#include <type_traits>
         ^~~~~~~~~~~~~
1 error generated.
HLS x86-64 compile FAILED.
Run test-x86-64.exe to execute the test.

 

註解 2021-01-15 105930.jpg

 

I'm using:

Quartus Prime 18.1 Standard Edition

HLSProSetup-20.4.0.72-windows

VS 2017

Win 10 64Bit

following this user guide: https://www.intel.com/content/www/us/en/programmable/documentation/ewa1462479481465.html#ewa1462816501221

 

and i found the similar problem:

https://community.intel.com/t5/Intel-High-Level-Design/Cannot-run-HLS-Compile-example-quot-counter-quot/m-p/683928#M480

I have already check my windows MSVC2017 register entry point, that is correct. 

 Any suggestions about this problem?

0 Kudos
1 Solution
tim4
Novice
1,399 Views

註解 2021-01-15 170514.jpg

 

i use other command window, problem is solve.

 

View solution in original post

0 Kudos
3 Replies
tim4
Novice
1,404 Views

upgrade my Quartus to Quartus Prime Pro 20.4, the issue still exists. any suggestions?

擷取.PNG

 
0 Kudos
tim4
Novice
1,400 Views

註解 2021-01-15 170514.jpg

 

i use other command window, problem is solve.

 
0 Kudos
AnilErinch_A_Intel
1,343 Views

Hi ,

Good to know that the issue is resolved.

Thanks for sharing the solution to community.

Thanks and Regards

Anil


0 Kudos
Reply