Stream.h missing?

Hello everyone,

I just installed Arduino on ubuntu and downloaded the newst version of the Arduimu code but I get an error when I compile it.

I haven't changed anything just unzipped and compiled.  

These are the errors that I get.




/home/johnathan/sketchbook/libraries/FastSerial/FastSerial.h:53:20: error: Stream.h: No such file or directory

/home/johnathan/sketchbook/libraries/FastSerial/FastSerial.h:86: error: expected class-name before ‘{’ token

/home/johnathan/sketchbook/libraries/FastSerial/FastSerial.h:106: error: ‘Stream’ has not been declared

Obviously they all stem from not being able to find Stream.h

anyone know what could be happening and where I'm supposed to find Stream.h more importantly?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer
    Yes Arduino IDE 0018 does not contain Streaming functions etc. Streaming libraries was introduced on Arduino IDE 0019 so you need at least that. But due 0021 is available, go for it.

    ArduPilot Mega already using FastSerials that needs Streaming and we are also moving ArduCopter towards FastSerial libraries so Streaming is required to compile those too.
  • I had the exact same problem yesterday, I solved it by downloading arduino 21 too.
    But I'm using the 64bits version of ubuntu 10.10 , and arduino didn't want to start. I had to delete arduino-0021/lib/librxtxSerial.so to make it work (it must be a 32bits library). You want to make sure that you have the librxtx-java package installed to replace the 32bits lib.

    I'm posting this just in case someone had the same problem.
  • Developer
    You need a newer version of the Arduino IDE. You are probably running 18. You should download 21 from the arduino site.
    http://www.arduino.cc/en/Main/Software
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…