can i add a .lib file on the project of S32DS for arm ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

can i add a .lib file on the project of S32DS for arm ?

1,268件の閲覧回数
jinhui_wu
Contributor III

i want to add a .lib file on my project about S32K144.

what i should do ?

0 件の賞賛
返信
2 返答(返信)

1,022件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi,

Just a comment to the name of added library.

GCC/linker expects the default library <name> : lib<name>

if there is a different prefix than "lib" please add ":" as a leading character.

pastedImage_1.png

real library file nameGCC Libraries dialog - Enter Value dialog
libmy_math.a
my_math.a
my_math.a
:my_math.a

Regards,

Stan

0 件の賞賛
返信

1,022件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hello, 

right click on your project name in the Project explorer -> Properties -> C/C++ Build -> Settings -> Libraries 

Click on add icon in libraries text area and type your_library.lib. If your_library.lib is not in the default library search path - you should also add path to your library. 

pastedImage_1.png

Jiri

0 件の賞賛
返信