# Building for mangoH Green WP76XX using developer studio

**URL:** <https://mangoh.discourse.group/t/building-for-mangoh-green-wp76xx-using-developer-studio/1343>\
**Category:** mangOH Green\
**Created:** [April 17, 2018, 8:38am UTC](https://mangoh.discourse.group/t/building-for-mangoh-green-wp76xx-using-developer-studio/1343 "2018-04-17T08:38:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deadpoolcode](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@deadpoolcode](https://mangoh.discourse.group/u/deadpoolcode)\
**Post date:** [April 17, 2018, 8:38am UTC](https://mangoh.discourse.group/t/building-for-mangoh-green-wp76xx-using-developer-studio/1343/1 "2018-04-17T08:38:43Z")

</div>

I am building for mangoH Green WP76XX using developer studio

I get the following:

[507/512] Linking C executable  
[508/512] Bundling file  
[509/512] Bundling file  
[510/512] Creating info.properties  
[511/512] Packaging app  
[512/512] Packaging system  
systocwe wp76xx mangOH.wp76xx.update cwe  
\*\*\*ERROR: Bad system file mangOH.wp76xx.update  
Try ‘systocwe --help’ for usage instructions.  
Makefile:40: recipe for target ‘systocwe’ failed  
make: \*\*\* [systocwe] Error 1  
make: Leaving directory ‘/home/ilan/mangOH/devstudio-5.3.1-linux64/workspace/git/mangOH/Target\_Legato\_Debug’

11:24:09 Build Finished (took 22s.468ms)

I am looking at:

~/mangOH/build/green\_wp76xx(master)$ find . -name “\*.update”  
./app/wifiWebAp/wifiWebAp.wp76xx.update  
./app/wifiService/wifiService.wp76xx.update  
./app/powerMgr/powerMgr.wp76xx.update  
./app/wifi/wifi.wp76xx.update  
./app/cellNetService/cellNetService.wp76xx.update  
./app/tools/tools.wp76xx.update  
./app/wifiApTest/wifiApTest.wp76xx.update  
./app/secStore/secStore.wp76xx.update  
./app/wifiClientTest/wifiClientTest.wp76xx.update  
./app/fwupdateService/fwupdateService.wp76xx.update  
./app/smsInboxService/smsInboxService.wp76xx.update  
./app/avcService/avcService.wp76xx.update  
./app/spiService/spiService.wp76xx.update  
./app/audioService/audioService.wp76xx.update  
./app/voiceCallService/voiceCallService.wp76xx.update  
./app/dataConnectionService/dataConnectionService.wp76xx.update  
./app/modemService/modemService.wp76xx.update  
./app/atService/atService.wp76xx.update  
./app/gpioService/gpioService.wp76xx.update  
./app/positioningService/positioningService.wp76xx.update  
./app/devMode/devMode.wp76xx.update  
./app/portService/portService.wp76xx.update

indeeed there is no mangOH.wp76xx.update file

please advice

---

<div class="post-metadata">

**Author:** ![daav](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/daav/32/79_2.png) [@daav](https://mangoh.discourse.group/u/daav)\
**Post date:** [April 18, 2018, 6:09am UTC](https://mangoh.discourse.group/t/building-for-mangoh-green-wp76xx-using-developer-studio/1343/2 "2018-04-18T06:09:09Z")

</div>

Hi @deadpoolcode

No idea at the moment, but please can you tell which WP76 SDK version you’re using, and how you did setup your mangOH project in DS?

By the way, I just notice that you’re not searching in the right directory…

> [@deadpoolcode](#):
>
> make: Leaving directory ‘/home/ilan/mangOH/devstudio-5.3.1-linux64/workspace/git/mangOH/Target\_Legato\_Debug’  
> …(snip)…  
> ~/mangOH/build/green\_wp76xx(master)$ find . -name “\*.update”

---

<div class="post-metadata">

**Author:** ![deadpoolcode](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@deadpoolcode](https://mangoh.discourse.group/u/deadpoolcode)\
**Post date:** [April 24, 2018, 6:15am UTC](https://mangoh.discourse.group/t/building-for-mangoh-green-wp76xx-using-developer-studio/1343/3 "2018-04-24T06:15:51Z")

</div>

Hello daav

made a progress.

now I can compile using command line, and I get the 🙂  
./build/update\_files/green/mangOH.wp76xx.update

which is great

but building from dev studio, although I selected the “mangoH Green” board it create the file on

./build/update\_files/red/mangOH.wp76xx.update

and issues the error:

systocwe wp76xx mangOH.wp76xx.update cwe  
\*\*\*ERROR: Bad system file mangOH.wp76xx.update  
Try ‘systocwe --help’ for usage instructions.  
Makefile:40: recipe for target ‘systocwe’ failed  
make: \*\*\* [systocwe] Error 1  
make: Leaving directory ‘/home/ilan/mangOH/devstudio-5.3.1-linux64/workspace/git/mangOH/Target\_Legato\_Debug’

which makes sense because it searches on the wrong directory

please advice

---

<div class="post-metadata">

**Author:** ![daav](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/daav/32/79_2.png) [@daav](https://mangoh.discourse.group/u/daav)\
**Post date:** [April 25, 2018, 7:08am UTC](https://mangoh.discourse.group/t/building-for-mangoh-green-wp76xx-using-developer-studio/1343/4 "2018-04-25T07:08:30Z")

</div>

Hi @deadpoolcode

Now that the mangOH project has migrated to a single sdef file, the support in DS using the MangOH specific wizard is a bit broken.  
We’re working on fixing this at the moment.  
In the meantime, I guess that setting the **MANGOH\_BOARD** env var in the project properties will probably help (didn’t try on my side)

---

<div class="post-metadata">

**Author:** ![deadpoolcode](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@deadpoolcode](https://mangoh.discourse.group/u/deadpoolcode)\
**Post date:** [May 16, 2018, 1:09am UTC](https://mangoh.discourse.group/t/building-for-mangoh-green-wp76xx-using-developer-studio/1343/5 "2018-05-16T01:09:21Z")

</div>

Since I currently do not have access to the actual MangoH green board can you please provide th e following basic data:

result of

df  
free -m

thank you
