How the project is configured when referencing the lib library
08-10-2022
07:36 PM
948件の閲覧回数
LiuJie_Joynext
Contributor I
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
2 返答(返信)
08-12-2022
08:21 AM
937件の閲覧回数
mikedoidge
NXP Employee
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
04-16-2024
06:35 PM
482件の閲覧回数
NXP2
Contributor I
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
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.