MyFPGA Forum

 找回密码
 注册
搜索
查看: 1583|回复: 0

【FAQ】编译hello_world内核,报错找不到VisualStudio linker LINK.EXE

[复制链接]
发表于 2023-4-10 15:26:18 | 显示全部楼层 |阅读模式
Q:Windows系统环境中,在aoc命令中加 -march=emulator 编译DE5-Net v16.1 OpenCL BSP里的hello_world内核程序,报错提示can't find VisualStudio linker LINK.EXE,这要如何解决?
hello_world_1.jpg
A:这是OpenCL的仿真环境设置不正确,需要将LIKE.EXE的路径添加到PATH环境变量中,例如将C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin添加到PATH(具体以用户的实际路径来添加)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|MyFPGA

GMT+8, 2024-3-29 03:47 , Processed in 0.043888 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表