Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't Compile on newest 1.8.7 Arduino IDE due to StandardCplusplus #123

Open
joshvette001 opened this issue Oct 25, 2018 · 9 comments
Open
Labels

Comments

@joshvette001
Copy link

Project won't compile if using the newest Adruino IDE 1.8.7 due to some breaking changes made in Arduino 1.8.6 - avr-gcc 4.9.2 to avr-gcc 5.4.0 it causes StandardCplusplus not to work anymore and throw errors regarding (class std::basic_istream) and ostream.

The easiest fix I have found currently without digging into this further is to simply install the 1.8.5 IDE which still uses avr-gcc-4.9.2

@drolsen drolsen added the bug label Nov 2, 2018
@cqnguyen80
Copy link

Project won't compile if using the newest Adruino IDE 1.8.7 due to some breaking changes made in Arduino 1.8.6 - avr-gcc 4.9.2 to avr-gcc 5.4.0 it causes StandardCplusplus not to work anymore and throw errors regarding (class std::basic_istream) and ostream.

The easiest fix I have found currently without digging into this further is to simply install the 1.8.5 IDE which still uses avr-gcc-4.9.2

Try it with 1.8.5 and still wont compile

@abufahad-1
Copy link

abufahad-1 commented Mar 30, 2019

Try this

#126

It work for me

@cqnguyen80
Copy link

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Users\cqnng\Documents\Arduino\libraries\DROMatic\DROMatic.ino:14:0:

C:\Program Files (x86)\Arduino\libraries\StandardCplusplus/ctime:51:18: fatal error: time.h: No such file or directory

#include <time.h>

              ^

compilation terminated.

Multiple libraries were found for "SPI.h"
Used: C:\Users\cqnng\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.10\libraries\SPI
Not used: C:\Program Files (x86)\Arduino\libraries\SPI
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

@cqnguyen80
Copy link

Got it to compile with Visuals Studio but for some reason I'm stuck on Crop Name screen with only forward and reset button working

@nilusha1993
Copy link

same, if anyone has fix it would be great service

@nilusha1993
Copy link

same, if anyone has fix it would be great service

actually got it all working perfectly now, took a couple of days and some editing in the code, if anyone needs any help how to get it all working let me know :) Cheers!

@iamhollis84
Copy link

Can anyone help me get this up & running? It won’t compile

@iamhollis84
Copy link

same, if anyone has fix it would be great service

actually got it all working perfectly now, took a couple of days and some editing in the code, if anyone needs any help how to get it all working let me know :) Cheers!

I need help

@nilusha1993
Copy link

nilusha1993 commented May 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants