MyFPGA Forum

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

【FAQ】执行make时提示The system cannot find the file specified

[复制链接]
发表于 2021-4-19 14:46:55 | 显示全部楼层 |阅读模式
本帖最后由 Doreen 于 2021-4-21 09:43 编辑

Q:当参考DE1-SOC的My-First-HPS 案例https://rocketboards.org/foswiki ... PS.pdf?t=1471001068测试, 执行make 时 提示:

FORGE-15R@DESKTOP-F3GK138 ~
$ cd C:/Users/FORGE-15R/Documents/DE1-SoC_v.3.1.3_HWrevC_revD_SystemCD/Demonstrations/SoC/my_first_hps

FORGE-15R@DESKTOP-F3GK138 ~/Documents/DE1-SoC_v.3.1.3_HWrevC_revD_SystemCD/Demonstrations/SoC/my_first_hps
$ make
arm-linux-gnueabihf-gcc -g -Wall  -I C:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include -c main.c -o main.o
process_begin: CreateProcess(NULL, arm-linux-gnueabihf-gcc -g -Wall -I C:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include -c main.c -o main.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [main.o] Error 2

A:

DE1-SOC 的 案例当时是用的13.x版本去设计的,一开始怀疑是版本问题造成的不兼容,

image_2021_04_19T06_48_14_632Z.png

如果使用20.1版本软件的话,恐怕这个makefile文件内容要进行修改, 于是参考DE10-Nano的高版本 makefile内容:

image_2021_04_19T06_58_33_891Z.png

(截图来自 DE10-Nano_v.1.2.5_HWrevB2_SystemCD\Manual\My_First_HPS.pdf 第7页。)

结果还是不行,最后发现是软件没有安装好, 卸载软件,重新安装,重启,然后一切正常了。

我用18.1的 SOC EDS 测试DE10-Nano的17.x的 demo:

ecnkflfdolkpakfa.png

我用18.1 SOC EDS 测试13.0 的 demo:

企业微信截图_16189689574242.png

说明不存在版本兼容的问题,而是软件安装的问题。

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|MyFPGA

GMT+8, 2024-3-29 09:23 , Processed in 0.043674 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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