fredericplante / sanguino

Automatically exported from code.google.com/p/sanguino
0 stars 0 forks source link

Cannot install Sanguino to Arduino 1.1 IDE on a Mac #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
> What steps will reproduce the problem?

1. Tried to install Sanguino-0023r4.zip to Arduino 1.1 IDE on a Macbook Pro, 
using OSX Lion, in order to run the WiseClock 4 from Florin at Wise Time with 
Arduino. I followed these instructions: http://sanguino.cc/useit and 
http://sanguino.cc/softwareformac -- as well as 
http://timewitharduino.blogspot.ca/2011/02/uploading-sketches-to-wise-clock-3.ht
ml

2. The directories shown in the Sanguino installation instructions are for 
Windows and do not match my Arduino folders on a Mac. So I had to take a guess 
when things didn't line up exactly. My approach was to copy the same Sanguino 
files in several Arduino folders, to make sure that they would be picked up by 
Arduino. In some cases, that meant replacing old Arduino files with the new 
files from the Sanguino download. Also, Sanguino instructions refer to a 
Libraries folder, but there was no such folder in their download.

3.  I get a lot of errors when I try to upload the WiseClock 4 code on my 
Sanguino-enabled Arduino IDE. 
http://code.google.com/p/wiseclock2/downloads/detail?name=WiseClock4.zip&can=2&q
=

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

I expected the Wise Clock 4 code to work as intended.

Instead, I am seeing the error message below, which I get when I click the 
upload button for WiseClock4, after selecting Sanguino W/ATmega1284p on 
/dev/tty.usbserial-FTA5YLS.

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

Sanguino-0023r4.zip to Arduino 1.1 IDE on a Macbook Pro, using OSX Lion, in 
order to run the WiseClock 4 from Florin at Wise Time with Arduino.

> Please provide any additional information below.

Do you know if others have had success using Sanguino on a Mac? 

If so, could you provide more detailed instructions on exactly which Sanguino 
files need to be moved over to which Arduino 1.1 folders? Screenshots welcome.

Is there an installer for adding Sanguino files to a Mac? Or could you put me 
in touch with an experienced user that could help me debug my installation?  

I have an old Dell Inspiration where I could try to get the Windows version up 
and running, but would rather do my code development on a Mac.

________________________________________________________________________________
_

ARDUINO ERROR MESSAGE WHEN RUNNING WISECLOCK4 

(using Arduino 1.1 IDE with Sanguino extensions on a Macbook Pro, using OSX 
Lion)

WiseClock4.cpp:49:20: error: DS3231.h: No such file or directory
WiseClock4.cpp:50:20: error: HT1632.h: No such file or directory
WiseClock4.cpp:51:20: error: SDuFAT.h: No such file or directory
WiseClock4.cpp:52:19: error: Sound.h: No such file or directory
WiseClock4.cpp:53:21: error: Buttons.h: No such file or directory
WiseClock4.cpp:54:24: error: AlarmClock.h: No such file or directory
WiseClock4.cpp:55:24: error: WiseClock4.h: No such file or directory
In file included from WiseClock4.cpp:48:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Wire/Wire.h:60: 
error: conflicting return type specified for 'virtual size_t 
TwoWire::write(uint8_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/sanguino/cores/arduin
o/Print.h:40: error:   overriding 'virtual void Print::write(uint8_t)'
/Applications/Arduino.app/Contents/Resources/Java/libraries/Wire/Wire.h:61: 
error: conflicting return type specified for 'virtual size_t 
TwoWire::write(const uint8_t*, size_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/sanguino/cores/arduin
o/Print.h:42: error:   overriding 'virtual void Print::write(const uint8_t*, 
size_t)'
WiseClock4.cpp: In function 'void setup()':
WiseClock4:64: error: 'Serial' was not declared in this scope
WiseClock4:68: error: 'setupSpeaker' was not declared in this scope
WiseClock4:70: error: 'setupButtons' was not declared in this scope
WiseClock4:72: error: 'beep' was not declared in this scope
WiseClock4:75: error: 'wiseClock' was not declared in this scope
WiseClock4:77: error: 'alarmClock' was not declared in this scope
WiseClock4:80: error: 'ht1632_setup' was not declared in this scope
WiseClock4.cpp: In function 'void loop()':
WiseClock4:93: error: 'checkButtons' was not declared in this scope
WiseClock4:95: error: 'alarmClock' was not declared in this scope
WiseClock4:99: error: 'wiseClock' was not declared in this scope

Original issue reported on code.google.com by fabricef...@gmail.com on 9 Jul 2012 at 2:22

GoogleCodeExporter commented 8 years ago
Arduino 1.0 and higher is not supported at this time, Sanguino-0023r4.zip is 
meant to be used with Arduino version 0023 ( hence the name ) which will have 
the folder structure it expects.  As you have noticed the structure of Arduino 
1.0 and higher has completely changed and requires significant rework to be 
compatible.

see issue 20 for more info.

Original comment by sutt...@gmail.com on 13 Jul 2012 at 2:18

GoogleCodeExporter commented 8 years ago
Hi I Have wiseclock 3 running on arduino 23 under Macosx snow leopard. But i 
have not have success with the arduino 1.o yet with sanguino. let me know if 
you need help with the setup of sanguino under mac

Anjan

Original comment by bosean...@gmail.com on 12 Aug 2012 at 6:54