Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Reply To: Managing EnviroDIY libraries and dependencies

Home Forums Mayfly Data Logger Managing EnviroDIY libraries and dependencies Reply To: Managing EnviroDIY libraries and dependencies

#13889
Sara Damiano
Moderator

    If you have the same library installed in a global folder (ie user\me_xx\.platformio\lib\xxx) and the local project library dependency folder (project_xx\.pio\libdeps\xxx) PlatformIO should select the local one to build that project and ignore the global installation.  Here’s the docs on the prioritization of installed libraries used at compile time: https://docs.platformio.org/en/latest/librarymanager/ldf.html#dependency-finder-mode