GSM library wont compile

i got a gsm sheild

heres the link

i download the library on that page and installed it by the(add .zip library) ran a example code it it would not even compile.

the first error i got was about the WProgram.h. i fixed it by going into the library and modified the GSM_Shield.h and GSM_Shield.cpp. i changed the WProgram.h to arduino.h

than when i fixed the first problem i compiled the example sketch and it came a WConstants.h error up. I went into the library again and modified the NewSoftSerial.cpp (the .h file didnt have a WConstants.h) to arduino.h

and after i did this, this came up than i collapsed :confused: :confused:

Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Linwood Corp Sales\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335 -warnings=none -build-cache C:\Users\LINWOO~1\AppData\Local\Temp\arduino_cache_573967 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield\examples\GSM_Shield_Test\GSM_Shield_Test.pde
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Linwood Corp Sales\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335 -warnings=none -build-cache C:\Users\LINWOO~1\AppData\Local\Temp\arduino_cache_573967 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield\examples\GSM_Shield_Test\GSM_Shield_Test.pde
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335\sketch\GSM_Shield_Test.pde.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield" "C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335\sketch\GSM_Shield_Test.pde.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield" "C:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield\GSM_Shield.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield" "C:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield\NewSoftSerial.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield" "C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335\sketch\GSM_Shield_Test.pde.cpp" -o "C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield" "C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335\sketch\GSM_Shield_Test.pde.cpp" -o "C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335\sketch\GSM_Shield_Test.pde.cpp.o"
In file included from C:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield/GSM_Shield.h:11:0,

                 from C:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield\examples\GSM_Shield_Test\GSM_Shield_Test.pde:14:

C:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield/NewSoftSerial.h:71:16: error: conflicting return type specified for 'virtual void NewSoftSerial::write(uint8_t)'

   virtual void write(uint8_t byte);

                ^

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:26:0,

                 from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:29,

                 from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:232,

                 from C:\Users\LINWOO~1\AppData\Local\Temp\arduino_build_233335\sketch\GSM_Shield_Test.pde.cpp:1:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:51:20: error:   overriding 'virtual size_t Print::write(uint8_t)'

     virtual size_t write(uint8_t) = 0;

                    ^

Using library GSM_Shield in folder: C:\Users\Linwood Corp Sales\Documents\Arduino\libraries\GSM_Shield (legacy)
exit status 1
Error compiling for board Arduino/Genuino Uno.

I don't know anything about GSM, but if a library has WProgram.h. in it, that means that the library is pretty old. I would look for a newer or updated GSM library before I tried to fix all of the errors in an ancient library.

could i just use the standerd library that come with ide

That would certainly be worth a try. Likely much more current than the library that threw all those errors.

NOTHING WORKS 5 HOURS NOW AND NOTHING!!!!!!!!

So now we know you're upset but not much else. If you want help you need to provide information.

Ya your right. the sim card is working or it blinks every 3 seconds. when i try to use the gsm lib on ide i upload it and the serial monitor is mostly blank all it says is SMS Messages Sender. it acts the same with or without the shield.

another thing is it wont upload any sketch until the shield is removed

the other lib i tried the serial monitor said DB:NO RESP

do u think the board is broken?