Can´t build Copter4.0.6

I have set up the build environment according to the documentation and am able to compile the master branch and use SITL no problem. However if I want to build a stable branch, some critical files are missing and am unable to compile the code. Why?

So if I do

git checkout master
./waf configure --board CubeBlack
./waf copter

it works as expected, but if I try to build Copter-4.0 it does not, because some files are missing

git checkout origin/Copter-4.0
./waf configure --board CubeBlack
./waf copter

I have attached the error messages the compiler gives: Compile error.txt (15.9 KB)

Do a distclean and update your submodules after switching to the new branch

./waf distclean
git submodule update --init --recursive
1 Like