我在Ubuntu14.04 x64上运行Vivado HLS 2014.4 (x64)。在Vivado HLS 2012中,一切都能正常工作。在Vivado HLS 2014.4中,GUI和综合可以工作,但testbench的编译不能。
我收到了数以千计的这样的错误:
Building file: /home/nic30/vivado/tb_axis_test.cpp
Invoking: GCC C++ Compiler
g++ -DAESL_TB -D__llvm__ -D__kernel -D__global -Dglobal -Dlocal -D__local -Dconstant -D__constant -Dprivate -D__private -D__private -I/opt/Xilinx/Vivado_HLS/2014.4/include/ap_sysc -I/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/systemc/include -I/home/nic30/vivado -I/opt/Xilinx/Vivado_HLS/2014.4/include -I/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/auto_cc/include -I/opt/Xilinx/Vivado_HLS/2014.4/include/etc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"testbench/tb_axis_test.d" -MT"testbench/tb_axis_test.d" -o "testbench/tb_axis_test.o" "/home/nic30/vivado/tb_axis_test.cpp"
In file included from /opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/bits/stl_iterator.h:65:0,
from /opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/iterator:63,
from /home/nic30/vivado/tb_axis_test.cpp:4:
/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/type_traits.h:66:5: error: expected unqualified-id before numeric constant
/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/type_traits.h:70:24: error: ‘__if_type’ has not been declared
/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/type_traits.h:109:5: error: expected unqualified-id before numeric constant
/opt/Xilinx/Vivado_HLS/2014.4/lnx64/tools/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/type_traits.h:113:24: error: ‘__if_type’ has not been declared我认为libc6-dev-*有问题,但我不知道。我有明确的系统安装和我休眠官方安装指南。有谁遇到过类似的问题吗?
发布于 2016-11-24 21:37:29
Here部分中的Linux支持(pag.20)写得很清楚:
操作系统
Xilinx在x86和x86-64处理器体系结构上仅支持以下操作系统:
微软视窗支持
English/Japanese.
Linux支持
(64-bit)
在您的评论中,您正在使用Ubuntu 16.10。目前还不支持此功能。也许将来的版本会是。我还想说,你问题中的信息和你评论中的信息不匹配。
https://stackoverflow.com/questions/29365464
复制相似问题