Proteus/Arduino Error code 2 - "Can't copy Arduino library math.h"

Status
Not open for further replies.

enokoner

Newbie level 2
Joined
Jun 25, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
13
[AVR] Proteus/Arduino Error code 2 - "Can't copy Arduino library math"

I'm trying to include the math.h functions and it can't copy the file.


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 can include Servo.h and it creates the appropriate files in the temp project folder. Where does it pull the Servo library from?


Thank you!
 
Last edited:

btw. I am running on windows 7. I think all I have to do it point Proteus to the right directory. However, I have no idea how to do that...
 

Re: [AVR] Proteus/Arduino Error code 2 - "Can't copy Arduino library math"


I'm having the same problem , did you manage to solve it ?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…