Comments (6)
Regarding your specific error message, you seem to be having the same issue as this guy. You could try the suggestion and hope you can compile the code.
[EDIT] But I think it is unrelated if you use git clone
instead of download github's zip file. (see comment below)
from win32arduino.
RapidAssit is already a submodule of win32Arduino. See the github code page for reference. You can see that googletest and RapidAssist are submodule and pointing to specific commits of their respective repository.
However, when you download the source code from github, the downloaded zip file does not contains the submodules but empty directories. In this case, you must manually download the specific version of RapidAssit and yes RapidAssist should be considered as dependency.
But if you used git clone
to "download" the source code, then the appropriate version of RapidAssist should be automatically downloaded with git submodule update
. In this case, the user should not have to deal with downloading a particular version of RapidAssist. Everything is done automatically. In this case, RapidAssist should not be considered as a dependency (IMHO).
I am having a hard time dealing with git submodules and (obviously) properly documenting the dependency section of install.md. Coming from subversion world, I am used to create "pointers to other commit of a repository" (called externals) in order to guide the user to know that a repository is "compatible" with another repository.
This should be clarified in the install.md documentation.
from win32arduino.
I propose to update install.md documentation as follow:
-
Remove googletest from Software Requirements section. This is because googletest should be downloaded automatically (as a git submodule). As opposed to CMake, googletest does not requires to actually be "installed" before compiling.
-
Create a
Submodule dependencies
section. Add googletest and RapidAssist specific version in this section. Both dependency should mention they are git submodule. -
The Install section should propose to "clone" an existing tags instead of "downloading" from the latest tag.
-
The ending of the dependency section should state the following: "Note: submodule dependencies should be updated using
git submodule update
command. If the source code was downloaded, all submodule dependencies should be downloaded manually. Please make sure that downloaded version matches the version expected by win32Arduino."
I hope my explanation makes sense to you. What do you think ? Do you have a better proposition ?
from win32arduino.
With this proposed documentation it is much clearer i think.
from win32arduino.
I pushed a new commit (bfd8c11). This is a documentation update that should clarify new build instructions for Windows and Linux and remove ambiguity about submodules and dependencies. If should fix issue #21, issue #32 and issue #33. Please tell me if this change has resolved your issue and I will close it.
from win32arduino.
Wenn can close this issue. Thanks for clarify the dependencys.
from win32arduino.
Related Issues (20)
- Find a new name for library HOT 4
- ATOMIC_BLOCK macro
- Update all documentation for Linux users
- /ci/ant/setupenv.bat is missing HOT 21
- Replace downloaded googletest third party library by a git submodule HOT 1
- Update documentation files in preparation of release v2.1.0 HOT 1
- Circle CI integration HOT 1
- Use RapidAssist as a git submodule
- Pin registers and port mapping functions
- License header in all files HOT 1
- Implement 'make install' command support HOT 1
- Define if `Arduino.h` or `arduino.h` HOT 4
- Missing build step in v2.2.1 HOT 1
- Tag for version 2.2.1 builds as 2.3.0 HOT 1
- wrong syntax for variables on windows HOT 14
- cmake doesn't find GTEST via find_package HOT 13
- Crash on calling millis() before entering main()
- Logging should be in memory until a test completes
- Change api functions to match officials signatures of Arduino.h
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from win32arduino.