-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Arduino compiles with hidden files (.svn) #1619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @spivey , can you provide a zip with the library and sketch so that I can reproduce the bug? The only thing I see and that needs a fix is that a library with .svn folders will be ignored by the IDE |
Also: which version of the IDE are you using? |
I am using 1.5.4. I have attached a zip file of my Arduino library. The example is For the bad compile (with the .svn directories), the initial compile line C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w ChirpsOwlDigitalTest.ino:12:25: error: Chirps_Host.h: No such file or ChirpsOwlDigitalTest.ino:13:28: error: Chirps_Channel.h: No such file or ChirpsOwlDigitalTest.ino:15:56: error: Owl.h: No such file or directory And for the good compile (without the .svn directories) the initial compile C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w So, when the .svn directories exist, Arduino is not generating the -Gary On Mon, Oct 14, 2013 at 2:41 AM, Federico Fissore
|
Sorry @spivey github does not attach email attachments. Please send it to f.fissore@arduino.cc |
Thank for the email @spivey I've tested the commits above and, a part an initial warning telling you the IDE is ignoring folder ".svn" etc, everything works fine |
Thanks for the help (and I will fix those capitalization things - didn't -Gary On Mon, Oct 14, 2013 at 1:08 PM, Federico Fissore
|
[edit2: obviously not used to git...] This bug still is an easy to reproduce bug on Arduino 1.5.4r2 for Windows. Symptoms:
Final thoughts: We need a way to exclude folders. People using SVN will want the .svn folders to be ignored, but there will of course be other cases. |
I don't think 1.5.4r2 includes the fix. Did you try the nightly build? That one is automatically build from the git version, which should include the fix. |
Indeed, as stated in #1619 (comment), the fix is available in the nightly build and will be part of next, still to be released, 1.5.5 |
I have a library in the new format and an example sketch that compiles with Arduino 1.5.4. While doing development, it is nice to test it in its native subversion directory. The trouble is, when the .svn directories exist in the library, something goes horribly wrong with the compile and Arduino tells me that it can't find various include files. If I delete the .svn directories and restart Arduino, then the library example compiles fine. I don't know if this should be called a "bug" or a "feature request" , but it would be awesome if local .svn directories didn't affect the Arduino compile (or any hidden files/directories for that matter).
The text was updated successfully, but these errors were encountered: