I’m trying to install QGroundControl from source code.
Some of the header files include lines such as:
#include <airmap/qt/client.h>
I’m getting errors that these files do not exist. I searched my qgroundcontrol source code directories and they, in fact, do not exist. How do I obtain these files?
Have you cloned complete QGC source code directories including git sub-modules?
Please try to clone QGC as follows and then try building the repository.
$ git clone --recursive -j8 https://github.com/mavlink/qgroundcontrol.git
$ git submodule update --recursive
I did that. I’ve had this problem on multiple company machines. I’m guessing it has something to do with permissions for auto installing airmap. I ended up just installing airmap manually and linking to it in the .pri file before running qmake.
I wanted to follow up here. I had the same issue. I noticed that if I included the direct link to the file, this “resolved” the compiler issue for that file (not for all of the other files)

Probably because I am linking directly to it compared to having it installed. But, I am trying to figure out why it was skipped over
Doesn’t look like it installed
For some reason… debug does not seem to have the same issue
So, the issue (I believe) was that curl was not installed.
that means this line
curl --location --output "$${AIRMAP_PLATFORM_SDK_FILEPATH}" "$${AIRMAP_PLATFORM_SDK_URL}"
Could not execute
sudo apt-get install -y build-essential curl
fixed the issue.
Hello
How did you install and use airmap?
Do you have a link?