-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Windows 10 PX4 build system support #6697
Comments
Please run |
$ make submodulesclean Usage: git submodule [--quiet] add [-b branch] [-f|--force] [--reference ] [--] [] or: git submodule [--quiet] status [--cached] [--recursive] [--] [...] or: git submodule [--quiet] init [--] [...] or: git submodule [--quiet] update [--init] [-N|--no-fetch] [-f|--force] [--rebase] [--reference ] [--merge] [--recursive] [--] [...] or: git submodule [--quiet] summary [--cached|--files] [--summary-limit ] [commit] [--] [...] or: git submodule [--quiet] foreach [--recursive] or: git submodule [--quiet] sync [--] [...] make: *** [submodulesclean] Error 1 |
That's pretty odd. What operating system and version are you using? @dagar any suggestions? |
windows 10 |
@potato77 have you successfully built PX4 on windows before? What branch are you on? |
@dagar no. This is my first time to install the development environment. |
Can you walk us through what you've done so far, which tools you've installed. It's not clear to me if you have a really old version of git or there's some Windows path or line ending issue. If you're able to use Linux (Ubuntu) or OS X for development you'll have a much easier time. It's possible to get this working in Windows, but much slower and poorly supported. |
@dagar thank u very much |
I believe we could eventually create a setup that works on Bash for Windows 10, thus avoiding all the issues we're currently having. I had a quick look-see and it seems like it'll be easy to do. |
That would certainly be nice. If there's anything to do to get it working we can then keep it working by adding a build on https://www.appveyor.com/. |
@mhkabir any instruction to Bash for WIN10? How to build PX4? |
@potato77 No instructions yet. I don't have a Windows 10 machine running at the moment. I can however assist you in bringing it up remotely, later today. Skype me : 'kabiriris'. |
Start by installing Bash if you don't have it already : https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ |
@dagar I don't think Appveyor has support for Bash on Ubuntu yet : appveyor/ci#1295 |
If anyone running Windows would like to help me with testing, it would be awesome. You can email me or ping me on Skype, and I'll guide you through the process. |
This works for me. |
Hello,
I used the cmd git submodule update --init --recursive to update all submodules of px4 .
and the error is:
fatal: Needed a single revision
Unable to find current revision in submodule path 'src/lib/ecl'
How to fix it? Thank you in advance!
any help would be appreciated!
The text was updated successfully, but these errors were encountered: