Forum Discussion
Hi ,
Can you include the path to your include directory also like shown below, and also include additional compiler options
as given below and let us know the results.
i++ -I/home/YourPath/intelFPGA/18.1/hls/include --fpc --fp-relaxed --debug-log -v -march=x86-64 counter.cpp -o test-x86-64
Please try to run it from the terminal without including in the makefile , i.e directly and also including in the makefile. Please let us know the results of each.
Thanks and Regards
Anil
Hi,
As requested I ran the command that you suggested with the given options and this is the result.
i++ -I/opt/intelFPGA/18.1/hls/include --fpc --fp-relaxed --debug-log -v -march=x86-64 counter.cpp -o test-x86-64
Target FPGA part name: 10AX115U1F45I1SG
Target FPGA family name: Arria 10
Target FPGA speed grade: -1
Analyzing counter.cpp
In file included from counter.cpp:1:
In file included from /opt/intelFPGA/18.1/hls/include/HLS/hls.h:11:
In file included from /opt/intelFPGA/18.1/hls/include/HLS/hls_internal.h:5:
In file included from /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/queue:59:
In file included from /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/deque:59:
/usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_algobase.h:59:10: fatal error:
'bits/c++config.h' file not found
#include <bits/c++config.h>
^
1 error generated.
HLS x86-64 compile FAILED.
I'm not sure about this issue and I've tried to google for it but it's not fixing the issue. Do you have any suggestions?
regards,
Mayank