-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
max_align_t problem #5
Comments
I met the same problem. I added #include and the problem was solved. There's no problem with the SDSoC. |
But I have the problem since #include with the sdsoc.
There is error,
发自我的 iPhone
… 在 2017年8月17日,14:36,MinLi ***@***.***> 写道:
I met the same problem. I added #include and the problem was solved. There's no problem with the SDSoC.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Pragma processor failed: In file included from /home/songqingzeng/bnn-fpga-master/cpp/accel/Accel.cpp:1:
the Accel.cpp :1
is "#include "
发自我的 iPhone
… 在 2017年8月17日,14:36,MinLi ***@***.***> 写道:
I met the same problem. I added #include and the problem was solved. There's no problem with the SDSoC.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@qingzengsong @MinLiAmoy |
Looking online, the solution is to do |
I added #include <cstddef> in every .cpp file in both utils and accel. It seems work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when mak in cpp,I have a problem ‘’max_align_t‘’.
In file included from /opt/Xilinx/SDx/2016.4/Vivado_HLS/include/gmp.h:53:0,
from /opt/Xilinx/SDx/2016.4/Vivado_HLS/include/floating_point_v7_0_bitacc_cmodel.h:143,
from /opt/Xilinx/SDx/2016.4/Vivado_HLS/include/hls_half.h:40,
from /opt/Xilinx/SDx/2016.4/Vivado_HLS/include/ap_int.h:28,
from ../utils/Typedefs.h:4,
from AccelTest.h:4,
from AccelTest.cpp:1:
/usr/include/c++/5/cstddef:51:11: error: ‘::max_align_t’ has not been declared
using ::max_align_t;
^
I add #include to
ParamIO.cpp
Common.cpp
DataIO.cpp
AccelTest.cpp
can solve this problem.
But, this wether lead other problem, since
'ParamIO.cpp
Common.cpp
DataIO.cpp
AccelTest.cpp'
will be build by Vivado_HLS?
The text was updated successfully, but these errors were encountered: