Hi @pb8948 ,
这个报错应该是因为工程缺失定义xf_NPPC1,xf_NPPC8的数据类型的头文件。
Xilinx XfopenCV GitHub中以下路径包含该头文件 xfopencv/include/common/xf_types.h
添加进去应该就不会报错了。
template<> struct xfNPixelsPerCycle<XF_NPPC1> { static const int datashift = 0; static const int nppc = 1; };
template<> struct xfNPixelsPerCycle<XF_NPPC2> { static const int datashift = 1; static const int nppc = 2; };
template<> struct xfNPixelsPerCycle<XF_NPPC4> { static const int datashift = 2; static const int nppc = 4; };
template<> struct xfNPixelsPerCycle<XF_NPPC8> { static const int datashift = 3; static const int nppc = 8; };
另,可否修改一下帖子的主题,vivado HLS 是软件名称,简要描述一下问题,方便论坛里其他社区成员查阅。
谢谢,
Wen
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------