Description
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++ linkerarm-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 -lxilcollect2: error: ld returned 1 exit statusmake: *** [simple_cpp_0.elf] Error 1How can I resolve this issue?
Solution
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: