Skip to content
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

Build fails with libraries that are git repositories #49

Closed
aphelps opened this issue Jan 15, 2015 · 5 comments
Closed

Build fails with libraries that are git repositories #49

aphelps opened this issue Jan 15, 2015 · 5 comments
Assignees
Labels
Milestone

Comments

@aphelps
Copy link

aphelps commented Jan 15, 2015

I'm making strides to converting my code base to build on platformio, but it seems to not be able to use a library that's within a git repo (ie which I've cloned from elsewhere). I took a look in the platformio line that generated this error, but its not clear to me what the root cause is:

$ platformio run
Processing arduino_nano environment:

scons: *** '/Users/amp/Dropbox/Arduino/HMTL.platformio/HMTL_Module/.pioenvs/arduino_nano/FastLED/refs' already has a source directory: '/Users/amp/Dropbox/Arduino/libraries/FastLED/.git/refs'.
File "/Library/Python/2.7/site-packages/platformio/builder/tools/platformio.py", line 142, in VariantDirRecursive

@ivankravets ivankravets self-assigned this Jan 15, 2015
@ivankravets
Copy link
Member

Give me please a structure of your project. Go to project root dir and type tree -L 3.

@ivankravets
Copy link
Member

Please test it with the latest develop version:

$ pip uninstall platformio
$ pip install https://github.com/ivankravets/platformio/archive/develop.zip

Does it work for you?

@aphelps
Copy link
Author

aphelps commented Jan 17, 2015

Yeah, that fixed the issue. Thanks.

@ivankravets ivankravets added this to the 0.11.0 milestone Jan 21, 2015
@ivankravets ivankravets modified the milestones: 0.11.0, 1.0.0 Feb 9, 2015
@gretel
Copy link

gretel commented Feb 13, 2015

@ivankravets, your suggestion worked for me, too. i'd be glad to have this fix mainstream

$ git clone --depth 1 https://github.com/ivankravets/platformio
$ cd platformio
$ pip install -e .
$ pip install --egg scons

@ivankravets
Copy link
Member

@gretel Thanks a lot for your feedback. We are hardly working on the first stable release 1.0.0. PlatformIO has not been released as stable yet. You can monitor by active issues for 1.0.0 milestone here or follow us via Twitter @PlatformIO_Org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants