在云端,看梦想

Welcome to LiZhi's Blog!

代码即文章,每个程序员都应该是个优秀的作家!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

If I import existing C++ ARM applications into SDK after the Build All or Clean All task is run in the project, error messages similar to the following appear in the SDK console:

Building target: simple_cpp_0.elf
Invoking: ARM g++ linker
arm-xilinx-eabi-g++ -Wl,-T -Wl,../src/lscript.ld -L../../cpp_bsp_0/ps7_cortexa9_0/lib -o "simple_cpp_0.elf"  ./src/main.o   -Wl,--start-group,-lxil,-lgcc,-lc,-lstdc++,--end-group
/proj/xbuilds/2013.1_0315_1/installs/lin64/SDK/2013.1/gnu/arm/lin/bin/../lib/gcc/arm-xilinx-eabi/4.7.2/../../../../arm-xilinx-eabi/bin/ld: cannot find -lxil
collect2: error: ld returned 1 exit status
make: *** [simple_cpp_0.elf] Error 1

How can I resolve this issue?

To work around this issue, right-click on the BSP in the Project Explorer view in SDK, and select Build Project as shown in the image below:

build_project.png
build_project.png
posted on 2013-09-04 16:27  三胖他爹  阅读(9107)  评论(0编辑  收藏  举报