Failing to link external library

Will make GCC search for a library with the name libUSBPDCORE_PD3_CONFIG_1_CM4_wc32.a. Your file is however called USBPDCORE_PD3_CONFIG_1_CM4_wc32.a, so that won’t work – renaming the file is the easiest I think.

Otherwise refer to gcc - How to link to a shared library without lib* prefix in a different directory? - Stack Overflow and linker - How do I link a library file in GCC that does not start with lib? - Stack Overflow.

1 Like