cabreira / gsm-shield-arduino

Automatically exported from code.google.com/p/gsm-shield-arduino
0 stars 0 forks source link

examples wont compile #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I downloaded the beta v310 zip file and extracted into Arduino folder, but the 
example .ino files wont compile.  For example in the "SMS" example, 

GSM_GPRSLibrary_SMS.cpp.o: In function 
`__static_initialization_and_destruction_0':
/Streaming.h:27: undefined reference to `LOG::LOG(int)'
GSM_GPRSLibrary_SMS.cpp.o: In function `loop':
GSM_GPRSLibrary_SMS.cpp:54: undefined reference to `gsm'
GSM_GPRSLibrary_SMS.cpp:54: undefined reference to `gsm'
GSM_GPRSLibrary_SMS.cpp:54: undefined reference to `SIMCOM900::readSMS(char*, 
int, char*, int)'
GSM_GPRSLibrary_SMS.cpp.o: In function `setup':
/GSM_GPRSLibrary_SMS.cpp:36: undefined reference to `gsm'
/GSM_GPRSLibrary_SMS.cpp:36: undefined reference to `gsm'
/GSM_GPRSLibrary_SMS.cpp:36: undefined reference to `GSM::begin(long)'

Im running UNO and so according to your instructions I commented out //#define 
MEGA in HWSerial.h, and //#define MEGA in GSM.h.   All the .h files are in the 
same directory as the .ino example file.

Thank you for your thoughts on this .  Im stumped.

Original issue reported on code.google.com by alexpipe...@gmail.com on 22 May 2012 at 12:39

GoogleCodeExporter commented 8 years ago
o.k. nevermind.... I copied all the .cpp files into the same directory as the 
.ino file and that worked. 

Original comment by alexpipe...@gmail.com on 22 May 2012 at 1:14

GoogleCodeExporter commented 8 years ago
Ok, thank you for reply ;)

Original comment by martines...@gmail.com on 22 May 2012 at 10:05

GoogleCodeExporter commented 8 years ago

Original comment by martines...@gmail.com on 23 May 2012 at 9:54

GoogleCodeExporter commented 8 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27