You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an error when I try to synthesize the C HLS using Vivado HLS 2016.4.
It seems that when compiling with `std=c++0x or std=c++11' causes this error.
Pragma processor failed: In file included from hls_target.cpp:1: In file included from ./hls_target.h:7: In file included from C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/include\hls_stream.h:79: In file included from C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/win64/tools/clang/bin\..\lib\clang\3.1/../../../include/c++/4.5.2\queue:60: In file included from C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/win64/tools/clang/bin\..\lib\clang\3.1/../../../include/c++/4.5.2\deque:61: In file included from C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/win64/tools/clang/bin\..\lib\clang\3.1/../../../include/c++/4.5.2\bits/allocator.h:48: In file included from C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/win64/tools/clang/bin\..\lib\clang\3.1/../../../include/c++/4.5.2/x86_64-w64-mingw32\bits/c++allocator.h:34: In file included from C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/win64/tools/clang/bin\..\lib\clang\3.1/../../../include/c++/4.5.2\ext/new_allocator.h:33: In file included from C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/win64/tools/clang/bin\..\lib\clang\3.1/../../../include/c++/4.5.2\new:41: In file included from C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/win64/tools/clang/bin\..\lib\clang\3.1/../../../include/c++/4.5.2\exception:150: C:/cadappl/Vivado/2016.4/Vivado_HLS/2016.4/win64/tools/clang/bin\..\lib\clang\3.1/../../../include/c++/4.5.2\exception_ptr.h:132:13: error: unknown type name 'type_info' const type_info* ^ In file included from hls_target.cpp:1:
When I tried to remove the std=c++0x, I got an error related to static_assert() which is not supported.
I don't if this happens only in Vivado HLS 2016.4 or not.
Is it better to remove the static_assert and change it with something else? Or is there any configuration that I missed in order to properly compile the hls_stream.h?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi @jingpu ,
I have an error when I try to synthesize the C HLS using Vivado HLS 2016.4.
It seems that when compiling with `std=c++0x or std=c++11' causes this error.
When I tried to remove the
std=c++0x
, I got an error related to static_assert() which is not supported.I don't if this happens only in Vivado HLS 2016.4 or not.
Is it better to remove the static_assert and change it with something else? Or is there any configuration that I missed in order to properly compile the hls_stream.h?
Thanks.
The text was updated successfully, but these errors were encountered: