How the project is configured when referencing the lib library

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How the project is configured when referencing the lib library

606 Views
LiuJie_Joynext
Contributor I

We are using the chip of S32K314 for development.

When we need to reference the lib library, we don't know how to configure the name of the library in the following configuration to ensure that the compilation passes (C/C++ Build→Settings→Libraries).

For example, the name of the library is libe2e.a, and we cannot configure it as "e2e" or "libe2e".

Please help confirm how this part should be configured, thank you.

0 Kudos
Reply
2 Replies

595 Views
mikedoidge
NXP Employee
NXP Employee

Hello @LiuJie_Joynext,

We have an article which you may find useful for this topic:

HOWTO: Add a static library file into S32DS GCC project

Hope it helps,

Mike

0 Kudos
Reply

140 Views
NXP2
Contributor I
Hello, I follow the normal methods of generating and adding static libraries. When I added static libraries, the following error appeared. May I ask what caused it?

Building target: BMS_2_2.elf
Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "BMS_2_2.elf" "@BMS_2_2.args"
arm-none-eabi-gcc.exe: error: : No such file or directory
make: *** [makefile:86: BMS_2_2.elf] Error 1
"make -j16 all" terminated with exit code 2. Build might be incomplete.
0 Kudos
Reply