MyFPGA Forum

标题: 【FAQ】-bsp-flow=flat模式编译OpenCL程序报错unexpected ","。 [打印本页]

作者: BOB_Sun    时间: 2024-2-27 10:25
标题: 【FAQ】-bsp-flow=flat模式编译OpenCL程序报错unexpected ","。
Q:用flat compilation mode(-bsp-flow=flat)编译自己的DE10-Agilex OpenCL设计,提示Error (332000): unexpected "," outside function argument list,请问这是哪里有问题?


A:检查下Host PC/Server的系统语言设置,设置为English;系统语言不同, 可能会把code里的"." 识别为 ",",出现编译错误。




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3