-
Notifications
You must be signed in to change notification settings - Fork 34
Issues when trying to use library on Windows After making the changes requested in issue #280 #299
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
@ianfixes # add missing libraries
export GITHUB="https://github.com/Arduino-CI"
if [ -d "./Adafruit_BusIO" ]; then
(
echo update Adafruit_BusIO
cd Adafruit_BusIO
git pull
)
else
git clone $SHALLOW_MASTER $GITHUB/Adafruit_BusIO.git
fi as one of the libraries to add. |
OK, it sounds like you have a local repo of arduino_ci that you are using for local testing. Could you do the following in that directory?
I have some extra logging fixes that will help diagnose the issue. |
With the following in my Gemfile:
Here's my latest output:
From the output above it says that it installed a library:
but when I go into my windows file explorer it, there is no such directory. |
Combined with the changes from #280, it appears that naming the directory the same as the library lets things work. Otherwise, the warning is thrown ("WARNING... Installed library named has directory name ") and the system can't find the library in the directory. I think the fix would be to make sure that the script uses the |
Can you elaborate on that? I had a whole bunch of issues on the Windows host related to aligning the system's Arduino library directory with the specific library-under-test. |
I got it to work on Windows, but I had to name the directory of my library with the same name as the library name itself. Otherwise, it was unable to find the directory. I don't think it's related to the warning, per se, but it is related to Windows it seems. I'll do more digging. |
I'm curious whether the release of |
@eucalvo, If it looks fixed to you please feel free to close it! |
What you have in the source 'https://rubygems.org'
gem 'arduino_ci', git: 'https://github.com/Arduino-CI/arduino_ci', branch: 'master' This setup is fetching the latest from GitHub. When you first tried, the source 'https://rubygems.org'
gem 'arduino_ci', path: '../arduino_ci' This setup is using a local checkout that you must have made of What you probably should have is one of the following: source 'https://rubygems.org'
gem 'arduino_ci', '~>1.5.0' This setup refers to the published gem version source 'https://rubygems.org'
gem 'arduino_ci', git: 'https://github.com/Arduino-CI/arduino_ci', tag: 'v1.5.0' This setup refers to a tag in the git repo Specifying the version in this way prevents any updates to the github project from breaking your builds. #343 was added to address this |
edit: link to #280
When I add this path,
C:/Users/calvo/Documents/Arduino/libraries/Tank_Controller/test
I get this error:
The text was updated successfully, but these errors were encountered: