Forum Discussion

tim4's avatar
tim4
Icon for New Contributor rankNew Contributor
5 years ago
Solved

Can not run HLS example "QRD"

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.

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?

  • i use other command window, problem is solve.

3 Replies

  • tim4's avatar
    tim4
    Icon for New Contributor rankNew Contributor

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

    • tim4's avatar
      tim4
      Icon for New Contributor rankNew Contributor

      i use other command window, problem is solve.

  • AnilErinch_A_Intel's avatar
    AnilErinch_A_Intel
    Icon for Frequent Contributor rankFrequent Contributor

    Hi ,

    Good to know that the issue is resolved.

    Thanks for sharing the solution to community.

    Thanks and Regards

    Anil