Hi Anil,
I can't seem to see my earlier responses so I'm not sure where they went.
I'm using Ubuntu 18.04 and I've not tried using GCC 4.8 and 7, which are both leading to the same error as shown below:
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/4.8/../../../../include/c++/4.8/queue:59:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/deque:59:
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algobase.h:59:10: fatal error:
'bits/c++config.h' file not found
#include <bits/c++config.h>
^
I've tried googling the solution and they suggested to install the mutlilib libraries, and I've done that and it has no impact on the outcome. If you can suggest anything it would be very helpful.
Kind Regards,
Mayank Surana