BOB_Sun 发表于 2024-2-27 10:25:24

【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里的"." 识别为 ",",出现编译错误。
页: [1]
查看完整版本: 【FAQ】-bsp-flow=flat模式编译OpenCL程序报错unexpected ","。