Zynq --- SDK - Cannot compile ARM application on Windows 7 64-bit or Linux 64-bit OS

If I attempt to compile any application on a Zynq device in SDK, the following error occurs on the console:

Running libs - 'make -s libs "COMPILER=arm-xilinx-eabi-gcc"
"ARCHIVER=arm-xilinx-eabi-ar" "COMPILER_FLAGS= -O2 -c"
"EXTRA_COMPILER_FLAGS=-g"'.
"Compiling common"
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -I../../../include *.c, ...) failed.
make (e=2): The system cannot find the file specified.

This is a known issue, the nt64/lin64 folder has been removed in the EDK install directory.

To work around this issue, avoid using the Launch SDK option in the PlanAhead or Vivado tools.

Instead, launch SDK manually using one of the following options:

  • Launch SDK directly from the installation directory  <install_dir>\14.4\ISE_DS\EDK\bin\nt64\xsdk.exe (or)
  • Launch SDK from the Desktop Shortcut (or)
  • Launch SDK from the Start Menu Shortcut (or)
  • Launch SDK after sourcing the environment
    • Open a Command Prompt
    • Source the settings file (<install_dir>\14.4\ISE_DS\settings64.bat)
    • Launch SDK using the xsdk command

Or, you can copy the nt/lin folder at: <install_dir>\14.4\ISE_DS\EDK\gnu\arm

Paste it, and rename it to nt64/lin64:

Then, run the application again and it should compile correctly.

转载于:https://www.cnblogs.com/lizhi0755/p/3299181.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值