How to create and use static library in S32 Design Studio for S32 Platform

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

How to create and use static library in S32 Design Studio for S32 Platform

481 Views
xuan
Contributor I

Hi Nxp!

Recently, I had some problems creating and using static libraries on S32DSV3.4.. I refer to guidance of HOWTO:Add a static library file into S32DS GCC projectiles https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Add-a-static-library-file-into-S...; I think I have no problem setting it up, but the following error occurs during compilation. Can you help find the cause of the problem? thank you very much

xuan_0-1673258859165.png

 

0 Kudos
Reply
2 Replies

472 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

is your library build with the same compiler version? It is possible share your library? 

 

Jiri

0 Kudos
Reply

157 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