# Problems building ardusub, cygwin, windows, waf

**URL:** <https://discuss.bluerobotics.com/t/problems-building-ardusub-cygwin-windows-waf/5788>\
**Category:** General Discussion\
**Created:** [August 18, 2019, 4:02pm UTC](https://discuss.bluerobotics.com/t/problems-building-ardusub-cygwin-windows-waf/5788 "2019-08-18T16:02:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmkk15](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/mmkk15/32/4518_2.png) [@mmkk15](https://discuss.bluerobotics.com/u/mmkk15)\
**Post date:** [August 18, 2019, 4:02pm UTC](https://discuss.bluerobotics.com/t/problems-building-ardusub-cygwin-windows-waf/5788/1 "2019-08-18T16:02:39Z")

</div>

Hello,  
I followed the installation instruction from here: [Setup the Build Environment on Windows — Dev documentation](http://ardupilot.org/dev/docs/building-setup-windows.html)  
and so far everything worked fine.  
I checked out the firmware and switched to branch Sub-3.5.

Configuring with waf was smooth, but compiling fails - see here:  
[https://pastebin.com/GHp0fv73](https://pastebin.com/GHp0fv73)

Any ideas or comments what I’m doing wrong?

best regards,  
Mike

---

<div class="post-metadata">

**Author:** ![mmkk15](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/mmkk15/32/4518_2.png) [@mmkk15](https://discuss.bluerobotics.com/u/mmkk15)\
**Post date:** [August 18, 2019, 7:14pm UTC](https://discuss.bluerobotics.com/t/problems-building-ardusub-cygwin-windows-waf/5788/2 "2019-08-18T19:14:08Z")

</div>

Hi all,  
I tested an tried to get further to the problem and now I found that it seems that the module PX4Firmware is missing. But I’m sure it’s there … see:

> **[WAF build problem (cygwin) - Pastebin.com](https://pastebin.com/5iBzEAik)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Any help’s really appreciated!

Thanks in advance,  
Mike

---

<div class="post-metadata">

**Author:** ![patrickelectric](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/patrickelectric/32/2162_2.png) [@patrickelectric](https://discuss.bluerobotics.com/u/patrickelectric)\
**Post date:** [August 19, 2019, 12:14pm UTC](https://discuss.bluerobotics.com/t/problems-building-ardusub-cygwin-windows-waf/5788/3 "2019-08-19T12:14:06Z")

</div>

After changing the branch to Sub-3.5, have you done the update of the submodules ?  
`git submodule update --init --recursive`

---

<div class="post-metadata">

**Author:** ![mmkk15](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/mmkk15/32/4518_2.png) [@mmkk15](https://discuss.bluerobotics.com/u/mmkk15)\
**Post date:** [August 19, 2019, 5:49pm UTC](https://discuss.bluerobotics.com/t/problems-building-ardusub-cygwin-windows-waf/5788/4 "2019-08-19T17:49:27Z")

</div>

Hi Patrick,  
thanks a lot for your quick response!

I’ve tried again the full process, also with the initialization of the submodules. See the log here:  
https:// [pastebin.com/LDSgud5Y](http://pastebin.com/LDSgud5Y)

I also tried to checkout ArduSub-stable, updated and init, recursively the submodules and tried to build it.  
So far the same error …

Any ideas?

Thanks and best regards,  
Mike
