Hello,
I am trying to build QgroundControl using Qt Creator and am following the steps described in the online guide: Redirecting to latest version of document (master)
I am using Ubuntu 16.04 on a virtual machine and trying to build QG from scratch without the video streaming feature so that I can use QGC on my Ubuntu 16.04 system with MAVROS. While downloading the necessary files, I run into an issue where items are not downloading from the github page resulting in a build error for Qt creator as files are missing.
When I run the following command on my command line:
git clone GitHub - mavlink/qgroundcontrol: Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows) --recursive
The files begin downloading but eventually the download returns the following error:
fatal: reference is not a tree: 2bfc6ffb3ba74b60deab5aef8e34c2cb909c4edc Unable to checkout ‘2bfc6ffb3ba74b60deab5aef8e34c2cb909c4edc’ in submodule path ‘src/GPS/Drivers’
Additionally, the command:
git submodule update
Returns:
fatal: Not a git repository (or any of the parent directories): .git
and does not return the desired result. As a result, when I build the qgroundcontrol.pro using Qt Creator 5.12.6, I receive the following build error:
/home/rhb/Desktop/qgroundcontrol/src/GPS/GPSProvider.h:21:36: fatal error: Drivers/src/gps_helper.h: No such file or directory
because the download from the github page was incomplete.
My questions are:
- How to resolve the download failure issue?
- In Qt creator, how do I disable building the parts in QGC that use video streaming features?
I have looked through QGC - QGroundControl - Drone Control page but it does not mention this download error. I am unclear on how to proceed and would appreciate some friendly help!
Thank you!