For the performance boost, I’m now trying to build new ChibiOS based copters. While installation, I confronted some errors, although I’ve found myself able to compile everything successfully. There are some topics to discuss.
- not sure if package installation of cygwin is perfect
I used the windows powershell script tool from the below location
At first I tried to install manually, not using the powershell script. Then, some of the package names in the wiki was outdated - for example, python2-libxml2 was not able, but there was python27-libxml2. I’ve slipped back to windows script since I wasn’t sure about the replacement.
- pip2 installation.
when using the script, pip2 was not available. So I’ve installed pip2 manually,
python -m ensurepip
- Only ardupilot master downloaded from git was usable.
There are no instructions on wiki about ardupilot downloads, but I assume
git clone https://github.com/ardupilot/ardupilot.git
git submodule init
git submodule update --recursive
must be followed. Other custom copies or previous versions was incompatible.
the directory of the cygwin
the install directory using powershell script was c:\cygwin, not c:\cygwin64.
To use eclipse + cygwin, the location of the build should be
not c:\cygwin64\bin\python2.7 waf
build target problems
The wiki does not state about build target options. Not sure, but you need to
check ‘same as the target name’, and ‘use builder settings’ to ensure the program path.
If other ppl also have similar problems, then wiki should be updated.