Moved libraries and sketch folders...

New members questions
Post Reply
gaberosenfield
Posts: 89
Joined: Thu Mar 08, 2012 5:11 pm
Location: Redwood City, California

Moved libraries and sketch folders...

Post 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?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Moved libraries and sketch folders...

Post by rimai »

If you moved the libraries, simply download it again using the update utility:
http://www.reefangel.com/update
Roberto.
wolfador
Posts: 241
Joined: Sun Sep 04, 2011 9:59 am
Location: Pittsburgh, PA

Re: Moved libraries and sketch folders...

Post 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.
John
ReefAngel and ReefAngel-HD developer
If the RA iOS app has helped please consider a donation
Image
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Moved libraries and sketch folders...

Post by binder »

RAGen only outputs to the ~/Documents/Arduino/ folder. Just letting you know.
gaberosenfield
Posts: 89
Joined: Thu Mar 08, 2012 5:11 pm
Location: Redwood City, California

Re: Moved libraries and sketch folders...

Post 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...
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Moved libraries and sketch folders...

Post 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 3655 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.
gaberosenfield
Posts: 89
Joined: Thu Mar 08, 2012 5:11 pm
Location: Redwood City, California

Re: Moved libraries and sketch folders...

Post 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!
Post Reply