I'm trying to make a CW project mixing C with asm ,and the following error always appear when debugging:
Link error L1822 symbol _FSFLOAT in Tcp_demo.c.o is undefined..
the problem is that I don't find this (_FSFLOAT) in the file Tcp_demo.c at all!!
also there're other three errors including symbols _FDIV, _FSTRUNC which are also in the same file (Tcp_demo.c.o) while I don't find them in this file and I also i don't know them or ever met them before?!!!!
Please help me I don't understand what to do!!
thank your very much!, you seems to touch the problem exactly..
really, in the project wizard I unhappily chose floating point format supported to be NONE!!!
it seems that in program calculations the compiler needed this real time functions but didn't find them..
I tried to insert math.h but the same error occurs!
I want to keep my project and not creating a new one, it's very hard for me!, I also want to know how to insert libraries properly e.g how to insert math library in steps??
Another question, and execuse me for my questions storm as I'm a beginner in both CW and C programming!, How to take square roots for two added squared one byte variables (i always define them as char ) i.e char a;
I knew that sqrt only works for double (may be i'm wrong), but how to use it here????????
by the way this is the core of my first problem!!
Thanx in advance