AnsweredAssumed Answered

Linker Error While Building usbd_lib_hid_keyboard

Question asked by Alican Çeviker on Aug 2, 2019
Latest reply on Aug 6, 2019 by ZhangJennie

I have imported LPC open examples but when i try to build the hid keyboard example for LPC1769 i get the following error. How can i resolve this issue.

18:10:39 **** Incremental Build of configuration Debug for project usbd_lib_hid_keyboard ****
make -r -j12 all


Building target: usbd_lib_hid_keyboard.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"C:\Users\yugio\Documents\MCUXpressoIDE_10.3.1_2233\workspace\lpc_chip_175x_6x\libs" -Xlinker -Map="usbd_lib_hid_keyboard.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "usbd_lib_hid_keyboard_Debug.ld" -o "usbd_lib_hid_keyboard.axf" ./example/src/cr_startup_lpc175x_6x.o ./example/src/hid_desc.o ./example/src/hid_keyboard.o ./example/src/hid_main.o ./example/src/ms_timer.o ./example/src/sysinit.o -llpc_board_nxp_lpcxpresso_1769 -llpc_chip_175x_6x -lusbd_175x_6x_lib
c:/nxp/mcuxpressoide_10.3.1_2233/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -llpc_board_nxp_lpcxpresso_1769
c:/nxp/mcuxpressoide_10.3.1_2233/ide/plugins/com.nxp.mcuxpresso.tools.win32_10.3.0.201811011841/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -llpc_chip_175x_6x
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:32: usbd_lib_hid_keyboard.axf] Error 1

Outcomes