Page 1 of 1

Moved libraries and sketch folders...

Posted: Sat Mar 24, 2012 7:53 am
by gaberosenfield
I realize this is probably the dumbest question ever posted, but I recently tried to move my libraries and sketch folders and now none of my codes work... How can I remedy this?

Re: Moved libraries and sketch folders...

Posted: Sat Mar 24, 2012 8:49 am
by rimai
If you moved the libraries, simply download it again using the update utility:
http://www.reefangel.com/update

Re: Moved libraries and sketch folders...

Posted: Sat Mar 24, 2012 11:17 am
by wolfador
make sure you update the location in Arduino and restart Arduino.

I moved all my libs/sketches to my dropbox account so i can keep it all in sync no matter what computer I am on.

Re: Moved libraries and sketch folders...

Posted: Sat Mar 24, 2012 6:26 pm
by binder
RAGen only outputs to the ~/Documents/Arduino/ folder. Just letting you know.

Re: Moved libraries and sketch folders...

Posted: Sat Mar 24, 2012 10:21 pm
by gaberosenfield
wolfador wrote:make sure you update the location in Arduino and restart Arduino.

I moved all my libs/sketches to my dropbox account so i can keep it all in sync no matter what computer I am on.
That's exactly what I did! How do I update the location in Arduino? I already updated the location of my "sketchbook". That is not the problem. It's like none of the "include ...." at the beginning of my pde files work any more.
binder wrote:RAGen only outputs to the ~/Documents/Arduino/ folder. Just letting you know.
Thanks for the tip! Though that is not my current issue...

Re: Moved libraries and sketch folders...

Posted: Sun Mar 25, 2012 8:29 am
by binder
Open up Arduino. Goto the File menu and choose Preferences. It will open up this screen:
Preferences
Preferences
prefs.png (19.85 KiB) Viewed 3658 times
Change the Sketchbook location to where your PDE/INO files are located. You MUST ensure that there is a libraries folder inside that location. The libraries folder is the arduino libraries and if it's not there, then arduino will not be able to build/compile your sketches.

Re: Moved libraries and sketch folders...

Posted: Sun Mar 25, 2012 10:42 am
by gaberosenfield
That's exactly what I thought I did before...But I tried it again and now everything works...Go figure. Thanks for the help!