mostafa-elkoumy / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

SoftwareSerial.h #968

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have downloaded and used the Ardino version 1.03 which has support for HAL
2. It compiles the Arducopter code including libraries all libraries
3. The problem is that I want to use the SoftwareSerial.h this never gets 
compiled and gives the following error

C:\ArduPilot-Arduino-1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:36:20: 
warning: Stream.h: No such file or directory
Custom.ino:214:5: warning: "/*" within comment
In file included from Custom.ino:27:
C:\ArduPilot-Arduino-1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:48: error: 
expected class-name before '{' token
C:\ArduPilot-Arduino-1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:97: error: 
'Print' has not been declared

What is the expected output? What do you see instead?

This is what I get instead

C:\ArduPilot-Arduino-1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:36:20: 
warning: Stream.h: No such file or directory
Custom.ino:214:5: warning: "/*" within comment
In file included from Custom.ino:27:
C:\ArduPilot-Arduino-1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:48: error: 
expected class-name before '{' token
C:\ArduPilot-Arduino-1.0.3\libraries\SoftwareSerial/SoftwareSerial.h:97: error: 
'Print' has not been declared

What version of the product are you using? On what operating system?

The version I am using is ArduPilot-Arduino-1.0.3. Please help me out I am new

Please provide any additional information below.

Original issue reported on code.google.com by softtro...@gmail.com on 26 Apr 2014 at 12:22