|
本帖最后由 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版本去设计的,一开始怀疑是版本问题造成的不兼容,
如果使用20.1版本软件的话,恐怕这个makefile文件内容要进行修改, 于是参考DE10-Nano的高版本 makefile内容:
(截图来自 DE10-Nano_v.1.2.5_HWrevB2_SystemCD\Manual\My_First_HPS.pdf 第7页。)
结果还是不行,最后发现是软件没有安装好, 卸载软件,重新安装,重启,然后一切正常了。
我用18.1的 SOC EDS 测试DE10-Nano的17.x的 demo:
我用18.1 SOC EDS 测试13.0 的 demo:
说明不存在版本兼容的问题,而是软件安装的问题。
|
|