Skip to content

Incorrect "Library can't use both 'src' and 'utility' folders." errors #60

Closed
@per1234

Description

@per1234

I previously reported this as a possible issue with #56 but as I continue to see more and better reports of this problem I think it now deserves a dedicated issue report.

Users are reporting that after installing Arduino IDE 1.6.6 they are unable to compile because of the Library can't use both 'src' and 'utility' folders. error. They eventually track it down(made very difficult because of #56) to a library that has a correct folder structure and when that library is removed the error goes away. I am unable to reproduce this issue:

Here are the reports of this issue I have found:

http://forum.arduino.cc/index.php?topic=366573.msg2535734#msg2535734

http://forum.arduino.cc/index.php?topic=357966.msg2497329#msg2497329
"started getting this error after updating some libraries"
Arduino: 1.6.6 (Windows 10), Board: "Arduino/Genuino Uno"
Invalid library found in C:\Program Files (x86)\Arduino\libraries\LiquidCrystal: Library can't use both 'src' and 'utility' folders.

http://forum.arduino.cc/index.php?topic=357312.msg2464456#msg2464456
User fixed the error by renaming C:\Program Files\Arduino\libraries\Firmata\utility to C:\Program Files\Arduino\libraries\Firmata\xutility even though Firmata doesn't have a src folder

http://forum.arduino.cc/index.php?topic=357966.msg2468910#msg2468910
User fixed the error by deleting Ethernet, Robot_Control, SD, TFT, and WiFi libraries even though those all have correct folder structure.
Update: http://forum.arduino.cc/index.php?topic=357966.msg2474958#msg2474958
User reports that all those libraries were included with the Windows 32 bit 1.6.6 installer package and had the correct folder structure.

http://forum.arduino.cc/index.php?topic=357966.msg2478929#msg2478929
User fixed the error by deleting the SD library included with Arduino IDE 1.6.6(Windows 32 bit). They were able to install the library with Library manager without causing the error to occur again. After moving the SD library from s

https://forum.arduino.cc/index.php?topic=354299.msg2442472#msg2442472
Error was caused by C:\Program Files\Arduino\libraries\Firmata after deleting that library the error went away.

https://forum.arduino.cc/index.php?topic=354299.msg2463515#msg2463515
Possibly also caused by Firmata.

https://forum.arduino.cc/index.php?topic=358683.msg2472874#msg2472874
User didn't find which library was causing the error.

arduino/Arduino#4882
Arduino: 1.6.8 (Mac OS X), Board: "Arduino/Genuino Uno"

Library can't use both 'src' and 'utility' folders. Double check /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire
Using library Wire at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire 

All of the reports that stated operating system were Windows 32 bit. Edit: except for arduino/Arduino#4882

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions