Wmp100Development, it is really difficult to move forward. Although it is getting better and better, we still encounter strange problems. I cannot figure it out. I still don't know about Baidu,GoogleAnd cannot take a few bubbles. Mathematical functionsOpenI was very depressed for a while. Fortunately, we have finally solved the problem today. leave a mark here. Of coursePreferably WavecomCan outputOpenatOfFAQFor a wide range of developers, do not make these small issues a big headache.Pai_^
ToOpenatApplicationProgramFor exampleSQRT (),Cos ()First, the header file must be included.Math. hBut only this header file is included. The warning message is still displayed during the compilation link, as shown below:
Appli. C: In function 'adl _ main ':
Appli. C: 88: Warning: incompatible implicit declaration of built-in function 'qrt'
I have been searching for it online for a long time, saying that I want to add it to the link option. -LM But I don't know where to add it. Thought it was IDE From Eclipse Change Vc6.0 But still not solved. Try to modify Mak File. Finally Wavecom Found in the Development Forum 05 An old post in, which describes the solution. For Openat OS ( 6.10.05 ) To make an update.
FirstOpen at Project WizardSet"Wmnew script additional options"Input
-Inc "C: \ openat \ ide \ GCC \ 4.0.1.2 \ arm-elf \ Lib", As follows:
OpenMakFile(Math. Mak), Find the followingCode,
#----------------------------------------------------------------
# List of libraries real names to use for making binary file
#----------------------------------------------------------------
External_lib_list = \
Add the following code later,
C:/openat/IDE/GCC/4.0.1.2/ARM-elf/lib/thumb/interwork/libm. \
In this way, the compilation will not be a problem.