Error compiling with DS18B20 example: pgmspace mis

9 years 6 months ago #1761 by edmund1
Please Help
Error compiling with DS18B20 example:
C:\Users\Edmund\AppData\Local\Temp\build2920793040046447445.tmp\base64\Base64.cpp.o
C:\Users\Edmund\Documents\Arduino\libraries\arduino-base64-master\Base64.cpp:2:26: fatal error: avr/pgmspace.h: No such file or directory
#include <avr/pgmspace.h>
^
compilation terminated.


pgmspace.h is in the folder :
D:\_Programme\_Entwicklung\arduino-1.6.4-windows\arduino-1.6.4\hardware\tools\avr\avr\include\avr
Libs from the comment in the example (adamvr and milesburton
The other examples from ESP8266 (ESP8266 Arduino IDE, without Arduino), like blink, wifi relay work fine.
Any ideas? thanking you in anticipation!

Please Log in or Create an account to join the conversation.

9 years 6 months ago #1773 by asm7100
The problem has been there before, make a search for base64
:-)

//
Allan

Please Log in or Create an account to join the conversation.

9 years 6 months ago - 9 years 6 months ago #1814 by zyrotron
I had the same problem. For some reason base64 doesn't find the file although it is there. I copied the library from the Arduino installation directory to my libraries folder and removed the "avr/" part in the include command. After that I managed to compile the code successfully.

Please Log in or Create an account to join the conversation.

9 years 6 months ago #1816 by piman
You can try this base64, which is working for me now, on the latest Arduino IDE, before trying remember to remove all previous versions from your library.
Attachments:
The following user(s) said Thank You: zyrotron, chard62

Please Log in or Create an account to join the conversation.

Time to create page: 0.186 seconds

Forum latest

  • No posts to display.