seeeduino mega compilation error

Hi, finally i bought a seeduino mega.
but, when i try to Verify and or Upload the Samples\Blink (yea mi first try!) i got this error:

cc1plus: error: unrecognized command line option “-imultilib”
cc1plus: error: invalid option `mcu=atmega1280’
cc1plus: avr51: No such file or directory
cc1plus: warning: -ffunction-sections may affect debugging on some targets

what’s going on?

thank’s in advance

Juan

Hi,Dear
I have compiled it’s demo(Blink) ,but it worked well.
Which board of tools did you choose?Could you provide some pictures for us to show it more clearly, so we can solve your problem more quickly.
Thanks a lot.
Best Regards
Jacket

Hi, finally i figured out what was going on.

I have installed MinGW and to make it work i did some “manual configurations” basically some “environement variables” one of them tells the directory of gcc (wich i assume is used somewhere by the arduino software) as soon as i deleted those references, voila, Check started to work.

Then when trying to upload i had some “time outs”, i look in forums for same problems and i changed in the boards.txt the following:

from
mega2560.upload.protocol=stk500v2
to
mega2560.upload.protocol=wiring

(arduino.cc/forum/index.php/topic,115010.0.html)

and i had to change the Manual_reset/Auto switch to Auto to get it work.

from this point on all seems to work ok, i’m using the arduino mega with the tft libraries with out any problem.

regards

Juan