Go Down

Topic: GSM library errors compiling (Read 1 time) previous topic - next topic

Hi.

i want to set up gsm shield .   downloaded  unziped   open exsample  and wolaa   bunch off errors :(   


In file included from D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/GSM.h:6,
                 from D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/QuectelM10.h:4,
                 from TestGSMLibraryGPRS.pde:1:
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/WideTextFinder.h:10: error: ISO C++ forbids declaration of 'NewSoftSerial' with no type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/WideTextFinder.h:10: error: expected ';' before '*' token
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/WideTextFinder.h:14: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/WideTextFinder.h:21: error: expected `)' before '&' token
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/WideTextFinder.h:24: error: 'boolean' has not been declared
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/WideTextFinder.h:29: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/WideTextFinder.h:32: error: 'boolean' does not name a type
In file included from D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/QuectelM10.h:4,
                 from TestGSMLibraryGPRS.pde:1:
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/GSM.h:21: error: 'NewSoftSerial' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/GSM.h:38: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/GSM.h:39: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/GSM.h:40: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/GSM.h:41: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/GSM.h:47: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/GSM.h:51: error: 'size_t' has not been declared
In file included from TestGSMLibraryGPRS.pde:1:
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/QuectelM10.h:25: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/QuectelM10.h:26: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/QuectelM10.h:27: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/QuectelM10.h:32: error: 'boolean' does not name a type
D:\!DARBS\____DARBI Martins\Arduino\arduino-1.0.2\libraries\gsm_master/QuectelM10.h:33: error: 'size_t' has not been declared
TestGSMLibraryGPRS.pde: In function 'void loop()':
TestGSMLibraryGPRS:51: error: 'class QuectelM10' has no member named 'connectedClient'



is there som working lib anywhere ?

please help gsm module is esential for  my project

dxw00d

I would think that a library there is not compatible with IDE 1.0+. Start with point 2 here - http://arduino.cc/forum/index.php/topic,97455.0.html.

NewSoftSerial has been replaced with SoftwareSerial, as of 1.0.

Go Up