Help I hit auto format by mistake

181 views
Skip to first unread message

darrick001

unread,
Apr 2, 2011, 7:19:40 AM4/2/11
to Reef Angel Controller
I am using RaGen with the Dev libraries RaGen installer
I have been working on this for 3 weeks and still can’t get it
working. I just removed all RA files and started over but while
looking through the menus I hit the auto format by mistake. It
appeared that I was able to load the Int memory to the controller but
when I try to verify the PDE it gives me the errors below. Help
Please


C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp:24:19: error: twi.h: No such file or directory
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: In member function ‘Void TwoWire::begin ( ) ‘ :
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: 64: error ‘twi_init was not declared in this scope
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: In member function ‘void TwoWire::begin(unit8_t) ‘ :
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: 69 : error: ‘twi_setAddress’ was not declared in this scope
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: 70 : error: ‘twi_attachSlaveTxEvent ‘ was not declared in
this scope
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: 71 : error: ‘twi_attachSlaveRxEvent’ was not declared in
this scope
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp:
In member function ‘unit8_t TwoWire: :requestFrom(unit8_t, unit8_t) ‘:
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: 87 : error: ‘twi_readFrom’ was not declared in this scope
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: In member function’Unit8_t TwoWire: :endTransmission( )’:
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: 119 : error: ‘twi_writeTo’ was not declared in this scope
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: In member function ‘void TwoWire: :send(unit8_t) ‘ :
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: 147 : error: ‘twi_transmit’ was not declared in this scope
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: In member function ‘void TwoWire: :send(unit8_t”, unit8_t)
‘ :
C:\Documents and settings\Owner\My Documents\Arduino\libraries\Wire
\Wire.cpp: 164 : error: ‘twi_transmit’ was not declared in this scope

Roberto Imai

unread,
Apr 2, 2011, 8:20:34 AM4/2/11
to reef...@googlegroups.com
Hi,
Can you try using my new application to update libraries?
http://www.reefangel.com/update/
Simply install it and make sure to update to the latest Development libraries.
Then try using RAGen again.

Roberto.


________________________________________
From: reef...@googlegroups.com [reef...@googlegroups.com] On Behalf Of darrick001 [darri...@hotmail.com]
Sent: Saturday, April 02, 2011 4:19 AM
To: Reef Angel Controller
Subject: Help I hit auto format by mistake

darrick001

unread,
Apr 2, 2011, 10:59:16 AM4/2/11
to Reef Angel Controller
I updated and I have the same errors except there is a new error at
the top.
C:\program files\Reef Angel controler\hardware\tools\avr\bin\avr-ar:
unable to rename 'core.a'; reason: File exists

On Apr 2, 8:20 am, Roberto Imai <robe...@imlogo.com> wrote:
> Hi,
> Can you try using my new application to update libraries?http://www.reefangel.com/update/
> Simply install it and make sure to update to the latest Development libraries.
> Then try using RAGen again.
>
> Roberto.
>
> ________________________________________
> From: reef...@googlegroups.com [reef...@googlegroups.com] On Behalf Of darrick001 [darrick...@hotmail.com]

Roberto Imai

unread,
Apr 2, 2011, 11:21:30 AM4/2/11
to reef...@googlegroups.com
I see this can be frustrating for you getting all this errors.
Did you ever delete anything inside this folder "C:\Program Files\Reef Angel Controller"?
The above folder should never be touched.
The Wire library should be located in the above folder.
According to your error log you pasted, it seems you have the same stuff on "C:\Documents and settings\Owner\My Documents\Arduino\libraries".
So, it looks like while trying to have the development library setup properly, some folders got moved/replaced/deleted and this is what it is causing the problems you are experiencing.
Let's try to start again.
1- Download ReefAngelInstaller: http://www.reefangel.com/files/ReefAngelInstaller.exe
2- Install it after download finishes
3- Update the libraries to development using update utility: http://www.reefangel.com/update/
4- Use RAGen and try to compile now.

Roberto.

________________________________________
From: reef...@googlegroups.com [reef...@googlegroups.com] On Behalf Of darrick001 [darri...@hotmail.com]
Sent: Saturday, April 02, 2011 7:59 AM
To: Reef Angel Controller
Subject: Re: Help I hit auto format by mistake

darrick001

unread,
Apr 2, 2011, 12:23:01 PM4/2/11
to Reef Angel Controller
THANK YOU it loaded and is running. Now I just need to figure out how
to make the PH sensor control an outlet for my CA reactor. Could you
send me the link to the forum I can't get it to show up in any search
on the web. Again thank you for your help.

On Apr 2, 11:21 am, Roberto Imai <robe...@imlogo.com> wrote:
> I see this can be frustrating for you getting all this errors.
> Did you ever delete anything inside this folder "C:\Program Files\Reef Angel Controller"?
> The above folder should never be touched.
> The Wire library should be located in the above folder.
> According to your error log you pasted, it seems you have the same stuff on "C:\Documents and settings\Owner\My Documents\Arduino\libraries".
> So, it looks like while trying to have the development library setup properly, some folders got moved/replaced/deleted and this is what it is causing the problems you are experiencing.
> Let's try to start again.
> 1- Download ReefAngelInstaller:http://www.reefangel.com/files/ReefAngelInstaller.exe
> 2- Install it after download finishes
> 3- Update the libraries to development using update utility:http://www.reefangel.com/update/
> 4- Use RAGen and try to compile now.
>
> Roberto.
>
> ________________________________________
> > \Wire.cpp: 164 : error: ‘twi_transmit’ was not declared in this scope- Hide quoted text -
>
> - Show quoted text -

Dave Molton

unread,
Apr 2, 2011, 12:45:45 PM4/2/11
to reef...@googlegroups.com
I saw that same "twi.h" file missing yesterday also.  It turned out inside the "Wire" folder, there should be another folder called "utility" that contains the twi.h and twi.c.  I wonder if that folder isn't getting installed correctly. 

Anyhow, the forum is over at:
http://forum.reefangel.com
Message has been deleted

Roberto Imai

unread,
Apr 2, 2011, 6:52:09 PM4/2/11
to reef...@googlegroups.com
Hey Dave,

Did you use the installer and it never installed the mentioned folder and contents?

Sent from my Samsung Epic™ 4G

Curt Binder

unread,
Apr 2, 2011, 7:59:32 PM4/2/11
to reef...@googlegroups.com
Very interesting. I know when I created my RAGenInstaller and bundled
the libraries, I had removed that folder to trim things down and mimic
what Roberto had (or at least I thought I mimicked what he had). I
must've removed too much. I'm going to re-make my installer and
re-upload it to hopefully remedy the problem. Thanks for catching
that one.

curt

--
/*
Curt Binder
http://curtbinder.info/
*/

darrick001

unread,
Apr 2, 2011, 9:39:04 PM4/2/11
to Reef Angel Controller
Thanks Dave
> > > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages