???? ??? ??????
Newbie level 3
- Joined
- Aug 1, 2014
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 20
Proteus/Arduino Compiler "No rule to make target `math.l', needed by `libraries'."
I purchased Proteus 8.1 software recently to simulate my Arduino projects , the simulator work with simple codes , but when I try to include <math.h> library the compiler won't build my project and I got the following message :
I have tried to change the compiler settings to include arduino libraries directories but the changes don't seem to effect the compiler behavior.
I have read that I must link math.h library manually in some compiler but I don't know how to do it exactly In Proteus ..
I purchased Proteus 8.1 software recently to simulate my Arduino projects , the simulator work with simple codes , but when I try to include <math.h> library the compiler won't build my project and I got the following message :
Code:
mksketch -C pro328 -N atmega328p -F 8000000 ../main.ino
[COLOR="#FF0000"]Can't copy Arduino library math[/COLOR]
make -f arduino/Makefile
...
[COLOR="#FF0000"]make[1]: *** No rule to make target `math.l', needed by `libraries'. Stop.
make: *** [main.cpp] Error [/COLOR]2
Error code 2
I have tried to change the compiler settings to include arduino libraries directories but the changes don't seem to effect the compiler behavior.
I have read that I must link math.h library manually in some compiler but I don't know how to do it exactly In Proteus ..