Closed GoogleCodeExporter closed 9 years ago
The AFMotor and NewSoftSerial libraries can be fixed by renaming the "Examples"
folder they contain to "examples". After restart they are recognized and
appear in the IDE menu.
All the libraries which fail, including Bitlash, seem to have additional
subdirectories besides "examples" in them. Is this now somehow prohibited? It
would impact many libraries if so.
-br
Original comment by bill....@palmeta.com
on 22 Oct 2012 at 9:42
Thanks billroy,
the issue with "Example" folder with capital E will be fixed on the next beta
release.
about the other libraries, you're right: libraries can't use folders (except
for 'example' and 'utilities').This is due to the way the 1.5 IDE support
"multiplatform" libraries. Probably its better to disable such "feature" on the
next beta release until further discussions about the multiplatform library
format happens.
C
Original comment by c.mag...@bug.st
on 22 Oct 2012 at 10:23
The context is interesting here C. I've been working on a library that
includes some source from other libraries and includes them whole-cloth into my
Arduino library folder as subdirectories.
It's good to see some insight as to what your thoughts are so I can plan
accordingly. Thank you!
Jordan
Original comment by Jordan.H...@gmail.com
on 22 Oct 2012 at 10:33
C: Thanks for your quick reply. I agree with your judgement and would look
forward to a quick beta 2 with this restriction disabled.
Thanks,
-br
Original comment by bill....@palmeta.com
on 22 Oct 2012 at 10:43
Might just be a case comparison is being made when a non case comparison could
be used.
Original comment by rick.rickanderson
on 23 Oct 2012 at 4:03
No it was the fat/non-fat library detection that was wrong. Now it should work
as expected.
Guys can you update the IDE from github and retry to see if its fixed?
C
Original comment by c.mag...@bug.st
on 24 Oct 2012 at 3:58
Thanks for the update. I'm happy to try it. Excuse a dumb question, though:
how do I build and start the app on OS X, given the repo is in hand? I have
current Xcode...
-br
Original comment by bill....@palmeta.com
on 24 Oct 2012 at 6:13
I'll answer my own question to save you the trouble:
http://code.google.com/p/arduino/wiki/BuildingArduino
Best,
-br
Original comment by bill....@palmeta.com
on 24 Oct 2012 at 6:22
C: It appears to be fixed, bravo. Bitlash and the other formerly missing
libraries are in the menu. The bitlash demos compile. I note that one of them
has grown by 44 bytes since 1.0.1 but everything else looks as expected.
Hope we'll see a beta update soon.
I value and appreciate your responsiveness. Thank you,
-br
Original comment by bill....@palmeta.com
on 24 Oct 2012 at 6:29
On further reflection I'm not sure I have the right version in hand to test.
When I start the version I get from github via:
> git clone https://github.com/arduino/Arduino.git
> cd Arduino/build
> ant
> ant run
....I have my complete, old boards.txt boards menu, and no new Due options.
The libraries are detected properly at startup, but I have a feeling that maybe
I am not looking at the most current code.
The latest checkin to that repo was 6 days ago. It makes me wonder. Could you
please confirm I have the right repo location and that I'm starting the app
right?
Thanks,
-br
Original comment by bill....@palmeta.com
on 24 Oct 2012 at 8:02
I was testing the master branch. I re-tested in the ide-1.5.x branch and it
worked fine there too. Here is the necessary incantation:
> git clone https://github.com/arduino/Arduino.git
> cd Arduino
> git fetch origin ide-1.5.x
> git checkout ide-1.5.x
> cd build
> ant
> ant run
-br
Original comment by bill....@palmeta.com
on 24 Oct 2012 at 9:59
Yes the correct branch is ide-1.5.x, so all ok.
i'm closing this bug.
Original comment by c.mag...@bug.st
on 25 Oct 2012 at 1:33
Original comment by mega...@gmail.com
on 25 Oct 2012 at 1:36
Original issue reported on code.google.com by
bill....@palmeta.com
on 22 Oct 2012 at 9:22