- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Health Thermometer compiles ok with Simulate_Temperature_Sensor is set to 0u. When its changed to 1u there are compile errors. See screen shot attached.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Frederick,
The project seems to be missing the link to math.c/.h files, where the above functions in questions are defined. Check if your project has the custom flag set to enable linking to math functions. For this, go to your project name in Workspace -> Right Click on the project name -> Select Build Settings -> Go to Linker -> Command Line -> Add <-lm> to custom flags -> Select OK -> Rebuild project.
Where is this project located?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Frederick,
The project seems to be missing the link to math.c/.h files, where the above functions in questions are defined. Check if your project has the custom flag set to enable linking to math functions. For this, go to your project name in Workspace -> Right Click on the project name -> Select Build Settings -> Go to Linker -> Command Line -> Add <-lm> to custom flags -> Select OK -> Rebuild project.
Where is this project located?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content