floating point error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
635件の閲覧回数
junesikkim
Contributor I

i'm using codewarrior ver 10.6 and MCU5606B dev board for intelligent car

i need to use floating point because i'll use IMU sensor & PID controll

so I add "include <float.h>" , plus arithmetic operation(a=a+5; , declare float a) and  lib path  but error occured like below  

25752_25752.JPGerror.JPG

 

please advise how can i solve this problem?

ラベル(1)
0 件の賞賛
1 解決策
511件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Is the runtime library added into the project?  Please see the screenshot in below for the necessary libraries for a Qorivva project.

lib files.png

I also attached a simple project in my test, it builds well in CW10.6.

If this does not help, please attach a simple project to help us reproduce the error. Thanks!

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
512件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Is the runtime library added into the project?  Please see the screenshot in below for the necessary libraries for a Qorivva project.

lib files.png

I also attached a simple project in my test, it builds well in CW10.6.

If this does not help, please attach a simple project to help us reproduce the error. Thanks!

0 件の賞賛
512件の閲覧回数
junesikkim
Contributor I

thank you advice. i modified setting and just occured warining after adding the library

0 件の賞賛
511件の閲覧回数
junesikkim
Contributor I

Thank you for your advice. But but that method isn't solution to me.

That method is using code warrior project. My project was made via RAppid.

Please let me know about the floating point calculation using RAppid.

Please answer. Thank you~

0 件の賞賛