S32K cmake math.h

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

S32K cmake math.h

1,940件の閲覧回数
Ralphty
Contributor II

Dears:

When I am compiling an S32K project using cmake, when I add the sin() function in the math. h library, an undefined reference to 'sin' appears during the linking process. What is the reason for this.

Ralphty_0-1699429748835.pngRalphty_1-1699429768375.png

 

Thanks!!!

タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,918件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

1,903件の閲覧回数
Ralphty
Contributor II
Dear:
Thank you very much for your reply. I did not use the IDE for project construction, but instead used cmake as the construction method. I also added - lc - lm - lgcc in the link options, but still reported the above issue.
0 件の賞賛
返信

1,644件の閲覧回数
drfrefw123
Contributor I

Dear:

I have the same problem. Have you solved it?

0 件の賞賛
返信